File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ const map<string, sai_switch_attr_t> switch_attribute_map =
26
26
{" ecmp_hash_seed" , SAI_SWITCH_ATTR_ECMP_DEFAULT_HASH_SEED},
27
27
{" lag_hash_seed" , SAI_SWITCH_ATTR_LAG_DEFAULT_HASH_SEED},
28
28
{" fdb_aging_time" , SAI_SWITCH_ATTR_FDB_AGING_TIME},
29
+ {" debug_shell_enable" , SAI_SWITCH_ATTR_SWITCH_SHELL_ENABLE},
29
30
{" vxlan_port" , SAI_SWITCH_ATTR_VXLAN_DEFAULT_PORT},
30
31
{" vxlan_router_mac" , SAI_SWITCH_ATTR_VXLAN_DEFAULT_ROUTER_MAC}
31
32
};
@@ -344,6 +345,10 @@ void SwitchOrch::doAppSwitchTableTask(Consumer &consumer)
344
345
attr.value .u32 = to_uint<uint32_t >(value);
345
346
break ;
346
347
348
+ case SAI_SWITCH_ATTR_SWITCH_SHELL_ENABLE:
349
+ attr.value .booldata = to_uint<bool >(value);
350
+ break ;
351
+
347
352
case SAI_SWITCH_ATTR_VXLAN_DEFAULT_PORT:
348
353
attr.value .u16 = to_uint<uint16_t >(value);
349
354
break ;
You can’t perform that action at this time.
0 commit comments