SAI Metadata
|
JSON data type "attributes": [ { "attribute_name": { "sai_metadata": { "sai_attr_value_type": "<SAI_ATTR_VALUE_TYPE_T>", "brief": "Brief Attribute Description", "sai_attr_flags": "<SAI_ATTR_FLAGS_T>", "allowed_object_types": [ "<LIST OF ALLOWED OBJECT TYPES>" ], "default_value": "<DEFAULT ATTR VALUE>" }, "value": } } ] attributes - Mandatory top-level key where JSON parsing begins attribute_name - Name of one attribute in the list of attributes sai_attr_value_type - Data type of the attribute brief - Optional description of the field sai_attr_flags - Optional Usage flags for the field allowed_object_types - If data type is OID, then this is the list of object types allowed as data. More...
#include <saitypes.h>
Public Attributes | |
sai_s8_list_t | json |
JSON data type "attributes": [ { "attribute_name": { "sai_metadata": { "sai_attr_value_type": "<SAI_ATTR_VALUE_TYPE_T>", "brief": "Brief Attribute Description", "sai_attr_flags": "<SAI_ATTR_FLAGS_T>", "allowed_object_types": [ "<LIST OF ALLOWED OBJECT TYPES>" ], "default_value": "<DEFAULT ATTR VALUE>" }, "value":
} } ] attributes - Mandatory top-level key where JSON parsing begins attribute_name - Name of one attribute in the list of attributes sai_attr_value_type - Data type of the attribute brief - Optional description of the field sai_attr_flags - Optional Usage flags for the field allowed_object_types - If data type is OID, then this is the list of object types allowed as data.
Definition at line 1119 of file saitypes.h.
sai_s8_list_t _sai_json_t::json |
String in JSON format
Definition at line 1122 of file saitypes.h.