summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2020-11-04 09:52:11 +0000
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-12-02 10:17:06 +0000
commit999e803f314ac0be715aa7c15ad4a372e2253302 (patch)
tree887328d0aaa337a859e8e6e5269cd817fee92302 /lib/command_py.c
parentd5ecf80558c023878f1b2a4ab76e59042f8cbb10 (diff)
bgpd: upon bgp deletion, do not systematically ask to remove main bgp
Dependencies between bgp instances is necessary only when it comes to configure some specific services like ipv4-vpn, ipv6-vpn or l2vpn-evpn. The list of config possibilities is listed, and an error is returned if one of the above services is configured on the bgp vrf instance. There may be some missingn services not covered. For clarification, here are services configured on bgp vrf instances, while trying to delete main bgp instance: - if evpn main instance is the main bgp instance, and if evpn rt5 service is configured (with advertise command) - if a vni is configured in the vrf instance - if l3vpn import/export commands are solicitated for importing/exporting entries from a vpnv4/6 network located on main bgp instance. (in l3vpn, the main bgp instance is the location where vpnv4/6 sits). Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions