summaryrefslogtreecommitdiffstats
path: root/yang
diff options
context:
space:
mode:
authorPatrick Ruddy <pat@voltanet.io>2021-06-23 10:23:54 +0200
committerGitHub <noreply@github.com>2021-06-23 10:23:54 +0200
commitfa855f8fa3b3bafa53968b5cae3718180c88c92e (patch)
tree94c9d3e32c9acb101d3e5d1884d18834b38465e3 /yang
parentMerge pull request #8905 from donaldsharp/isis_argv (diff)
parenttests: Topotest for BGP EVPN Overlay Index Gateway IP feature (diff)
downloadfrr-fa855f8fa3b3bafa53968b5cae3718180c88c92e.tar.xz
frr-fa855f8fa3b3bafa53968b5cae3718180c88c92e.zip
Merge pull request #6695 from adharkar/frr-master-gateway_ip
EVPN route type-5 gateway IP overlay Index
Diffstat (limited to 'yang')
-rw-r--r--yang/frr-bgp-route-map.yang32
1 files changed, 32 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang
index ca60c8f7b..1c990b5ed 100644
--- a/yang/frr-bgp-route-map.yang
+++ b/yang/frr-bgp-route-map.yang
@@ -300,6 +300,18 @@ module frr-bgp-route-map {
"Set BGP large community list (for deletion)";
}
+ identity set-evpn-gateway-ip-ipv4 {
+ base frr-route-map:rmap-set-type;
+ description
+ "Set EVPN gateway IP overlay index IPv4";
+ }
+
+ identity set-evpn-gateway-ip-ipv6 {
+ base frr-route-map:rmap-set-type;
+ description
+ "Set EVPN gateway IP overlay index IPv6";
+ }
+
grouping extcommunity-non-transitive-types {
leaf two-octet-as-specific {
type boolean;
@@ -816,5 +828,25 @@ module frr-bgp-route-map {
type bgp-filter:bgp-list-name;
}
}
+ case evpn-gateway-ip-ipv4 {
+ when
+ "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action,
+ 'frr-bgp-route-map:set-evpn-gateway-ip-ipv4')";
+ description
+ "Set EVPN gateway IP overlay index IPv4";
+ leaf evpn-gateway-ip-ipv4 {
+ type inet:ipv4-address;
+ }
+ }
+ case evpn-gateway-ip-ipv6 {
+ when
+ "derived-from-or-self(/frr-route-map:lib/frr-route-map:route-map/frr-route-map:entry/frr-route-map:set-action/frr-route-map:action,
+ 'frr-bgp-route-map:set-evpn-gateway-ip-ipv6')";
+ description
+ "Set EVPN gateway IP overlay index IPv6";
+ leaf evpn-gateway-ip-ipv6 {
+ type inet:ipv6-address;
+ }
+ }
}
}