Move config 'advertise-vni-all' above all evpn
configuration as vni specific confi commands
have check for advertise-vni-all enabled first.
Ticket: CM-29312
Reviewed By:
Testing Done:
router bgp 5650
...
advertise-all-vni
vni 1002
route-target import 55500:10002
route-target export 55500:10002
exit-vni
...
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
char buf1[RD_ADDRSTRLEN];
char buf2[INET6_ADDRSTRLEN];
+ if (bgp->advertise_all_vni)
+ vty_out(vty, " advertise-all-vni\n");
+
if (bgp->vnihash) {
struct list *vnilist = hash_to_list(bgp->vnihash);
struct listnode *ln;
list_delete(&vnilist);
}
- if (bgp->advertise_all_vni)
- vty_out(vty, " advertise-all-vni\n");
-
if (bgp->advertise_autort_rfc8365)
vty_out(vty, " autort rfc8365-compatible\n");