From a13a095212787bffc93c4dde248cb42ed5a807fc Mon Sep 17 00:00:00 2001 From: Gilles Thouenon Date: Sat, 7 May 2022 18:17:29 +0200 Subject: [PATCH] Fix failure in nbinotifications functional tests To take into acount pce bug corrections solved in change https://git.opendaylight.org/gerrit/c/transportpce/+/99459. JIRA: TRNSPRTPCE-579 Signed-off-by: Gilles Thouenon Change-Id: I57d7444c15d33faf23f168e163dde775bff73aa4 --- .../with_docker/test02_nbinotifications.py | 64 ++----------------- 1 file changed, 4 insertions(+), 60 deletions(-) diff --git a/tests/transportpce_tests/with_docker/test02_nbinotifications.py b/tests/transportpce_tests/with_docker/test02_nbinotifications.py index 8164f8403..65fed9954 100644 --- a/tests/transportpce_tests/with_docker/test02_nbinotifications.py +++ b/tests/transportpce_tests/with_docker/test02_nbinotifications.py @@ -41,36 +41,8 @@ class TransportNbiNotificationstesting(unittest.TestCase): "node-id": "XPDR-A1", "service-format": "Ethernet", "clli": "SNJSCAMCJP8", - "tx-direction": { - "port": { - "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00", - "port-type": "router", - "port-name": "Gigabit Ethernet_Tx.ge-5/0/0.0", - "port-rack": "000000.00", - "port-shelf": "00" - }, - "lgx": { - "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00", - "lgx-port-name": "LGX Back.3", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - } - }, - "rx-direction": { - "port": { - "port-device-name": "ROUTER_SNJSCAMCJP8_000000.00_00", - "port-type": "router", - "port-name": "Gigabit Ethernet_Rx.ge-5/0/0.0", - "port-rack": "000000.00", - "port-shelf": "00" - }, - "lgx": { - "lgx-device-name": "LGX Panel_SNJSCAMCJP8_000000.00_00", - "lgx-port-name": "LGX Back.4", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - } - }, + "tx-direction": {}, + "rx-direction": {}, "optic-type": "gray" }, "service-z-end": { @@ -78,36 +50,8 @@ class TransportNbiNotificationstesting(unittest.TestCase): "node-id": "XPDR-C1", "service-format": "Ethernet", "clli": "SNJSCAMCJT4", - "tx-direction": { - "port": { - "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00", - "port-type": "router", - "port-name": "Gigabit Ethernet_Tx.ge-1/0/0.0", - "port-rack": "000000.00", - "port-shelf": "00" - }, - "lgx": { - "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00", - "lgx-port-name": "LGX Back.29", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - } - }, - "rx-direction": { - "port": { - "port-device-name": "ROUTER_SNJSCAMCJT4_000000.00_00", - "port-type": "router", - "port-name": "Gigabit Ethernet_Rx.ge-1/0/0.0", - "port-rack": "000000.00", - "port-shelf": "00" - }, - "lgx": { - "lgx-device-name": "LGX Panel_SNJSCAMCJT4_000000.00_00", - "lgx-port-name": "LGX Back.30", - "lgx-port-rack": "000000.00", - "lgx-port-shelf": "00" - } - }, + "tx-direction": {}, + "rx-direction": {}, "optic-type": "gray" }, "due-date": "2016-11-28T00:00:01Z", -- 2.36.6