We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c7e8b commit abfeef3Copy full SHA for abfeef3
saisdkdump/saisdkdump.cpp
@@ -131,10 +131,12 @@ int main(int argc, char **argv)
131
}
132
133
sai_object_id_t switch_id;
134
- const uint32_t AttributesCount = 1;
+ const uint32_t AttributesCount = 2;
135
sai_attribute_t attrs[AttributesCount];
136
attrs[0].id = SAI_SWITCH_ATTR_INIT_SWITCH;
137
attrs[0].value.booldata = false;
138
+ attrs[1].id = SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL;
139
+ attrs[1].value.booldata = false;
140
141
status = switch_api->create_switch(&switch_id, AttributesCount, attrs);
142
if (status != SAI_STATUS_SUCCESS)
0 commit comments