Skip to content

Commit

Permalink
VRRP support in RIF create call (#792)
Browse files Browse the repository at this point in the history
* ++ initial version of VRRP support in RIF create call, will verify after community discussions

* fix meta checker

* updated to fix meta checker.

* update VRRP PR with review comments
  • Loading branch information
Zubin Shah authored and lguohan committed Apr 18, 2018
1 parent 0443856 commit 3626591
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions inc/sairouterinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,25 @@ typedef enum _sai_router_interface_attr_t
*/
SAI_ROUTER_INTERFACE_ATTR_LOOPBACK_PACKET_ACTION,

/**
* @brief RIF creation is a virtual RIF.
*
* Create a Virtual RIF object, which only programs the ingress router MAC.
* This simplifies the management of VRRP master router's configuration in
* SAI adapter, as defined by RFC 5798 (or similar proprietary protocols).
* Using a Virtual RIF allows SAI to optimize resources, so neighbor entries
* cannot be learned on a Virtual RIF. On a virtual RIF following attributes
* are invalid: ADMIN state, MTU size, packet action and multicast enable.
* Alternatively VRRP can also be configured using native RIF objects without
* using VIRTUAL attribute, with the expectation that SAI adapter will consume
* resources that will not be used.
*
* @type bool
* @flags CREATE_ONLY
* @default false
*/
SAI_ROUTER_INTERFACE_ATTR_IS_VIRTUAL,

/**
* @brief End of attributes
*/
Expand Down

0 comments on commit 3626591

Please sign in to comment.