diff --git a/conf/confbase.Y b/conf/confbase.Y index 56dd15e7..99fb3d7a 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -124,7 +124,7 @@ CF_DECLS %type settle %type ipa net_ip6_slash %type net_ip4_ net_ip4 net_ip6_ net_ip6 net_ip_ net_ip net_or_ipa -%type net_ net_any net_vpn4_ net_vpn6_ net_vpn_ net_roa4_ net_roa6_ net_roa_ net_ip6_sadr_ net_mpls_ +%type net_ net_any net_vpn4_ net_vpn6_ net_vpn_ net_roa4_ net_roa6_ net_roa_ net_ip6_sadr_ net_mpls_ net_aspa_ %type label_stack_start label_stack %type text opttext @@ -325,6 +325,12 @@ net_mpls_: MPLS NUM net_fill_mpls($$, $2); } +net_aspa_: ASPA NUM +{ + $$ = cfg_alloc(sizeof(net_addr_aspa)); + net_fill_aspa($$, $2); +} + net_ip_: net_ip4_ | net_ip6_ ; net_vpn_: net_vpn4_ | net_vpn6_ ; net_roa_: net_roa4_ | net_roa6_ ; @@ -336,6 +342,7 @@ net_: | net_flow_ | net_ip6_sadr_ | net_mpls_ + | net_aspa_ ; diff --git a/doc/bird.sgml b/doc/bird.sgml index da887b1e..86f7bc7e 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -5966,6 +5966,13 @@ options (The ROA config is just route with no nexthop. +Autonomous System Provider Authorization + +

The ASPA config is route aspa with no nexthop. + The first ASN is client and the following are a list of providers. + For a transit, you can also write route aspa to get + the no-provider ASPA. + Flowspec