summaryrefslogtreecommitdiffstats
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-02-25 20:30:53 +0100
committervivek <vivek@cumulusnetworks.com>2016-02-25 20:30:53 +0100
commitc8e264b60e405e60b666cca62d5c96c20a9cf3bd (patch)
tree85f3ad0f6bf667d1ddb04a5330fe51bb1bc3d1e4 /zebra/interface.h
parentvtysh: Add ability to only look at one processes work queue (diff)
downloadfrr-c8e264b60e405e60b666cca62d5c96c20a9cf3bd.tar.xz
frr-c8e264b60e405e60b666cca62d5c96c20a9cf3bd.zip
Quagga: Implement VRF change semantics for an interface
Implement VRF change semantics for an interface to be invoked when an interface is moved from one VRF (e.g., the Default) to another. This includes the message definition as well as updating, deleting or adding the interface from clients, depending on their interest in the VRFs (old and new). Also handle replay of the addresses on the interface upon VRF change, if required. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Ticket: CM-9527 Reviewed By: CCR-4174 Testing Done: Manual tests of various scenarios
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 3d8a82d45..ed5150776 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -225,6 +225,7 @@ extern void if_flags_update (struct interface *, uint64_t);
extern int if_subnet_add (struct interface *, struct connected *);
extern int if_subnet_delete (struct interface *, struct connected *);
extern int ipv6_address_configured (struct interface *ifp);
+extern void if_handle_vrf_change (struct interface *ifp, vrf_id_t vrf_id);
extern void vrf_delete_update (struct vrf *vrfp);
extern void vrf_add_update (struct vrf *vrfp);