History log of /openbsd/usr.sbin/bgpctl/output_json.c (Results 1 – 25 of 46)
Revision Date Author Comments
# 09b2f24c 14-Aug-2024 claudio <claudio@openbsd.org>

Add 'bgpctl show rib filtered' support.
OK tb@


# 282ccd24 12-Aug-2024 claudio <claudio@openbsd.org>

Print min-version of a RTR session.
OK tb@


# 765bd20a 22-May-2024 claudio <claudio@openbsd.org>

Adjust code since remote_bgpid, bgpid and clusterid changed to
host byte order.
OK tb@


# 1001cc26 24-Apr-2024 claudio <claudio@openbsd.org>

announce_capa is no more.
OK tb@


# dd147aaa 31-Jan-2024 claudio <claudio@openbsd.org>

Convert IMSG_CTL_SHOW_RIB_ATTR over to the new ibuf API.

This converts show_attr() and json_attr() and with that also the
community specific functions. This removes some hacks inside of
show_attr()

Convert IMSG_CTL_SHOW_RIB_ATTR over to the new ibuf API.

This converts show_attr() and json_attr() and with that also the
community specific functions. This removes some hacks inside of
show_attr() that where added before.

OK tb@

show more ...


# 46d5331a 30-Jan-2024 claudio <claudio@openbsd.org>

Adjust bgpctl to work with the modified aspath functions from util.c

While doing that convert IMSG_CTL_SHOW_RIB over to the new ibuf api.
OK tb@


# 4b4c1963 25-Jan-2024 claudio <claudio@openbsd.org>

Siwtch IMSG_CTL_SHOW_RIB_COMMUNITIES over to the new ibuf api.

Adjust fmt_ext_community() to take a uint64_t as argument instead of
passing a pointer.
OK tb@


# 5ad4fcba 23-Jan-2024 claudio <claudio@openbsd.org>

Adopt bgpctl code to the ibuf changes done in bgpd.

Adjust code that calls nlri_get_prefix() and friends to work with
an ibuf. show_mrt_update() is mostly converted because of this.
The output funct

Adopt bgpctl code to the ibuf changes done in bgpd.

Adjust code that calls nlri_get_prefix() and friends to work with
an ibuf. show_mrt_update() is mostly converted because of this.
The output functions and the rest of the mrtparser are just
minimally touched to keep the diff reasonable.
OK tb@

show more ...


# 8167eafe 11-Jan-2024 claudio <claudio@openbsd.org>

Display the exported rtr session state and fix a missing indent.
OK tb@


# bf4f3cea 19-Dec-2023 claudio <claudio@openbsd.org>

Show the RTR protocol version in the `bgpctl show rtr` output.

Knowing the version is essential to understand if ASPA PDUs are included
or not.
OK tb@


# ae328b7f 20-Nov-2023 claudio <claudio@openbsd.org>

KNF


# 56bc7cf3 05-Jun-2023 claudio <claudio@openbsd.org>

Sync json.c with rpki-client rev 1.3:
Add an extra argument compact to json_do_object() to instruct the parser
to dump this object on a single line.

While one can select on an object to object basis

Sync json.c with rpki-client rev 1.3:
Add an extra argument compact to json_do_object() to instruct the parser
to dump this object on a single line.

While one can select on an object to object basis for arrays the compact
setting is inherited from the surrounding object.

OK tb@

show more ...


# a32a1b0f 05-May-2023 claudio <claudio@openbsd.org>

Sync json.c with the one from rpki-client. This adds json_do_string().
Convert json_do_printf() calls using static strings or "%s" fmt over
to json_do_string() in the json output.
OK tb@


# 644f9c42 26-Apr-2023 claudio <claudio@openbsd.org>

Use fprintf instead of printf and pass the FILE handle in json_do_start().
OK tb@


# c2371130 21-Apr-2023 claudio <claudio@openbsd.org>

Adjust ext community handling to support the generic transitive communities
introduced with flowspec.
OK tb@


# 093d1e70 28-Mar-2023 claudio <claudio@openbsd.org>

Use pt_size from struct rde_memstats instead of computing it by hand.
OK tb@


# 1d3c7c09 09-Mar-2023 claudio <claudio@openbsd.org>

Add role output to bgpctl, also adjust the capability output.
Note, this changes the JSON output of neighbors a bit.

Part of the large RFC9234 rework in bgpd.
OK tb@


# 50d35cac 24-Jan-2023 claudio <claudio@openbsd.org>

Print the ASPA validation state (avs) in various show rib outputs.
OK tb@


# c4f772fd 17-Jan-2023 claudio <claudio@openbsd.org>

Teach bgpctl about ASPA tables.
OK tb@


# 3a50f0a9 28-Dec-2022 jmc <jmc@openbsd.org>

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech


# 1edf3470 09-Nov-2022 claudio <claudio@openbsd.org>

Show the MPLS label of a L3VPN route in show fib output.
OK tb@


# f4123069 07-Nov-2022 mbuhl <mbuhl@openbsd.org>

Fix some spelling errors.
OK claudio@


# 77a10e6f 17-Oct-2022 claudio <claudio@openbsd.org>

Implement openmetric output via bgpctl show metric command

This adds most of the generic code to output the metrics with labels
and implements some basic metrics. The code works but metrics may stil

Implement openmetric output via bgpctl show metric command

This adds most of the generic code to output the metrics with labels
and implements some basic metrics. The code works but metrics may still
change.

OK tb@

show more ...


# 374adf67 31-Aug-2022 claudio <claudio@openbsd.org>

Remove the hash statistics print code. The RDE no longer sends these
imsgs.
OK tb@


# a03ec1fd 29-Aug-2022 claudio <claudio@openbsd.org>

aspath_refs is gone, adjust code


12