SAI Metadata
|
Defines attribute condition. More...
#include <saimetadatatypes.h>
Public Attributes | |
sai_attr_id_t | attrid |
Specifies valid attribute id for this object type. Attribute is for the same object type. | |
const sai_attribute_value_t | condition |
Condition value that attribute will be mandatory then default value must be provided for attribute. | |
sai_condition_operator_t | op |
Condition operator (==,!=,<,>,<=.>=). | |
sai_attr_condition_type_t | type |
Condition type. | |
Defines attribute condition.
Definition at line 730 of file saimetadatatypes.h.
sai_attr_id_t _sai_attr_condition_t::attrid |
Specifies valid attribute id for this object type. Attribute is for the same object type.
Definition at line 736 of file saimetadatatypes.h.
const sai_attribute_value_t _sai_attr_condition_t::condition |
Condition value that attribute will be mandatory then default value must be provided for attribute.
Definition at line 742 of file saimetadatatypes.h.
sai_condition_operator_t _sai_attr_condition_t::op |
Condition operator (==,!=,<,>,<=.>=).
Definition at line 747 of file saimetadatatypes.h.
sai_attr_condition_type_t _sai_attr_condition_t::type |
Condition type.
If main condition type is MIXED, then condition list is written in RPN (reverse polish notation) syntax notation. If this field is NONE, then this is actual condition, otherwise it can be AND,OR type which is just a operator indication that should be performed. For AND,OR case attrid is equal to SAI_INVALID_ATTRIBUTE_ID.
Definition at line 758 of file saimetadatatypes.h.