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=275c55ce0115c35e250746e7fb8d2e627e44d1f1;hpb=a8343688872d307ada1b4521721313a8ac3a3e5e;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 275c55ce0..2d68f7b03 100644 --- a/tests/transportpce_tests/hybrid/test01_device_change_notifications.py +++ b/tests/transportpce_tests/hybrid/test01_device_change_notifications.py @@ -40,36 +40,8 @@ class TransportPCEFulltesting(unittest.TestCase): "node-id": "XPDRA01", "service-format": "Ethernet", "clli": "SNJSCAMCJP8", - "tx-direction": { - "port": { - "port-device-name": "1/0/C1", - "port-type": "fixed", - "port-name": "1", - "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" - } - }, - "rx-direction": { - "port": { - "port-device-name": "1/0/C1", - "port-type": "fixed", - "port-name": "1", - "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" - } - }, + "tx-direction": [{"index": 0}], + "rx-direction": [{"index": 0}], "optic-type": "gray" }, "service-z-end": { @@ -77,36 +49,8 @@ class TransportPCEFulltesting(unittest.TestCase): "node-id": "XPDR-C1", "service-format": "Ethernet", "clli": "SNJSCAMCJT4", - "tx-direction": { - "port": { - "port-device-name": "1/0/C1", - "port-type": "fixed", - "port-name": "1", - "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" - } - }, - "rx-direction": { - "port": { - "port-device-name": "1/0/C1", - "port-type": "fixed", - "port-name": "1", - "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" - } - }, + "tx-direction": [{"index": 0}], + "rx-direction": [{"index": 0}], "optic-type": "gray" }, "due-date": "2016-11-28T00:00:01Z",