]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vrf.c
lib, zebra: move vrf netns commands from lib to zebra
authorIgor Ryzhov <iryzhov@nfware.com>
Mon, 23 Aug 2021 20:54:12 +0000 (23:54 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Mon, 23 Aug 2021 20:54:12 +0000 (23:54 +0300)
commit37cb0475e10ce85a236b7863ad11019c8f895c69
tree523b4423d9e535b65b288f4cfb32d235221f3d44
parent6b7388555605024fd6594cc998badb6bcd7069f5
lib, zebra: move vrf netns commands from lib to zebra

"[no] netns NAME" commands are part of the lib, but they are actually
zebra-only:
- they are using vrf_netns_handler_create and its description clearly
  says that it "should be called from zebra only"
- vtysh sends these commands only to zebra
- only zebra outputs the netns related config
- zebra notifies other daemons about netns attachment

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/vrf.c
vtysh/vtysh.c
zebra/subdir.am
zebra/zebra_vrf.c