From c8e264b60e405e60b666cca62d5c96c20a9cf3bd Mon Sep 17 00:00:00 2001 From: vivek Date: Thu, 25 Feb 2016 19:30:53 +0000 Subject: 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 Reviewed-by: Donald Sharp Reviewed-by: Don Slice Ticket: CM-9527 Reviewed By: CCR-4174 Testing Done: Manual tests of various scenarios --- zebra/interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/interface.h') diff --git a/zebra/interface.h b/zebra/interface.h index 3d8a82d454..ed51507763 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); -- cgit v1.2.3