X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Ftransportpce_tests%2Fhybrid%2Ftest01_device_change_notifications.py;h=2d68f7b0354fa71542c4eab789578a1889061e92;hb=refs%2Fchanges%2F46%2F100646%2F27;hp=9f735f86dfe57df8868486ab0a0359ba230a4a64;hpb=211dacfed540c8ddbf552c229c74b6054b185720;p=transportpce.git diff --git a/tests/transportpce_tests/hybrid/test01_device_change_notifications.py b/tests/transportpce_tests/hybrid/test01_device_change_notifications.py index 9f735f86d..2d68f7b03 100644 --- a/tests/transportpce_tests/hybrid/test01_device_change_notifications.py +++ b/tests/transportpce_tests/hybrid/test01_device_change_notifications.py @@ -40,34 +40,8 @@ class TransportPCEFulltesting(unittest.TestCase): "node-id": "XPDRA01", "service-format": "Ethernet", "clli": "SNJSCAMCJP8", - "tx-direction": [{ - "port": { - "port-type": "fixed", - "port-rack": "000000.00", - "port-shelf": "Chassis#1" - }, - "lgx": { - "lgx-device-name": "Some lgx-device-name", - "lgx-port-name": "Some lgx-port-name", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - }, - "index": 0 - }], - "rx-direction": [{ - "port": { - "port-type": "fixed", - "port-rack": "000000.00", - "port-shelf": "Chassis#1" - }, - "lgx": { - "lgx-device-name": "Some lgx-device-name", - "lgx-port-name": "Some lgx-port-name", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - }, - "index": 0 - }], + "tx-direction": [{"index": 0}], + "rx-direction": [{"index": 0}], "optic-type": "gray" }, "service-z-end": { @@ -75,34 +49,8 @@ class TransportPCEFulltesting(unittest.TestCase): "node-id": "XPDR-C1", "service-format": "Ethernet", "clli": "SNJSCAMCJT4", - "tx-direction": [{ - "port": { - "port-type": "fixed", - "port-rack": "000000.00", - "port-shelf": "Chassis#1" - }, - "lgx": { - "lgx-device-name": "Some lgx-device-name", - "lgx-port-name": "Some lgx-port-name", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - }, - "index": 0 - }], - "rx-direction": [{ - "port": { - "port-type": "fixed", - "port-rack": "000000.00", - "port-shelf": "Chassis#1" - }, - "lgx": { - "lgx-device-name": "Some lgx-device-name", - "lgx-port-name": "Some lgx-port-name", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - }, - "index": 0 - }], + "tx-direction": [{"index": 0}], + "rx-direction": [{"index": 0}], "optic-type": "gray" }, "due-date": "2016-11-28T00:00:01Z",