diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-02-25 19:30:53 +0000 |
|---|---|---|
| committer | vivek <vivek@cumulusnetworks.com> | 2016-02-25 19:30:53 +0000 |
| commit | c8e264b60e405e60b666cca62d5c96c20a9cf3bd (patch) | |
| tree | 85f3ad0f6bf667d1ddb04a5330fe51bb1bc3d1e4 /lib/zebra.h | |
| parent | b47b0a8480cbbfa30de4794f149f39ca8ad43921 (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 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 3d38a4c5cb..2945f15194 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -445,7 +445,8 @@ struct in_pktinfo #define ZEBRA_VRF_UNREGISTER 42 #define ZEBRA_VRF_ADD 43 #define ZEBRA_VRF_DELETE 44 -#define ZEBRA_MESSAGE_MAX 45 +#define ZEBRA_INTERFACE_VRF_UPDATE 45 +#define ZEBRA_MESSAGE_MAX 46 /* Marker value used in new Zserv, in the byte location corresponding * the command value in the old zserv header. To allow old and new |
