Add aspa-set to openbgpd config output.
authorclaudio <claudio@openbsd.org>
Fri, 13 Jan 2023 08:58:36 +0000 (08:58 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 13 Jan 2023 08:58:36 +0000 (08:58 +0000)
commitacb55ac2725cfb2041919d27278b2cb9074532fc
tree5c365ab7c2ce585b2627deec6488c63e17b48b40
parent9917671c0d3e18b7a5d3bc18386a9c4ab97e98a8
Add aspa-set to openbgpd config output.

Change the way the validated ASPA tree is built since OpenBGPD config
follows more the ASPA profile and puts the optional AFI to each provider
ASnum instead of duplicated everything into an IPv4 and IPv6 tree.
The JSON output of ASPA is still the same.

The inclusion of the aspa-set can currently be disabled by the -A flag.
OK tb@
usr.sbin/rpki-client/aspa.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/output-bgpd.c
usr.sbin/rpki-client/output-json.c
usr.sbin/rpki-client/rpki-client.8