SAI Metadata
|
This module defines SAI APIs for bulk retrieval for each object-type. More...
#include <saitypes.h>
#include <saifdb.h>
#include <saimcastfdb.h>
#include <sail2mc.h>
#include <saiipmc.h>
#include <saineighbor.h>
#include <sairoute.h>
#include <saimpls.h>
#include <sainat.h>
#include <saisrv6.h>
#include <saiexperimentaldashvip.h>
#include <saiexperimentaldashpavalidation.h>
#include <saiexperimentaldashvnet.h>
#include <saiexperimentaldashoutboundrouting.h>
#include <saiexperimentaldashoutboundcatopa.h>
#include <saiexperimentaldashinboundrouting.h>
#include <saiexperimentaldasheni.h>
#include <saiexperimentaldashdirectionlookup.h>
#include <saiexperimentaldashacl.h>
#include <saiexperimentalbmtor.h>
Go to the source code of this file.
Classes | |
union | _sai_object_key_entry_t |
struct | _sai_object_key_t |
Structure for bulk retrieval of object ids, attribute and values for each object-type. Key will be used in case of object-types not having object-ids. More... | |
struct | _sai_attr_capability_t |
Structure for attribute capabilities per operation. More... | |
Typedefs | |
typedef union _sai_object_key_entry_t | sai_object_key_entry_t |
typedef struct _sai_object_key_t | sai_object_key_t |
Structure for bulk retrieval of object ids, attribute and values for each object-type. Key will be used in case of object-types not having object-ids. | |
typedef struct _sai_attr_capability_t | sai_attr_capability_t |
Structure for attribute capabilities per operation. | |
Functions | |
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_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_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, otherwise get the number of object keys only. | |
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_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. | |
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_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_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_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. | |
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. | |
This module defines SAI APIs for bulk retrieval for each object-type.
Copyright (c) 2014 Microsoft Open Technologies, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions and limitations under the License.
Microsoft would like to thank the following companies for their review and assistance with these files: Intel Corporation, Mellanox Technologies Ltd, Dell Products, L.P., Facebook, Inc., Marvell International Ltd.
Definition in file saiobject.h.