25#if !defined (__SAITAM_H_)
117 _Out_ sai_object_id_t *tam_id,
118 _In_ sai_object_id_t switch_id,
119 _In_ uint32_t attr_count,
132 _In_ sai_object_id_t tam_id);
143 _In_ sai_object_id_t tam_id,
156 _In_ sai_object_id_t tam_id,
157 _In_ uint32_t attr_count,
228 _Out_ sai_object_id_t *tam_math_func_id,
229 _In_ sai_object_id_t switch_id,
230 _In_ uint32_t attr_count,
241 _In_ sai_object_id_t tam_math_func_id);
253 _In_ sai_object_id_t tam_math_func_id,
254 _In_ uint32_t attr_count,
266 _In_ sai_object_id_t tam_math_func_id,
398 _Out_ sai_object_id_t *tam_event_threshold_id,
399 _In_ sai_object_id_t switch_id,
400 _In_ uint32_t attr_count,
411 _In_ sai_object_id_t tam_event_threshold_id);
423 _In_ sai_object_id_t tam_event_threshold_id,
424 _In_ uint32_t attr_count,
436 _In_ sai_object_id_t tam_event_threshold_id,
823 _Out_ sai_object_id_t *tam_int_id,
824 _In_ sai_object_id_t switch_id,
825 _In_ uint32_t attr_count,
836 _In_ sai_object_id_t tam_int_id);
848 _In_ sai_object_id_t tam_int_id,
849 _In_ uint32_t attr_count,
861 _In_ sai_object_id_t tam_int_id,
1100 _Out_ sai_object_id_t *tam_tel_type_id,
1101 _In_ sai_object_id_t switch_id,
1102 _In_ uint32_t attr_count,
1113 _In_ sai_object_id_t tam_tel_type_id);
1125 _In_ sai_object_id_t tam_tel_type_id,
1126 _In_ uint32_t attr_count,
1138 _In_ sai_object_id_t tam_tel_type_id,
1349 _Out_ sai_object_id_t *tam_report_id,
1350 _In_ sai_object_id_t switch_id,
1351 _In_ uint32_t attr_count,
1362 _In_ sai_object_id_t tam_report_id);
1374 _In_ sai_object_id_t tam_report_id,
1375 _In_ uint32_t attr_count,
1387 _In_ sai_object_id_t tam_report_id,
1490 _Out_ sai_object_id_t *tam_telemetry_id,
1491 _In_ sai_object_id_t switch_id,
1492 _In_ uint32_t attr_count,
1503 _In_ sai_object_id_t tam_telemetry_id);
1515 _In_ sai_object_id_t tam_telemetry_id,
1516 _In_ uint32_t attr_count,
1528 _In_ sai_object_id_t tam_telemetry_id,
1666 _Out_ sai_object_id_t *tam_transport_id,
1667 _In_ sai_object_id_t switch_id,
1668 _In_ uint32_t attr_count,
1679 _In_ sai_object_id_t tam_transport_id);
1691 _In_ sai_object_id_t tam_transport_id,
1692 _In_ uint32_t attr_count,
1704 _In_ sai_object_id_t tam_transport_id,
1810 _Out_ sai_object_id_t *tam_collector_id,
1811 _In_ sai_object_id_t switch_id,
1812 _In_ uint32_t attr_count,
1823 _In_ sai_object_id_t tam_collector_id);
1835 _In_ sai_object_id_t tam_collector_id,
1836 _In_ uint32_t attr_count,
1848 _In_ sai_object_id_t tam_collector_id,
1969 _Out_ sai_object_id_t *tam_event_action_id,
1970 _In_ sai_object_id_t switch_id,
1971 _In_ uint32_t attr_count,
1982 _In_ sai_object_id_t tam_event_action_id);
1994 _In_ sai_object_id_t tam_event_action_id,
1995 _In_ uint32_t attr_count,
2007 _In_ sai_object_id_t tam_event_action_id,
2090 _Out_ sai_object_id_t *tam_event_id,
2091 _In_ sai_object_id_t switch_id,
2092 _In_ uint32_t attr_count,
2103 _In_ sai_object_id_t tam_event_id);
2115 _In_ sai_object_id_t tam_event_id,
2116 _In_ uint32_t attr_count,
2128 _In_ sai_object_id_t tam_event_id,
2202 _Out_ sai_object_id_t *tam_counter_subscription_id,
2203 _In_ sai_object_id_t switch_id,
2204 _In_ uint32_t attr_count,
2215 _In_ sai_object_id_t tam_counter_subscription_id);
2226 _In_ sai_object_id_t tam_counter_subscription_id,
2239 _In_ sai_object_id_t tam_counter_subscription_id,
2240 _In_ uint32_t attr_count,
2258 _In_ sai_object_id_t tam_event_id,
2259 _In_ sai_size_t buffer_size,
2260 _In_
const void *buffer,
2261 _In_ uint32_t attr_count,
2276 _In_ sai_object_id_t switch_id,
2278 _In_
bool clear_on_read,
2279 _Inout_ sai_size_t *buffer_size,
2280 _Out_
void *buffer);
sai_status_t(* sai_create_tam_math_func_fn)(_Out_ sai_object_id_t *tam_math_func_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a math function object.
sai_status_t(* sai_set_tam_report_attribute_fn)(_In_ sai_object_id_t tam_report_id, _In_ const sai_attribute_t *attr)
Set value for a specified report object attribute.
_sai_tam_tel_math_func_type_t
TAM Telemetry Math Function types.
_sai_tam_transport_type_t
Transport Types.
enum _sai_tam_report_interval_unit_t sai_tam_report_interval_unit_t
TAM report interval units.
enum _sai_tam_tel_math_func_type_t sai_tam_tel_math_func_type_t
TAM Telemetry Math Function types.
enum _sai_tam_counter_subscription_attr_t sai_tam_counter_subscription_attr_t
Counter Subscription attributes.
sai_status_t(* sai_get_tam_event_attribute_fn)(_In_ sai_object_id_t tam_event_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified event object attributes.
sai_status_t(* sai_create_tam_event_action_fn)(_Out_ sai_object_id_t *tam_event_action_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a event action object id.
sai_status_t(* sai_set_tam_event_threshold_attribute_fn)(_In_ sai_object_id_t tam_event_threshold_id, _In_ const sai_attribute_t *attr)
Set value for a specified threshold object attribute.
_sai_tam_telemetry_type_t
TAM telemetry types supported.
_sai_tam_event_type_t
Enum defining event types.
enum _sai_tam_event_threshold_attr_t sai_tam_event_threshold_attr_t
Event Threshold Attributes.
enum _sai_tam_event_action_attr_t sai_tam_event_action_attr_t
Enum defining event types.
sai_status_t(* sai_get_tam_collector_attribute_fn)(_In_ sai_object_id_t tam_collector_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified collector object attributes.
sai_status_t(* sai_create_tam_fn)(_Out_ sai_object_id_t *tam_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a TAM object.
enum _sai_tam_event_attr_t sai_tam_event_attr_t
Tam event attributes.
_sai_tam_event_attr_t
Tam event attributes.
enum _sai_tam_event_type_t sai_tam_event_type_t
Enum defining event types.
enum _sai_tam_attr_t sai_tam_attr_t
TAM Attributes.
sai_status_t(* sai_set_tam_tel_type_attribute_fn)(_In_ sai_object_id_t tam_tel_type_id, _In_ const sai_attribute_t *attr)
Set value for a specified telemetry type object attribute.
enum _sai_tam_event_threshold_unit_t sai_tam_event_threshold_unit_t
TAM event threshold unit.
sai_status_t(* sai_get_tam_event_action_attribute_fn)(_In_ sai_object_id_t tam_event_action_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified event object attributes.
_sai_tam_event_threshold_attr_t
Event Threshold Attributes.
sai_status_t(* sai_set_tam_math_func_attribute_fn)(_In_ sai_object_id_t tam_math_func_id, _In_ const sai_attribute_t *attr)
Set value for specified Math function attribute.
sai_status_t(* sai_get_tam_event_threshold_attribute_fn)(_In_ sai_object_id_t tam_event_threshold_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified threshold object attributes.
_sai_tam_int_attr_t
Attributes for TAM INT.
sai_status_t(* sai_set_tam_int_attribute_fn)(_In_ sai_object_id_t tam_int_id, _In_ const sai_attribute_t *attr)
Set value for a specified INT object attribute.
_sai_tam_transport_auth_type_t
Transport Authentication Types.
sai_status_t(* sai_get_tam_telemetry_attribute_fn)(_In_ sai_object_id_t tam_telemetry_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified telemetry object attributes.
enum _sai_tam_transport_type_t sai_tam_transport_type_t
Transport Types.
_sai_tam_attr_t
TAM Attributes.
sai_status_t(* sai_get_tam_tel_type_attribute_fn)(_In_ sai_object_id_t tam_tel_type_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified telemetry type object attributes.
enum _sai_tam_collector_attr_t sai_tam_collector_attr_t
TAM collector attributes.
enum _sai_tam_transport_attr_t sai_tam_transport_attr_t
Transport object Attributes.
sai_status_t(* sai_set_tam_collector_attribute_fn)(_In_ sai_object_id_t tam_collector_id, _In_ const sai_attribute_t *attr)
Set value for a specified collector object attribute.
sai_status_t(* sai_get_tam_report_attribute_fn)(_In_ sai_object_id_t tam_report_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified report object attributes.
enum _sai_tam_math_func_attr_t sai_tam_math_func_attr_t
Attributes for Math function.
sai_status_t(* sai_get_tam_int_attribute_fn)(_In_ sai_object_id_t tam_int_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified INT object attributes.
sai_status_t(* sai_get_tam_attribute_fn)(_In_ sai_object_id_t tam_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified TAM attributes.
_sai_tam_tel_type_attr_t
Telemetry type attributes.
sai_status_t(* sai_create_tam_counter_subscription_fn)(_Out_ sai_object_id_t *tam_counter_subscription_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create a counter subscription.
_sai_tam_event_threshold_unit_t
TAM event threshold unit.
sai_status_t(* sai_set_tam_event_action_attribute_fn)(_In_ sai_object_id_t tam_event_action_id, _In_ const sai_attribute_t *attr)
Set value for a specified event object attribute.
sai_status_t(* sai_set_tam_attribute_fn)(_In_ sai_object_id_t tam_id, _In_ const sai_attribute_t *attr)
Set TAM attribute value(s).
struct _sai_tam_api_t sai_tam_api_t
SAI TAM API set.
_sai_tam_transport_attr_t
Transport object Attributes.
enum _sai_tam_int_attr_t sai_tam_int_attr_t
Attributes for TAM INT.
sai_status_t(* sai_get_tam_math_func_attribute_fn)(_In_ sai_object_id_t tam_math_func_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified Math function attributes.
_sai_tam_collector_attr_t
TAM collector attributes.
enum _sai_tam_transport_auth_type_t sai_tam_transport_auth_type_t
Transport Authentication Types.
sai_status_t(* sai_remove_tam_report_fn)(_In_ sai_object_id_t tam_report_id)
Deletes a specified report object.
sai_status_t(* sai_create_tam_int_fn)(_Out_ sai_object_id_t *tam_int_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a INT type object.
_sai_tam_int_type_t
TAM INT types.
enum _sai_tam_report_attr_t sai_tam_report_attr_t
Attributes for TAM report.
sai_status_t(* sai_remove_tam_event_action_fn)(_In_ sai_object_id_t tam_event_action_id)
Deletes a specified event object.
_sai_tam_report_type_t
TAM report types.
_sai_tam_reporting_unit_t
TAM reporting unit.
sai_status_t(* sai_create_tam_event_fn)(_Out_ sai_object_id_t *tam_event_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a event object id.
sai_status_t(* sai_remove_tam_fn)(_In_ sai_object_id_t tam_id)
Deletes a specified tam object.
enum _sai_tam_telemetry_attr_t sai_tam_telemetry_attr_t
TAM telemetry attributes.
_sai_tam_report_mode_t
Enum defining reporting modes.
sai_status_t sai_tam_telemetry_get_data(_In_ sai_object_id_t switch_id, _In_ sai_object_list_t obj_list, _In_ bool clear_on_read, _Inout_ sai_size_t *buffer_size, _Out_ void *buffer)
TAM telemetry data get API.
sai_status_t(* sai_get_tam_transport_attribute_fn)(_In_ sai_object_id_t tam_transport_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified transport object attributes.
enum _sai_tam_report_type_t sai_tam_report_type_t
TAM report types.
_sai_tam_counter_subscription_attr_t
Counter Subscription attributes.
sai_status_t(* sai_create_tam_tel_type_fn)(_Out_ sai_object_id_t *tam_tel_type_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a telemetry type object.
_sai_tam_int_presence_type_t
Type of indication of INT presence in a packet.
sai_status_t(* sai_set_tam_event_attribute_fn)(_In_ sai_object_id_t tam_event_id, _In_ const sai_attribute_t *attr)
Set value for a specified event object attribute.
sai_status_t(* sai_remove_tam_telemetry_fn)(_In_ sai_object_id_t tam_telemetry_id)
Deletes a specified telemetry object.
sai_status_t(* sai_create_tam_transport_fn)(_Out_ sai_object_id_t *tam_transport_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a transport object id.
_sai_tam_telemetry_attr_t
TAM telemetry attributes.
sai_status_t(* sai_create_tam_report_fn)(_Out_ sai_object_id_t *tam_report_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a report object id.
sai_status_t(* sai_create_tam_collector_fn)(_Out_ sai_object_id_t *tam_collector_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a collector object id.
sai_status_t(* sai_set_tam_counter_subscription_attribute_fn)(_In_ sai_object_id_t tam_counter_subscription_id, _In_ const sai_attribute_t *attr)
Set value for a specified counter subscription object attribute.
sai_status_t(* sai_remove_tam_event_fn)(_In_ sai_object_id_t tam_event_id)
Deletes a specified event object.
_sai_tam_event_action_attr_t
Enum defining event types.
_sai_tam_report_interval_unit_t
TAM report interval units.
sai_status_t(* sai_remove_tam_collector_fn)(_In_ sai_object_id_t tam_collector_id)
Deletes a specified collector object.
sai_status_t(* sai_remove_tam_transport_fn)(_In_ sai_object_id_t tam_transport_id)
Deletes a specified transport object.
enum _sai_tam_telemetry_type_t sai_tam_telemetry_type_t
TAM telemetry types supported.
enum _sai_tam_report_mode_t sai_tam_report_mode_t
Enum defining reporting modes.
sai_status_t(* sai_remove_tam_counter_subscription_fn)(_In_ sai_object_id_t tam_counter_subscription_id)
Delete a specified counter subscription.
enum _sai_tam_reporting_unit_t sai_tam_reporting_unit_t
TAM reporting unit.
sai_status_t(* sai_remove_tam_math_func_fn)(_In_ sai_object_id_t tam_math_func_id)
Deletes a specified Match function object.
enum _sai_tam_tel_type_attr_t sai_tam_tel_type_attr_t
Telemetry type attributes.
sai_status_t(* sai_remove_tam_tel_type_fn)(_In_ sai_object_id_t tam_tel_type_id)
Deletes a specified telemetry type object.
sai_status_t(* sai_remove_tam_event_threshold_fn)(_In_ sai_object_id_t tam_event_threshold_id)
Deletes a specified threshold object.
sai_status_t(* sai_set_tam_telemetry_attribute_fn)(_In_ sai_object_id_t tam_telemetry_id, _In_ const sai_attribute_t *attr)
Set value for a specified telemetry object attribute.
enum _sai_tam_int_presence_type_t sai_tam_int_presence_type_t
Type of indication of INT presence in a packet.
sai_status_t(* sai_create_tam_telemetry_fn)(_Out_ sai_object_id_t *tam_telemetry_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a telemetry object.
sai_status_t(* sai_set_tam_transport_attribute_fn)(_In_ sai_object_id_t tam_transport_id, _In_ const sai_attribute_t *attr)
Set value for a specified transport object attribute.
_sai_tam_report_attr_t
Attributes for TAM report.
void(* sai_tam_event_notification_fn)(_In_ sai_object_id_t tam_event_id, _In_ sai_size_t buffer_size, _In_ const void *buffer, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
TAM event callback.
sai_status_t(* sai_get_tam_counter_subscription_attribute_fn)(_In_ sai_object_id_t tam_counter_subscription_id, _In_ uint32_t attr_count, _Inout_ sai_attribute_t *attr_list)
Get values for specified event object attributes.
sai_status_t(* sai_remove_tam_int_fn)(_In_ sai_object_id_t tam_int_id)
Deletes a specified INT object.
enum _sai_tam_int_type_t sai_tam_int_type_t
TAM INT types.
sai_status_t(* sai_create_tam_event_threshold_fn)(_Out_ sai_object_id_t *tam_event_threshold_id, _In_ sai_object_id_t switch_id, _In_ uint32_t attr_count, _In_ const sai_attribute_t *attr_list)
Create and return a threshold object.
_sai_tam_math_func_attr_t
Attributes for Math function.
@ SAI_TAM_TEL_MATH_FUNC_TYPE_RATE
@ SAI_TAM_TEL_MATH_FUNC_TYPE_NONE
@ SAI_TAM_TEL_MATH_FUNC_TYPE_ALGEBRAIC_MEAN
@ SAI_TAM_TEL_MATH_FUNC_TYPE_MODE
@ SAI_TAM_TEL_MATH_FUNC_TYPE_GEO_MEAN
@ SAI_TAM_TEL_MATH_FUNC_TYPE_AVERAGE
@ SAI_TAM_TRANSPORT_TYPE_TCP
Transport TCP.
@ SAI_TAM_TRANSPORT_TYPE_UDP
Transport UDP.
@ SAI_TAM_TRANSPORT_TYPE_MIRROR
Transport MIRROR session.
@ SAI_TAM_TRANSPORT_TYPE_NONE
Transport None This is usually used for local host.
@ SAI_TAM_TRANSPORT_TYPE_GRPC
Transport GRPC.
@ SAI_TAM_TELEMETRY_TYPE_FABRIC
Fabric TAM All the data relevant to switch fabric.
@ SAI_TAM_TELEMETRY_TYPE_NE
Networking element TAM All the data relevant to networking element e.g. thermal, optics,...
@ SAI_TAM_TELEMETRY_TYPE_SWITCH
Switch silicon TAM All the data relevant to switch e.g. route, port, queue statistics.
@ SAI_TAM_TELEMETRY_TYPE_FLOW
Flow TAM All the data relevant to a given flow.
@ SAI_TAM_TELEMETRY_TYPE_COUNTER_SUBSCRIPTION
Data based on counter subscriptions.
@ SAI_TAM_TELEMETRY_TYPE_INT
INT TAM All the data relevant on a per packet basis.
@ SAI_TAM_EVENT_TYPE_QUEUE_THRESHOLD
Queue depth or latency threshold event Queue occupancy threshold.
@ SAI_TAM_EVENT_TYPE_FLOW_WATCHLIST
Watchlist event Instead of a single flow, a group flows can be monitored.
@ SAI_TAM_EVENT_TYPE_IPG_SHARED
Ingress priority group shared occupancy threshold event.
@ SAI_TAM_EVENT_TYPE_RESOURCE_UTILIZATION
Switch resource utilization threshold event Any resource utilization when exceeds a threshold For exa...
@ SAI_TAM_EVENT_TYPE_FLOW_STATE
New flow or flow state change event This event is used to monitoring the state of flow A flow can be ...
@ SAI_TAM_EVENT_TYPE_IPG_XOFF_ROOM
Ingress priority group XOFF room threshold event.
@ SAI_TAM_EVENT_TYPE_PACKET_DROP
Packet drop event Simple drop of packets for any reason.
@ SAI_TAM_EVENT_TYPE_QUEUE_TAIL_DROP
Queue tail drop event Number of packets dropped as tail drops because the queue is full.
@ SAI_TAM_EVENT_TYPE_FLOW_TCPFLAG
Flow TCP FLAGS event All TCP Flags are monitored for change.
@ SAI_TAM_EVENT_TYPE_BSP
Buffer service pool threshold event.
@ SAI_TAM_EVENT_ATTR_TYPE
Tam event type.
@ SAI_TAM_EVENT_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_EVENT_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_EVENT_ATTR_ACTION_LIST
Event action.
@ SAI_TAM_EVENT_ATTR_DSCP_VALUE
DSCP value.
@ SAI_TAM_EVENT_ATTR_THRESHOLD
Tam event threshold attr Object.
@ SAI_TAM_EVENT_ATTR_START
Start of Attributes.
@ SAI_TAM_EVENT_ATTR_END
End of Attributes.
@ SAI_TAM_EVENT_ATTR_COLLECTOR_LIST
Collector object list.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_RATE
Rate for specified event type.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_LATENCY
Latency in nanoseconds.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_START
Start of Attributes.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_EVENT_THRESHOLD_ATTR_UNIT
Tam event threshold unit.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_EVENT_THRESHOLD_ATTR_ABS_VALUE
Abs Value for specified Event.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_LOW_WATERMARK
Low Water Mark.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_HIGH_WATERMARK
High water mark.
@ SAI_TAM_EVENT_THRESHOLD_ATTR_END
End of Attributes.
@ SAI_TAM_INT_ATTR_INLINE
Inline or Clone mode Inline mode will insert header and metadata in live packet Clone mode will inser...
@ SAI_TAM_INT_ATTR_INT_PRESENCE_TYPE
Type of indication of INT presence in a packet.
@ SAI_TAM_INT_ATTR_TYPE
Type of INT method.
@ SAI_TAM_INT_ATTR_NAME_SPACE_ID
Metadata name space ID name space id defines the applicable format of metadata header.
@ SAI_TAM_INT_ATTR_METADATA_FRAGMENT_ENABLE
Enable metadata fragmentation.
@ SAI_TAM_INT_ATTR_INT_PRESENCE_PB1
First 4 octets of Probe Marker value that indicates INT presence.
@ SAI_TAM_INT_ATTR_MATH_FUNC
Math function attached.
@ SAI_TAM_INT_ATTR_REPORT_ID
Tam report type.
@ SAI_TAM_INT_ATTR_INT_PRESENCE_PB2
Second 4 octets of Probe Marker value that indicates INT presence.
@ SAI_TAM_INT_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_INT_ATTR_MAX_HOP_COUNT
Maximum number of hops allowed in the path.
@ SAI_TAM_INT_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_INT_ATTR_LATENCY_SENSITIVITY
Latency sensitivity for flow state change detection in units of 2^n nanoseconds.
@ SAI_TAM_INT_ATTR_NAME_SPACE_ID_GLOBAL
Metadata name space ID scope name space id scope is global or local.
@ SAI_TAM_INT_ATTR_FLOW_LIVENESS_PERIOD
TAM INT flow liveliness period in seconds.
@ SAI_TAM_INT_ATTR_INT_PRESENCE_DSCP_VALUE
DSCP value that indicates presence of INT in a packet.
@ SAI_TAM_INT_ATTR_MAX_LENGTH
Maximum length of metadata stack, in units of 4 octet words.
@ SAI_TAM_INT_ATTR_IOAM_TRACE_TYPE
IOAM trace type.
@ SAI_TAM_INT_ATTR_DEVICE_ID
Device Identifier.
@ SAI_TAM_INT_ATTR_END
End of Attributes.
@ SAI_TAM_INT_ATTR_ACL_GROUP
INT bind point for ACL object.
@ SAI_TAM_INT_ATTR_INT_PRESENCE_L3_PROTOCOL
L3 protocol value that indicates presence of INT in a packet.
@ SAI_TAM_INT_ATTR_ACTION_VECTOR
Action vector value action vector is used to specified the actions of interest on metadata header val...
@ SAI_TAM_INT_ATTR_INGRESS_SAMPLEPACKET_ENABLE
Enable/Disable Samplepacket session.
@ SAI_TAM_INT_ATTR_TRACE_VECTOR
Trace vector value trace vector is used to specified the fields of interest in metadata header.
@ SAI_TAM_INT_ATTR_METADATA_CHECKSUM_ENABLE
Enable checksum.
@ SAI_TAM_INT_ATTR_START
Start of Attributes.
@ SAI_TAM_INT_ATTR_REPORT_ALL_PACKETS
TAM INT should report all packets without filtering.
@ SAI_TAM_INT_ATTR_P4_INT_INSTRUCTION_BITMAP
P4 INT instruction bitmap.
@ SAI_TAM_INT_ATTR_COLLECTOR_LIST
Collector object list.
@ SAI_TAM_TRANSPORT_AUTH_TYPE_TLS
Authenticate using TLS.
@ SAI_TAM_TRANSPORT_AUTH_TYPE_SSL
Authenticate using SSL.
@ SAI_TAM_TRANSPORT_AUTH_TYPE_NONE
No Authentication.
@ SAI_TAM_ATTR_INT_OBJECTS_LIST
Tam INT objects associated with this tam.
@ SAI_TAM_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_ATTR_TAM_BIND_POINT_TYPE_LIST
List of TAM bind points where this object will be applied.
@ SAI_TAM_ATTR_END
End of Attributes.
@ SAI_TAM_ATTR_START
Start of Attributes.
@ SAI_TAM_ATTR_EVENT_OBJECTS_LIST
Tam event objects associated with this tam.
@ SAI_TAM_ATTR_TELEMETRY_OBJECTS_LIST
Tam telemetry objects associated with this tam.
@ SAI_TAM_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_TEL_TYPE_ATTR_NE_ENABLE
NE - Collect information of networking element.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_VIRTUAL_QUEUE_STATS
Switch - Collect virtual queue stats.
@ SAI_TAM_TEL_TYPE_ATTR_REPORT_ID
Tam report type.
@ SAI_TAM_TEL_TYPE_ATTR_END
End of Attributes.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_RESOURCE_UTILIZATION_STATS
Switch - Collect Resource utilization stats.
@ SAI_TAM_TEL_TYPE_ATTR_FABRIC_Q
Fabric - Collect Queue information.
@ SAI_TAM_TEL_TYPE_ATTR_COUNTER_SUBSCRIPTION_LIST
List of Tam counter subscription objects.
@ SAI_TAM_TEL_TYPE_ATTR_MATH_FUNC
Math function attached.
@ SAI_TAM_TEL_TYPE_ATTR_START
Start of Attributes.
@ SAI_TAM_TEL_TYPE_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_MMU_STATS
Switch - Collect MMU stats.
@ SAI_TAM_TEL_TYPE_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_PORT_STATS_EGRESS
Switch - Collect Port stats egress.
@ SAI_TAM_TEL_TYPE_ATTR_TAM_TELEMETRY_TYPE
Telemetry type.
@ SAI_TAM_TEL_TYPE_ATTR_INT_SWITCH_IDENTIFIER
INT - Switch Identifier.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_FABRIC_STATS
Switch - Collect fabric stats.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_PORT_STATS_INGRESS
Switch - Collect Port stats ingress.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_PORT_STATS
Switch - Collect Port stats.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_OUTPUT_QUEUE_STATS
Switch - Collect output queue stats.
@ SAI_TAM_TEL_TYPE_ATTR_SWITCH_ENABLE_FILTER_STATS
Switch - Collect filter stats.
@ SAI_TAM_TEL_TYPE_ATTR_DSCP_VALUE
DSCP value.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_MSEC
Event threshold unit millisecond.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_NANOSEC
Event threshold unit nanosecond.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_USEC
Event threshold unit micro second.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_BYTES
Event threshold unit byte count.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_CELLS
Event threshold unit cells.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_PACKETS
Event threshold unit packet count.
@ SAI_TAM_EVENT_THRESHOLD_UNIT_PERCENT
Event threshold unit percent.
@ SAI_TAM_TRANSPORT_ATTR_TRANSPORT_TYPE
Transport type.
@ SAI_TAM_TRANSPORT_ATTR_TRANSPORT_AUTH_TYPE
Transport authentication.
@ SAI_TAM_TRANSPORT_ATTR_START
Start of Attributes.
@ SAI_TAM_TRANSPORT_ATTR_MTU
Transport MTU size Driver must ensure the size of packet do not exceed MTU size.
@ SAI_TAM_TRANSPORT_ATTR_DST_PORT
Transport dst port.
@ SAI_TAM_TRANSPORT_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_TRANSPORT_ATTR_END
End of Attributes.
@ SAI_TAM_TRANSPORT_ATTR_SRC_PORT
Transport src port Value of -1 can be used a hint to compute ephemeral or entropy value.
@ SAI_TAM_TRANSPORT_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_COLLECTOR_ATTR_SRC_IP
Source IP address.
@ SAI_TAM_COLLECTOR_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_COLLECTOR_ATTR_TRUNCATE_SIZE
Telemetry report truncate size.
@ SAI_TAM_COLLECTOR_ATTR_TRANSPORT
Transport attributes object.
@ SAI_TAM_COLLECTOR_ATTR_END
End of Attributes.
@ SAI_TAM_COLLECTOR_ATTR_DST_IP
Destination IP addresses.
@ SAI_TAM_COLLECTOR_ATTR_LOCALHOST
Destination local CPU.
@ SAI_TAM_COLLECTOR_ATTR_START
Start of Attributes.
@ SAI_TAM_COLLECTOR_ATTR_VIRTUAL_ROUTER_ID
Virtual router ID.
@ SAI_TAM_COLLECTOR_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_COLLECTOR_ATTR_DSCP_VALUE
DSCP value.
@ SAI_TAM_INT_TYPE_IFA1
INT type IFA1.
@ SAI_TAM_INT_TYPE_IFA2
INT type IFA2.
@ SAI_TAM_INT_TYPE_IFA1_TAILSTAMP
Telemetry data at the end of the packet.
@ SAI_TAM_INT_TYPE_PATH_TRACING
INT type Path Tracing.
@ SAI_TAM_INT_TYPE_IOAM
INT type IOAM.
@ SAI_TAM_INT_TYPE_P4_INT_1
INT type P4 INT v1.
@ SAI_TAM_INT_TYPE_P4_INT_2
INT type P4 INT v2.
@ SAI_TAM_INT_TYPE_DIRECT_EXPORT
Direct Export (aka postcard)
@ SAI_TAM_REPORT_TYPE_THRIFT
Report using THRIFT.
@ SAI_TAM_REPORT_TYPE_PROTO
Report using GPB.
@ SAI_TAM_REPORT_TYPE_HISTOGRAM
Report using Histogram.
@ SAI_TAM_REPORT_TYPE_P4_EXTN
Report using P4 format.
@ SAI_TAM_REPORT_TYPE_JSON
Report using JSON.
@ SAI_TAM_REPORT_TYPE_SFLOW
Report using SFLOW.
@ SAI_TAM_REPORT_TYPE_IPFIX
Report using IPFIX.
@ SAI_TAM_REPORT_TYPE_VENDOR_EXTN
Report using vendor extensions.
@ SAI_TAM_REPORTING_UNIT_DAY
Report unit day.
@ SAI_TAM_REPORTING_UNIT_MINUTE
Report unit minute.
@ SAI_TAM_REPORTING_UNIT_SEC
Report Unit second.
@ SAI_TAM_REPORTING_UNIT_HOUR
Report unit hour.
@ SAI_TAM_REPORT_MODE_BULK
@ SAI_TAM_REPORT_MODE_ALL
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_START
Start of Attributes.
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_LABEL
Telemetry label.
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_STAT_ID
Subscribed stat enum.
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_END
End of Attributes.
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_TEL_TYPE
TAM telemetry type object.
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_COUNTER_SUBSCRIPTION_ATTR_OBJECT_ID
Subscribed object.
@ SAI_TAM_INT_PRESENCE_TYPE_PB
INT presence type probe marker.
@ SAI_TAM_INT_PRESENCE_TYPE_L3_PROTOCOL
INT presence type L3 protocol.
@ SAI_TAM_INT_PRESENCE_TYPE_UNDEFINED
Indication of INT presence in a packet is undefined.
@ SAI_TAM_INT_PRESENCE_TYPE_DSCP
INT presence type DSCP.
@ SAI_TAM_TELEMETRY_ATTR_REPORTING_INTERVAL
Tam event reporting interval.
@ SAI_TAM_TELEMETRY_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_TELEMETRY_ATTR_TAM_TYPE_LIST
TAM tel type object list.
@ SAI_TAM_TELEMETRY_ATTR_START
Start of Attributes.
@ SAI_TAM_TELEMETRY_ATTR_END
End of Attributes.
@ SAI_TAM_TELEMETRY_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_TELEMETRY_ATTR_TAM_REPORTING_UNIT
Tam telemetry reporting unit.
@ SAI_TAM_TELEMETRY_ATTR_COLLECTOR_LIST
Collector object list.
@ SAI_TAM_EVENT_ACTION_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_EVENT_ACTION_ATTR_END
End of Attributes.
@ SAI_TAM_EVENT_ACTION_ATTR_START
Start of Attributes.
@ SAI_TAM_EVENT_ACTION_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_EVENT_ACTION_ATTR_REPORT_TYPE
Report Object.
@ SAI_TAM_EVENT_ACTION_ATTR_QOS_ACTION_TYPE
QOS action Type Object.
@ SAI_TAM_REPORT_INTERVAL_UNIT_MSEC
Report interval unit millisecond.
@ SAI_TAM_REPORT_INTERVAL_UNIT_USEC
Report interval unit microsecond.
@ SAI_TAM_REPORT_INTERVAL_UNIT_NANOSEC
Report interval unit nanosecond.
@ SAI_TAM_REPORT_ATTR_REPORT_INTERVAL
Report Interval.
@ SAI_TAM_REPORT_ATTR_TYPE
Type of reporting method.
@ SAI_TAM_REPORT_ATTR_ENTERPRISE_NUMBER
Enterprise number.
@ SAI_TAM_REPORT_ATTR_REPORT_INTERVAL_UNIT
Report Interval Units.
@ SAI_TAM_REPORT_ATTR_HISTOGRAM_NUMBER_OF_BINS
Statistic for this histogram.
@ SAI_TAM_REPORT_ATTR_QUOTA
Maximum number of reports to generate after an event.
@ SAI_TAM_REPORT_ATTR_START
Start of Attributes.
@ SAI_TAM_REPORT_ATTR_HISTOGRAM_BIN_BOUNDARY
Histogram Bins Lower Boundaries.
@ SAI_TAM_REPORT_ATTR_TEMPLATE_REPORT_INTERVAL
Template report interval in minutes.
@ SAI_TAM_REPORT_ATTR_END
End of Attributes.
@ SAI_TAM_REPORT_ATTR_CUSTOM_RANGE_END
@ SAI_TAM_REPORT_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_REPORT_ATTR_REPORT_MODE
Report Mode.
@ SAI_TAM_MATH_FUNC_ATTR_CUSTOM_RANGE_START
@ SAI_TAM_MATH_FUNC_ATTR_END
End of Attributes.
@ SAI_TAM_MATH_FUNC_ATTR_TAM_TEL_MATH_FUNC_TYPE
Type of math function.
@ SAI_TAM_MATH_FUNC_ATTR_START
Start of Attributes.
@ SAI_TAM_MATH_FUNC_ATTR_CUSTOM_RANGE_END
This module defines SAI portable types.
Defines a list of SAI object ids used as SAI attribute value.
sai_create_tam_fn create_tam
SAI TAM v1 API set.