diff options
author | Hiroki Shirokura <slank.dev@gmail.com> | 2020-01-09 04:00:43 +0100 |
---|---|---|
committer | Hiroki Shirokura <slank.dev@gmail.com> | 2020-01-15 10:20:35 +0100 |
commit | e496b4203055c50806dc7193b9762304261c4bbd (patch) | |
tree | 3bbce6eb4c17c4a6d53cf10a68708f9a07a9e59e /bgpd/bgp_memory.c | |
parent | bgpd: extended nexthop capability for vpnv4-unicast (diff) | |
download | frr-e496b4203055c50806dc7193b9762304261c4bbd.tar.xz frr-e496b4203055c50806dc7193b9762304261c4bbd.zip |
bgpd: prefix-sid srv6 l3vpn service tlv
bgpd already supports BGP Prefix-SID path attribute and
there are some sub-types of Prefix-SID path attribute.
This commits makes bgpd to support additional sub-types.
sub-Type-4 and sub-Type-5 for construct the VPNv4 SRv6 backend
with vpnv4-unicast address family.
This path attributes is already supported by Ciscos IOS-XR and NX-OS.
Prefix-SID sub-Type-4 and sub-Type-5 is defined on following
IETF-drafts.
Supports(A-part-of):
- https://tools.ietf.org/html/draft-dawra-idr-srv6-vpn-04
- https://tools.ietf.org/html/draft-dawra-idr-srv6-vpn-05
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
Diffstat (limited to 'bgpd/bgp_memory.c')
-rw-r--r-- | bgpd/bgp_memory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_memory.c b/bgpd/bgp_memory.c index 3e4dfb11a..41c4108c0 100644 --- a/bgpd/bgp_memory.c +++ b/bgpd/bgp_memory.c @@ -128,3 +128,6 @@ DEFINE_MTYPE(BGPD, BGP_FLOWSPEC_RULE_STR, "BGP flowspec rule str") DEFINE_MTYPE(BGPD, BGP_FLOWSPEC_COMPILED, "BGP flowspec compiled") DEFINE_MTYPE(BGPD, BGP_FLOWSPEC_NAME, "BGP flowspec name") DEFINE_MTYPE(BGPD, BGP_FLOWSPEC_INDEX, "BGP flowspec index") + +DEFINE_MTYPE(BGPD, BGP_SRV6_L3VPN, "BGP prefix-sid srv6 l3vpn servcie") +DEFINE_MTYPE(BGPD, BGP_SRV6_VPN, "BGP prefix-sid srv6 vpn service") |