Skip to content

Commit 74a0221

Browse files
committed
Rename table
1 parent a20ee65 commit 74a0221

File tree

2 files changed

+165
-165
lines changed

2 files changed

+165
-165
lines changed

config/main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def _clear_qos():
603603
'MAP_PFC_PRIORITY_TO_QUEUE',
604604
'TC_TO_QUEUE_MAP',
605605
'DSCP_TO_TC_MAP',
606-
'EXP_TO_TC_MAP',
606+
'MPLS_TC_TO_TC_MAP',
607607
'SCHEDULER',
608608
'PFC_PRIORITY_TO_PRIORITY_GROUP_MAP',
609609
'PORT_QOS_MAP',
@@ -4044,7 +4044,7 @@ def add(ctx, interface_name):
40444044
if interface_name is None:
40454045
ctx.fail("'interface_name' is None!")
40464046

4047-
table_name = get_interface_table_name(interface_name)
4047+
table_name = get_interface_table_name(interface_name)
40484048
if not clicommon.is_interface_in_config_db(config_db, interface_name):
40494049
ctx.fail('interface {} doesn`t exist'.format(interface_name))
40504050
if table_name == "":
@@ -4066,7 +4066,7 @@ def remove(ctx, interface_name):
40664066
if interface_name is None:
40674067
ctx.fail("'interface_name' is None!")
40684068

4069-
table_name = get_interface_table_name(interface_name)
4069+
table_name = get_interface_table_name(interface_name)
40704070
if not clicommon.is_interface_in_config_db(config_db, interface_name):
40714071
ctx.fail('interface {} doesn`t exist'.format(interface_name))
40724072
if table_name == "":

0 commit comments

Comments
 (0)