upgrade portmapping YANG to introduce OTN
[transportpce.git] / tests / transportpce_tests / 2.2.1 / test_portmapping.py
index 4b54cb284eae92ee4865c1305c0d3f27c66e71ad..b5a4e4738da13d6e3e4c4bc7e365db0e7503a697 100644 (file)
@@ -238,7 +238,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
         self.assertIn(
             {'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET',
              'logical-connection-point': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-network',
-             'port-direction': 'bidirectional', 'associated-lcp': 'XPDR1-CLIENT1'},
+             'port-direction': 'bidirectional', 'connection-map-lcp': 'XPDR1-CLIENT1'},
             res['mapping'])
 
     def test_12_xpdr_portmapping_NETWORK2(self):
@@ -253,7 +253,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
         self.assertIn(
             {'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/2-PLUG-NET',
              'logical-connection-point': 'XPDR1-NETWORK2', 'port-direction': 'bidirectional',
-             'associated-lcp': 'XPDR1-CLIENT2', 'port-qual': 'xpdr-network'},
+             'connection-map-lcp': 'XPDR1-CLIENT2', 'port-qual': 'xpdr-network'},
             res['mapping'])
 
     def test_13_xpdr_portmapping_CLIENT1(self):
@@ -269,7 +269,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
             {'supporting-port': 'C1',
              'supporting-circuit-pack-name': '1/0/1-PLUG-CLIENT',
              'logical-connection-point': 'XPDR1-CLIENT1', 'port-direction': 'bidirectional',
-             'associated-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client'},
+             'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client'},
             res['mapping'])
 
     def test_14_xpdr_portmapping_CLIENT2(self):
@@ -285,7 +285,7 @@ class TransportPCEPortMappingTesting(unittest.TestCase):
             {'supporting-port': 'C1',
                  'supporting-circuit-pack-name': '1/0/2-PLUG-CLIENT',
                  'logical-connection-point': 'XPDR1-CLIENT2', 'port-direction': 'bidirectional',
-                 'associated-lcp': 'XPDR1-NETWORK2', 'port-qual': 'xpdr-client'},
+                 'connection-map-lcp': 'XPDR1-NETWORK2', 'port-qual': 'xpdr-client'},
             res['mapping'])
 
     def test_15_xpdr_device_disconnected(self):