summaryrefslogtreecommitdiff
path: root/zebra/redistribute.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-02-25 19:30:53 +0000
committervivek <vivek@cumulusnetworks.com>2016-02-25 19:30:53 +0000
commitc8e264b60e405e60b666cca62d5c96c20a9cf3bd (patch)
tree85f3ad0f6bf667d1ddb04a5330fe51bb1bc3d1e4 /zebra/redistribute.h
parentb47b0a8480cbbfa30de4794f149f39ca8ad43921 (diff)
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/redistribute.h')
-rw-r--r--zebra/redistribute.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/redistribute.h b/zebra/redistribute.h
index d56e3d0b97..bc30934030 100644
--- a/zebra/redistribute.h
+++ b/zebra/redistribute.h
@@ -52,6 +52,8 @@ extern void zebra_interface_address_add_update (struct interface *,
struct connected *);
extern void zebra_interface_address_delete_update (struct interface *,
struct connected *c);
+extern void zebra_interface_vrf_update_del (struct interface *, vrf_id_t new_vrf_id);
+extern void zebra_interface_vrf_update_add (struct interface *, vrf_id_t old_vrf_id);
extern int zebra_import_table (afi_t afi, u_int32_t table_id,
u_int32_t metric, int add);