forked from Mellanox/SAI-P4-BM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsaistp.cpp
74 lines (62 loc) · 2.15 KB
/
saistp.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include "../inc/sai_adapter.h"
sai_status_t sai_adapter::create_stp(
_Out_ sai_object_id_t *stp_id,
_In_ sai_object_id_t switch_id,
_In_ uint32_t attr_count,
_In_ const sai_attribute_t *attr_list) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::remove_stp(
_In_ sai_object_id_t stp_id) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::set_stp_attribute(
_In_ sai_object_id_t stp_id,
_In_ const sai_attribute_t *attr) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::get_stp_attribute(
_In_ sai_object_id_t stp_id,
_In_ uint32_t attr_count,
_Inout_ sai_attribute_t *attr_list) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::create_stp_port(
_Out_ sai_object_id_t *stp_port_id,
_In_ sai_object_id_t switch_id,
_In_ uint32_t attr_count,
_In_ const sai_attribute_t *attr_list) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::remove_stp_port(
_In_ sai_object_id_t stp_port_id) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::set_stp_port_attribute(
_In_ sai_object_id_t stp_port_id,
_In_ const sai_attribute_t *attr) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::get_stp_port_attribute(
_In_ sai_object_id_t stp_port_id,
_In_ uint32_t attr_count,
_Inout_ sai_attribute_t *attr_list) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::create_stp_ports(
_In_ sai_object_id_t switch_id,
_In_ uint32_t object_count,
_In_ const uint32_t *attr_count,
_In_ const sai_attribute_t **attrs,
_In_ sai_bulk_op_type_t type,
_Out_ sai_object_id_t *object_id,
_Out_ sai_status_t *object_statuses) {
return SAI_STATUS_NOT_IMPLEMENTED;
}
sai_status_t sai_adapter::remove_stp_ports(
_In_ uint32_t object_count,
_In_ const sai_object_id_t *object_id,
_In_ sai_bulk_op_type_t type,
_Out_ sai_status_t *object_statuses) {
return SAI_STATUS_NOT_IMPLEMENTED;
}