25#if !defined (__SAIOBJECT_H_)
167 _In_ sai_object_id_t switch_id,
169 _Out_ uint32_t *count);
181 _In_ sai_object_id_t switch_id,
183 _Out_ uint32_t *count);
197 _In_ sai_object_id_t switch_id,
199 _Inout_ uint32_t *object_count,
234 _In_ sai_object_id_t switch_id,
236 _In_ uint32_t object_count,
238 _Inout_ uint32_t *attr_count,
240 _Inout_ sai_status_t *object_statuses);
253 _In_ sai_object_id_t switch_id,
255 _In_ sai_attr_id_t attr_id,
269 _In_ sai_object_id_t switch_id,
271 _In_ sai_attr_id_t attr_id,
284 _In_ sai_object_id_t switch_id,
306 _In_ sai_object_id_t switch_id,
308 _In_ uint32_t object_count,
310 _In_ uint32_t number_of_counters,
311 _In_
const sai_stat_id_t *counter_ids,
313 _Inout_ sai_status_t *object_statuses,
314 _Out_ uint64_t *counters);
331 _In_ sai_object_id_t switch_id,
333 _In_ uint32_t object_count,
335 _In_ uint32_t number_of_counters,
336 _In_
const sai_stat_id_t *counter_ids,
338 _Inout_ sai_status_t *object_statuses);
352 _In_ sai_object_id_t switch_id,
354 _In_ uint32_t attr_count,
356 _Out_ sai_object_stage_t *stage);
sai_status_t sai_get_maximum_attribute_count(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _Out_ uint32_t *count)
Get maximum number of attributes for an object type.
sai_status_t sai_get_object_key(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _Inout_ uint32_t *object_count, _Inout_ sai_object_key_t *object_list)
Get the number of and list of object keys present in SAI if enough large list provided,...
sai_status_t sai_query_stats_capability(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _Inout_ sai_stat_capability_list_t *stats_capability)
Query statistics capability for statistics bound at object level.
sai_status_t sai_get_object_count(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _Out_ uint32_t *count)
Get the number of objects present in SAI. Deprecated for backward compatibility.
sai_status_t sai_query_attribute_capability(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ sai_attr_id_t attr_id, _Out_ sai_attr_capability_t *attr_capability)
Query attribute capability.
struct _sai_object_key_t sai_object_key_t
Structure for bulk retrieval of object ids, attribute and values for each object-type....
sai_status_t sai_bulk_object_clear_stats(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ uint32_t object_count, _In_ const sai_object_key_t *object_key, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _In_ sai_stats_mode_t mode, _Inout_ sai_status_t *object_statuses)
Bulk objects clear statistics.
struct _sai_attr_capability_t sai_attr_capability_t
Structure for attribute capabilities per operation.
union _sai_object_key_entry_t sai_object_key_entry_t
sai_status_t sai_query_attribute_enum_values_capability(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ sai_attr_id_t attr_id, _Inout_ sai_s32_list_t *enum_values_capability)
Query an enum attribute (enum or enum list) list of implemented enum values.
sai_status_t sai_bulk_object_get_stats(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ uint32_t object_count, _In_ const sai_object_key_t *object_key, _In_ uint32_t number_of_counters, _In_ const sai_stat_id_t *counter_ids, _In_ sai_stats_mode_t mode, _Inout_ sai_status_t *object_statuses, _Out_ uint64_t *counters)
Bulk objects get statistics.
sai_status_t sai_bulk_get_attribute(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ uint32_t object_count, _In_ const sai_object_key_t *object_key, _Inout_ uint32_t *attr_count, _Inout_ sai_attribute_t **attr_list, _Inout_ sai_status_t *object_statuses)
Get the bulk list of valid attributes for a given list of object keys.
sai_status_t sai_query_object_stage(_In_ sai_object_id_t switch_id, _In_ sai_object_type_t object_type, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list, _Out_ sai_object_stage_t *stage)
Query the HW stage of an attribute for the specified object type.
enum _sai_stats_mode_t sai_stats_mode_t
SAI statistics modes.
enum _sai_object_type_t sai_object_type_t
SAI object type.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI P4 extension interface.
This module defines SAI FDB interface.
This module defines SAI IPMC interface.
This module defines SAI L2MC interface.
This module defines SAI multicast FDB interface.
This module defines SAI MPLS interface.
This module defines SAI NAT (Network Address Translation) spec.
This module defines SAI Neighbor interface.
This module defines SAI Route Entry interface.
This module defines SAI SRV6 Entry interface.
This module defines SAI portable types.
Structure for attribute capabilities per operation.
bool get_implemented
Get is implemented.
bool set_implemented
Set is implemented.
bool create_implemented
Create is implemented.
Entry for direction_lookup_entry.
Entry for eni_ether_address_map_entry.
Entry for inbound_routing_entry.
Structure for bulk retrieval of object ids, attribute and values for each object-type....
sai_object_key_entry_t key
Entry for outbound_ca_to_pa_entry.
Entry for outbound_routing_entry.
Entry for pa_validation_entry.
sai_my_sid_entry_t my_sid_entry
sai_neighbor_entry_t neighbor_entry
sai_inseg_entry_t inseg_entry
sai_ipmc_entry_t ipmc_entry
sai_nat_entry_t nat_entry
sai_outbound_routing_entry_t outbound_routing_entry
sai_inbound_routing_entry_t inbound_routing_entry
sai_l2mc_entry_t l2mc_entry
sai_fdb_entry_t fdb_entry
sai_outbound_ca_to_pa_entry_t outbound_ca_to_pa_entry
sai_direction_lookup_entry_t direction_lookup_entry
sai_eni_ether_address_map_entry_t eni_ether_address_map_entry
sai_vip_entry_t vip_entry
sai_object_id_t object_id
Key is object ID.
sai_pa_validation_entry_t pa_validation_entry
sai_mcast_fdb_entry_t mcast_fdb_entry
sai_route_entry_t route_entry