]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: adv pip to throw warning under default vrf 4977/head
authorChirag Shah <chirag@cumulusnetworks.com>
Mon, 28 Oct 2019 22:05:05 +0000 (15:05 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 22 Nov 2019 15:53:40 +0000 (07:53 -0800)
commita6e7677e63d5a0f35b573164b4f8cc91afa0b1ac
tree885e780837d3e49b875016189956f1cc082e5ea8
parent27727001d72ea0b7dec04449b55d19cfbc77c4c8
bgpd: adv pip to throw warning under default vrf

Instead of CMD_WARNING, use CMD_WARNING_CONFIG_FAILED
for any mis-configuration scenario.

Testing Done:

TOR(config)# router bgp 5548
TOR(config-router)# address-family l2vpn evpn
TOR(config-router-af)# no advertise-pip
This command is supported under L3VNI BGP EVPN VRF

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
bgpd/bgp_evpn_vty.c