diff --git a/src/sonic-config-engine/tests/sample-graph-resource-type.xml b/src/sonic-config-engine/tests/sample-graph-resource-type.xml index 62c2dfd64f..987d243584 100644 --- a/src/sonic-config-engine/tests/sample-graph-resource-type.xml +++ b/src/sonic-config-engine/tests/sample-graph-resource-type.xml @@ -176,7 +176,7 @@ switch-t0 - PortChannel01 + PortChannel1 fortyGigE0/4 @@ -228,12 +228,12 @@ - PortChannel01 + PortChannel1 10.0.0.56/31 - PortChannel01 + PortChannel1 FC00::71/126 @@ -265,7 +265,7 @@ - PortChannel01 + PortChannel1 DataAcl DataPlane diff --git a/src/sonic-config-engine/tests/sample-graph-subintf.xml b/src/sonic-config-engine/tests/sample-graph-subintf.xml index a23b668c2c..7fa35c44cb 100644 --- a/src/sonic-config-engine/tests/sample-graph-subintf.xml +++ b/src/sonic-config-engine/tests/sample-graph-subintf.xml @@ -176,7 +176,7 @@ switch-t0 - PortChannel01 + PortChannel1 fortyGigE0/4 @@ -245,12 +245,12 @@ - PortChannel01 + PortChannel1 10.0.0.56/31 - PortChannel01 + PortChannel1 FC00::71/126 @@ -272,7 +272,7 @@ - PortChannel01 + PortChannel1 DataAcl DataPlane diff --git a/src/sonic-config-engine/tests/simple-sample-graph.xml b/src/sonic-config-engine/tests/simple-sample-graph.xml index 8d7800686c..c8cd3eacdc 100644 --- a/src/sonic-config-engine/tests/simple-sample-graph.xml +++ b/src/sonic-config-engine/tests/simple-sample-graph.xml @@ -176,7 +176,7 @@ switch-t0 - PortChannel01 + PortChannel1 fortyGigE0/4 @@ -228,12 +228,12 @@ - PortChannel01 + PortChannel1 10.0.0.56/31 - PortChannel01 + PortChannel1 FC00::71/126 @@ -265,7 +265,7 @@ - PortChannel01 + PortChannel1 DataAcl DataPlane diff --git a/src/sonic-config-engine/tests/test_cfggen.py b/src/sonic-config-engine/tests/test_cfggen.py index 29773dffc6..023f13c2f2 100644 --- a/src/sonic-config-engine/tests/test_cfggen.py +++ b/src/sonic-config-engine/tests/test_cfggen.py @@ -325,7 +325,7 @@ class TestCfgGen(TestCase): output = self.run_script(argument) self.assertEqual( utils.to_dict(output.strip()), - utils.to_dict("{'PortChannel01': {'admin_status': 'up', 'min_links': '1', 'members': ['Ethernet4'], 'mtu': '9100', 'tpid': '0x8100'}}") + utils.to_dict("{'PortChannel1': {'admin_status': 'up', 'min_links': '1', 'members': ['Ethernet4'], 'mtu': '9100', 'tpid': '0x8100'}}") ) def test_minigraph_portchannel_with_more_member(self): @@ -349,7 +349,7 @@ class TestCfgGen(TestCase): output = self.run_script(argument) self.assertEqual( utils.liststr_to_dict(output.strip()), - utils.liststr_to_dict("['PortChannel01', ('PortChannel01', '10.0.0.56/31'), ('PortChannel01', 'FC00::71/126')]") + utils.liststr_to_dict("['PortChannel1', ('PortChannel1', '10.0.0.56/31'), ('PortChannel1', 'FC00::71/126')]") ) def test_minigraph_neighbors(self): @@ -803,11 +803,11 @@ class TestCfgGen(TestCase): self.assertEqual( utils.to_dict(output.strip()), utils.to_dict( - "{('PortChannel01.10', '10.0.0.56/31'): {}, " + "{('PortChannel1.10', '10.0.0.56/31'): {}, " "'Ethernet0.10': {'admin_status': 'up'}, " "('Ethernet0.10', '10.0.0.58/31'): {}, " - "('PortChannel01.10', 'FC00::71/126'): {}, " - "'PortChannel01.10': {'admin_status': 'up'}, " + "('PortChannel1.10', 'FC00::71/126'): {}, " + "'PortChannel1.10': {'admin_status': 'up'}, " "('Ethernet0.10', 'FC00::75/126'): {}}" ) )