]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd, zebra: Scope EVPN commands to EVPN VRF
authorTuetuopay <tuetuopay@me.com>
Wed, 6 Mar 2019 18:15:10 +0000 (19:15 +0100)
committerTuetuopay <tuetuopay@me.com>
Tue, 19 Mar 2019 10:56:25 +0000 (11:56 +0100)
commit530db8dc0398fabe8a88a2c614e14a1f3ccc1ba4
tree08202409fabec39e2fd51c621118e1f462e51976
parent150971b5ecc3416496a2ffaf2a35c108c970553c
bgpd, zebra: Scope EVPN commands to EVPN VRF

If the EVPN VRF is not the default one (i.e. with advertise-all-vni),
this allows showing its information with `show bgp l2evpn evpn ...`
commands. They do not require adding `vrf VRFNAME` since we only
support a single EVPN VRF. The same is true for zebra-specific commands
(e.g. `show evpn ...`).

Configuration commands are not restricted to the default VRF but to
the EVPN one, that is to the one bearing `advertise-all-vni`.

Signed-off-by: Tuetuopay <tuetuopay@me.com>
Sponsored-by: Scaleway
bgpd/bgp_evpn_vty.c
zebra/zebra_vty.c
zebra/zebra_vxlan.c