]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: evpn route-map match ead type-1 route-type
authorChirag Shah <chirag@nvidia.com>
Tue, 8 Feb 2022 20:59:16 +0000 (12:59 -0800)
committerChirag Shah <chirag@nvidia.com>
Thu, 17 Feb 2022 17:55:00 +0000 (09:55 -0800)
commitbd44ab083155186c21d5296e91bf211627370453
tree1bb9288b62f099b0aa85ea959c24378779af3d1c
parent7f6ff7a3d3a39c67acaefa311443c438b9d8032a
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>
bgpd/bgp_routemap.c
yang/frr-bgp-route-map.yang