self.assertEqual(response.status_code, requests.codes.ok)
res = response.json()
self.assertIn(
- {'supporting-port': '1', 'supporting-circuit-pack-name': '1/0/1-PLUG-NET',
+ {'supported-interface-capability': ['org-openroadm-port-types:if-OCH'],
+ '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['nodes'][0]['mapping'])
self.assertIn(
- {'supporting-port': 'C1',
+ {'supported-interface-capability': ['org-openroadm-port-types:if-100GE'],
+ '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['nodes'][0]['mapping'])
def test_05_service_path_create(self):