Code Review
/
transportpce.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Drop the service name from ODU connection name"
[transportpce.git]
/
tests
/
transportpce_tests
/
7.1
/
test02_otn_renderer.py
diff --git
a/tests/transportpce_tests/7.1/test02_otn_renderer.py
b/tests/transportpce_tests/7.1/test02_otn_renderer.py
index 7f3f042c891a1ce782625a8585dd2d25d5472909..b7510bc42e4e8d89879dae409540568b808a2cd9 100644
(file)
--- a/
tests/transportpce_tests/7.1/test02_otn_renderer.py
+++ b/
tests/transportpce_tests/7.1/test02_otn_renderer.py
@@
-86,7
+86,9
@@
class TransportPCE400GPortMappingTesting(unittest.TestCase):
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC2'],
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC2'],
- 'och-interface-id': ['XPDR2-NETWORK1-OTSIGROUP-200G']}, response['output']['node-interface'])
+ 'och-interface-id': ['XPDR2-NETWORK1-OTSIGROUP-200G',
+ 'XPDR2-NETWORK1-755:768']},
+ response['output']['node-interface'])
def test_03_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")
def test_03_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")
@@
-454,7
+456,9
@@
class TransportPCE400GPortMappingTesting(unittest.TestCase):
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC3'],
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC3'],
- 'och-interface-id': ['XPDR2-NETWORK1-OTSIGROUP-300G']}, response['output']['node-interface'])
+ 'och-interface-id': ['XPDR2-NETWORK1-755:768',
+ 'XPDR2-NETWORK1-OTSIGROUP-300G']},
+ response['output']['node-interface'])
def test_27_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")
def test_27_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")
@@
-674,7
+678,9
@@
class TransportPCE400GPortMappingTesting(unittest.TestCase):
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC4'],
self.assertIn(
{'node-id': 'XPDR-A2',
'otu-interface-id': ['XPDR2-NETWORK1-OTUC4'],
- 'och-interface-id': ['XPDR2-NETWORK1-OTSIGROUP-400G']}, response['output']['node-interface'])
+ 'och-interface-id': ['XPDR2-NETWORK1-755:768',
+ 'XPDR2-NETWORK1-OTSIGROUP-400G']},
+ response['output']['node-interface'])
def test_41_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")
def test_41_get_portmapping_network1(self):
response = test_utils_rfc8040.portmapping_request("XPDR-A2", "XPDR2-NETWORK1")