diff --git a/inc/sairouterinterface.h b/inc/sairouterinterface.h index c3e65f207..c68dd87a4 100644 --- a/inc/sairouterinterface.h +++ b/inc/sairouterinterface.h @@ -294,6 +294,41 @@ typedef enum _sai_router_interface_attr_t */ SAI_ROUTER_INTERFACE_ATTR_ADMIN_MPLS_STATE, + /** + * @brief Set router interface statistics counting mode + * + * @type sai_stats_count_mode_t + * @flags CREATE_AND_SET + * @default SAI_STATS_COUNT_MODE_PACKET_AND_BYTE + */ + SAI_ROUTER_INTERFACE_ATTR_STATS_COUNT_MODE, + + /** + * @brief Attach counter object list + * + * Counter object should be of type Selective. + * Fill (#SAI_COUNTER_ATTR_TYPE with #SAI_COUNTER_TYPE_SELECTIVE). + * + * @type sai_object_list_t + * @flags CREATE_AND_SET + * @objects SAI_OBJECT_TYPE_COUNTER + * @default empty + */ + SAI_ROUTER_INTERFACE_ATTR_SELECTIVE_COUNTER_LIST, + + /** + * @brief Attribute used to specify external My MAC entry that will + * be used in place of any implicit entry created during RIF processing + * for this {port, vlan, MAC address} + * + * @type sai_object_id_t + * @flags CREATE_ONLY + * @objects SAI_OBJECT_TYPE_MY_MAC + * @allownull true + * @default SAI_NULL_OBJECT_ID + */ + SAI_ROUTER_INTERFACE_ATTR_MY_MAC, + /** * @brief End of attributes */