summaryrefslogtreecommitdiffstats
path: root/yang/frr-bgp-route-map.yang
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2022-02-08 21:59:16 +0100
committerChirag Shah <chirag@nvidia.com>2022-02-17 18:55:00 +0100
commitbd44ab083155186c21d5296e91bf211627370453 (patch)
tree1bb9288b62f099b0aa85ea959c24378779af3d1c /yang/frr-bgp-route-map.yang
parentMerge pull request #10557 from alexk99/zebra-fpm-multihop-weight (diff)
downloadfrr-bd44ab083155186c21d5296e91bf211627370453.tar.xz
frr-bd44ab083155186c21d5296e91bf211627370453.zip
bgpd: evpn route-map match ead type-1 route-type
Add evpn mh route type-1 (EAD) to match clause of route-map. Ticket: issue#10461 Reviewed By: Testing Done: With fix: vtep1(config-route-map)# match evpn route-type 1 EAD (Type-1) route 2 MAC-IP (Type-2) route 3 Multicast (Type-3) route 5 Prefix (Type-5) route ead EAD (Type-1) route macip MAC-IP (Type-2) route multicast Multicast (Type-3) route prefix Prefix (Type-5) route vtep1# show running-config bgpd .... route-map HOST_ALLOW_1 permit 1 match evpn route-type ead vtep1# show route-map HOST_ALLOW_1 BGP: route-map: HOST_ALLOW_1 Invoked: 6 Optimization: disabled Processed Change: false permit, sequence 1 Invoked 6 Match clauses: ip address prefix-list LOCAL_HOST_VRF1 evpn route-type ead Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'yang/frr-bgp-route-map.yang')
-rw-r--r--yang/frr-bgp-route-map.yang5
1 files changed, 5 insertions, 0 deletions
diff --git a/yang/frr-bgp-route-map.yang b/yang/frr-bgp-route-map.yang
index 9bd26043a..9d4ac5c9c 100644
--- a/yang/frr-bgp-route-map.yang
+++ b/yang/frr-bgp-route-map.yang
@@ -532,6 +532,11 @@ module frr-bgp-route-map {
description
"Prefix route";
}
+ enum "ead" {
+ value 3;
+ description
+ "Ethernet Auto-Discovery route";
+ }
}
}
}