summaryrefslogtreecommitdiff
path: root/proto/bgp/config.Y
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-03-30 14:00:08 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-04-12 16:04:22 +0200
commit711d617dc106a8af34c6c8f3500f337a792f1f3d (patch)
tree26cfb392a6c1deb587d5be2763d07e38fd0aef6c /proto/bgp/config.Y
parentffb38dfb8b454dc23cd08836d7236a5a9c9f80c1 (diff)
BGP: Add support for SAFI 129 (VPN multicast)
Which, in contrast to SAFI 128, does not use MPLS labels.
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r--proto/bgp/config.Y22
1 files changed, 12 insertions, 10 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y
index e2dc4053..63e82285 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -135,16 +135,18 @@ bgp_proto:
;
bgp_afi:
- IPV4 { $$ = BGP_AF_IPV4; }
- | IPV6 { $$ = BGP_AF_IPV6; }
- | IPV4 MULTICAST { $$ = BGP_AF_IPV4_MC; }
- | IPV6 MULTICAST { $$ = BGP_AF_IPV6_MC; }
- | IPV4 MPLS { $$ = BGP_AF_IPV4_MPLS; }
- | IPV6 MPLS { $$ = BGP_AF_IPV6_MPLS; }
- | VPN4 MPLS { $$ = BGP_AF_VPN4_MPLS; }
- | VPN6 MPLS { $$ = BGP_AF_VPN6_MPLS; }
- | FLOW4 { $$ = BGP_AF_FLOW4; }
- | FLOW6 { $$ = BGP_AF_FLOW6; }
+ IPV4 { $$ = BGP_AF_IPV4; }
+ | IPV6 { $$ = BGP_AF_IPV6; }
+ | IPV4 MULTICAST { $$ = BGP_AF_IPV4_MC; }
+ | IPV6 MULTICAST { $$ = BGP_AF_IPV6_MC; }
+ | IPV4 MPLS { $$ = BGP_AF_IPV4_MPLS; }
+ | IPV6 MPLS { $$ = BGP_AF_IPV6_MPLS; }
+ | VPN4 MPLS { $$ = BGP_AF_VPN4_MPLS; }
+ | VPN6 MPLS { $$ = BGP_AF_VPN6_MPLS; }
+ | VPN4 MULTICAST { $$ = BGP_AF_VPN4_MC; }
+ | VPN6 MULTICAST { $$ = BGP_AF_VPN6_MC; }
+ | FLOW4 { $$ = BGP_AF_FLOW4; }
+ | FLOW6 { $$ = BGP_AF_FLOW6; }
;
bgp_channel_start: bgp_afi