SAI Metadata
Loading...
Searching...
No Matches
SAI - Extension specific API definitions

Classes

struct  _sai_inbound_routing_entry_t
 Entry for inbound_routing_entry. More...
 
struct  _sai_dash_inbound_routing_api_t
 

Typedefs

typedef enum _sai_inbound_routing_entry_action_t sai_inbound_routing_entry_action_t
 Attribute data for SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION.
 
typedef struct _sai_inbound_routing_entry_t sai_inbound_routing_entry_t
 Entry for inbound_routing_entry.
 
typedef enum _sai_inbound_routing_entry_attr_t sai_inbound_routing_entry_attr_t
 Attribute ID for dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_create_inbound_routing_entry_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
 Create dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_remove_inbound_routing_entry_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry)
 Remove dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_set_inbound_routing_entry_attribute_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ const sai_attribute_t *attr)
 Set attribute for dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_get_inbound_routing_entry_attribute_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
 Get attribute for dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_bulk_create_inbound_routing_entry_fn) (_In_ uint32_t object_count, _In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
 Bulk create dash_inbound_routing_inbound_routing_entry.
 
typedef sai_status_t(* sai_bulk_remove_inbound_routing_entry_fn) (_In_ uint32_t object_count, _In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)
 Bulk remove dash_inbound_routing_inbound_routing_entry.
 
typedef struct _sai_dash_inbound_routing_api_t sai_dash_inbound_routing_api_t
 

Enumerations

enum  _sai_inbound_routing_entry_action_t { SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP , SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE }
 Attribute data for SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION. More...
 
enum  _sai_inbound_routing_entry_attr_t {
  SAI_INBOUND_ROUTING_ENTRY_ATTR_START , SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION = SAI_INBOUND_ROUTING_ENTRY_ATTR_START , SAI_INBOUND_ROUTING_ENTRY_ATTR_SRC_VNET_ID , SAI_INBOUND_ROUTING_ENTRY_ATTR_IP_ADDR_FAMILY ,
  SAI_INBOUND_ROUTING_ENTRY_ATTR_END , SAI_INBOUND_ROUTING_ENTRY_ATTR_CUSTOM_RANGE_START = 0x10000000 , SAI_INBOUND_ROUTING_ENTRY_ATTR_CUSTOM_RANGE_END
}
 Attribute ID for dash_inbound_routing_inbound_routing_entry. More...
 

Detailed Description

Typedef Documentation

◆ sai_bulk_create_inbound_routing_entry_fn

typedef sai_status_t(* sai_bulk_create_inbound_routing_entry_fn) (_In_ uint32_t object_count, _In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ const uint32_t *attr_count, _In_ const sai_attribute_t **attr_list, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)

Bulk create dash_inbound_routing_inbound_routing_entry.

Parameters
[in]object_countNumber of objects to create
[in]inbound_routing_entryList of object to create
[in]attr_countList of attr_count. Caller passes the number of attribute for each object to create.
[in]attr_listList of attributes for every object.
[in]modeBulk operation error handling mode.
[out]object_statusesList of status for every object. Caller needs to allocate the buffer
Returns
SAI_STATUS_SUCCESS on success when all objects are created or SAI_STATUS_FAILURE when any of the objects fails to create. When there is failure, Caller is expected to go through the list of returned statuses to find out which fails and which succeeds.

Definition at line 208 of file saiexperimentaldashinboundrouting.h.

◆ sai_bulk_remove_inbound_routing_entry_fn

typedef sai_status_t(* sai_bulk_remove_inbound_routing_entry_fn) (_In_ uint32_t object_count, _In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ sai_bulk_op_error_mode_t mode, _Out_ sai_status_t *object_statuses)

Bulk remove dash_inbound_routing_inbound_routing_entry.

Parameters
[in]object_countNumber of objects to remove
[in]inbound_routing_entryList of objects to remove
[in]modeBulk operation error handling mode.
[out]object_statusesList of status for every object. Caller needs to allocate the buffer
Returns
SAI_STATUS_SUCCESS on success when all objects are removed or SAI_STATUS_FAILURE when any of the objects fails to remove. When there is failure, Caller is expected to go through the list of returned statuses to find out which fails and which succeeds.

Definition at line 230 of file saiexperimentaldashinboundrouting.h.

◆ sai_create_inbound_routing_entry_fn

typedef sai_status_t(* sai_create_inbound_routing_entry_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)

Create dash_inbound_routing_inbound_routing_entry.

Parameters
[in]inbound_routing_entryEntry
[in]attr_countNumber of attributes
[in]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success Failure status code on error

Definition at line 150 of file saiexperimentaldashinboundrouting.h.

◆ sai_get_inbound_routing_entry_attribute_fn

typedef sai_status_t(* sai_get_inbound_routing_entry_attribute_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)

Get attribute for dash_inbound_routing_inbound_routing_entry.

Parameters
[in]inbound_routing_entryEntry
[in]attr_countNumber of attributes
[in,out]attr_listArray of attributes
Returns
SAI_STATUS_SUCCESS on success Failure status code on error

Definition at line 186 of file saiexperimentaldashinboundrouting.h.

◆ sai_remove_inbound_routing_entry_fn

typedef sai_status_t(* sai_remove_inbound_routing_entry_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry)

Remove dash_inbound_routing_inbound_routing_entry.

Parameters
[in]inbound_routing_entryEntry
Returns
SAI_STATUS_SUCCESS on success Failure status code on error

Definition at line 162 of file saiexperimentaldashinboundrouting.h.

◆ sai_set_inbound_routing_entry_attribute_fn

typedef sai_status_t(* sai_set_inbound_routing_entry_attribute_fn) (_In_ const sai_inbound_routing_entry_t *inbound_routing_entry, _In_ const sai_attribute_t *attr)

Set attribute for dash_inbound_routing_inbound_routing_entry.

Parameters
[in]inbound_routing_entryEntry
[in]attrAttribute
Returns
SAI_STATUS_SUCCESS on success Failure status code on error

Definition at line 173 of file saiexperimentaldashinboundrouting.h.

Enumeration Type Documentation

◆ _sai_inbound_routing_entry_action_t

◆ _sai_inbound_routing_entry_attr_t

Attribute ID for dash_inbound_routing_inbound_routing_entry.

Enumerator
SAI_INBOUND_ROUTING_ENTRY_ATTR_START 

Start of attributes.

SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION 

Action.

Value Type:
sai_inbound_routing_entry_action_t
Flags:
CREATE_AND_SET
Default value:
SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP
SAI_INBOUND_ROUTING_ENTRY_ATTR_SRC_VNET_ID 

Action vxlan_decap_pa_validate parameter SRC_VNET_ID.

Value Type:
sai_object_id_t
Flags:
CREATE_AND_SET
Allowed object types
SAI_OBJECT_TYPE_VNET
Allows NULL object ID
true
Default value:
SAI_NULL_OBJECT_ID
Valid only when:
SAI_INBOUND_ROUTING_ENTRY_ATTR_ACTION == SAI_INBOUND_ROUTING_ENTRY_ACTION_VXLAN_DECAP_PA_VALIDATE
SAI_INBOUND_ROUTING_ENTRY_ATTR_IP_ADDR_FAMILY 

IP address family for resource accounting.

Value Type:
sai_ip_addr_family_t
Flags:
READ_ONLY
IsResourceType:
true
SAI_INBOUND_ROUTING_ENTRY_ATTR_END 

End of attributes.

SAI_INBOUND_ROUTING_ENTRY_ATTR_CUSTOM_RANGE_START 

Custom range base value

SAI_INBOUND_ROUTING_ENTRY_ATTR_CUSTOM_RANGE_END 

End of custom range base

Definition at line 91 of file saiexperimentaldashinboundrouting.h.