X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Ftransportpce_tests%2F1.2.1%2Ftest01_portmapping.py;fp=tests%2Ftransportpce_tests%2F1.2.1%2Ftest01_portmapping.py;h=1f37d860d061b356da8fe1ca87bc9a26f95cb821;hb=2fc5888c2ab34c93317242a23e46b8d6c35c0292;hp=51446b76237cbea21bd6fd2ccac60f69bbb4ad83;hpb=89c8a037d0148269de15c9711fed0176dfa59635;p=transportpce.git diff --git a/tests/transportpce_tests/1.2.1/test01_portmapping.py b/tests/transportpce_tests/1.2.1/test01_portmapping.py index 51446b762..1f37d860d 100644 --- a/tests/transportpce_tests/1.2.1/test01_portmapping.py +++ b/tests/transportpce_tests/1.2.1/test01_portmapping.py @@ -125,7 +125,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): {'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET', 'logical-connection-point': 'XPDR1-NETWORK1', 'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-CLIENT1', 'port-qual': 'xpdr-network', - 'lcp-hash-val': 'OSvMgUyP+mE=', 'xponder-type': 'tpdr', + 'lcp-hash-val': 'OSvMgUyP+mE=', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, response['mapping']) @@ -136,7 +136,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): {'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/2-PLUG-NET', 'logical-connection-point': 'XPDR1-NETWORK2', 'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-CLIENT3', 'port-qual': 'xpdr-network', - 'lcp-hash-val': 'OSvMgUyP+mI=', 'xponder-type': 'tpdr', + 'lcp-hash-val': 'OSvMgUyP+mI=', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, response['mapping']) @@ -148,7 +148,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): 'supporting-circuit-pack-name': '1/0/C1-PLUG-CLIENT', 'logical-connection-point': 'XPDR1-CLIENT1', 'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client', - 'lcp-hash-val': 'AO9UFkY/TLYw', 'xponder-type': 'tpdr', + 'lcp-hash-val': 'AO9UFkY/TLYw', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, response['mapping']) @@ -160,7 +160,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): 'supporting-circuit-pack-name': '1/0/C2-PLUG-CLIENT', 'logical-connection-point': 'XPDR1-CLIENT2', 'port-direction': 'bidirectional', 'port-qual': 'xpdr-client', - 'lcp-hash-val': 'AO9UFkY/TLYz', 'xponder-type': 'tpdr', + 'lcp-hash-val': 'AO9UFkY/TLYz', 'xpdr-type': 'tpdr', 'port-admin-state': 'InService', 'port-oper-state': 'InService'}, response['mapping']) @@ -168,7 +168,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT3") self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn( - {'supporting-port': 'C3', 'xponder-type': 'tpdr', + {'supporting-port': 'C3', 'xpdr-type': 'tpdr', 'supporting-circuit-pack-name': '1/0/C3-PLUG-CLIENT', 'logical-connection-point': 'XPDR1-CLIENT3', 'connection-map-lcp': 'XPDR1-NETWORK2', 'port-direction': 'bidirectional', @@ -180,7 +180,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase): response = test_utils.get_portmapping_node_attr("XPDRA01", "mapping", "XPDR1-CLIENT4") self.assertEqual(response['status_code'], requests.codes.ok) self.assertIn( - {'supporting-port': 'C4', 'xponder-type': 'tpdr', + {'supporting-port': 'C4', 'xpdr-type': 'tpdr', 'supporting-circuit-pack-name': '1/0/C4-PLUG-CLIENT', 'logical-connection-point': 'XPDR1-CLIENT4', 'port-direction': 'bidirectional', 'port-qual': 'xpdr-client', 'lcp-hash-val': 'AO9UFkY/TLY1',