X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nbinotifications%2Fsrc%2Ftest%2Fresources%2Fevent.json;h=9f628332879ac0ae607c81293585eb1ae3cf733b;hb=HEAD;hp=2c3106880388b3618dcb5a80b12e66a9cd947c44;hpb=32dca3cd3f1894f783980b982ea4aaf527a274e2;p=transportpce.git diff --git a/nbinotifications/src/test/resources/event.json b/nbinotifications/src/test/resources/event.json index 2c3106880..9f6283328 100644 --- a/nbinotifications/src/test/resources/event.json +++ b/nbinotifications/src/test/resources/event.json @@ -5,7 +5,8 @@ "node-id": "XPONDER-1-2", "service-rate": 1, "clli": "clli", - "tx-direction": { + "tx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -20,9 +21,12 @@ "lgx-port-shelf": "lgx port shelf", "lgx-port-rack": "lgx port rack", "lgx-device-name": "lgx device name" - } - }, - "rx-direction": { + }, + "index": 0 + } + ], + "rx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -37,8 +41,9 @@ "lgx-port-shelf": "lgx port shelf", "lgx-port-rack": "lgx port rack", "lgx-device-name": "lgx device name" - } - } + }, + "index": 0 + }] }, "connection-type": "service", "operational-state": "inService", @@ -48,7 +53,8 @@ "node-id": "XPONDER-1-2", "service-rate": 1, "clli": "clli", - "tx-direction": { + "tx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -63,9 +69,11 @@ "lgx-port-shelf": "lgx port shelf", "lgx-port-rack": "lgx port rack", "lgx-device-name": "lgx device name" - } - }, - "rx-direction": { + }, + "index": 0 + }], + "rx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -80,11 +88,31 @@ "lgx-port-shelf": "lgx port shelf", "lgx-port-rack": "lgx port rack", "lgx-device-name": "lgx device name" - } - } + }, + "index": 0 + }] }, "service-name": "service1", "message": "message", - "response-failed": "" + "response-failed": "", + "is-temp-service": true, + "aToZ": { + "frequency": 196.125, + "width": 87.5, + "optical-operational-mode": "test", + "rx-estimated-osnr": 23.5, + "rx-estimated-gsnr": 23.5, + "max-output-power": 0.5, + "min-output-power": 0.5 + }, + "zToA": { + "frequency": 196.125, + "width": 87.5, + "optical-operational-mode": "test", + "rx-estimated-osnr": 23.5, + "rx-estimated-gsnr": 23.5, + "max-output-power": 0.5, + "min-output-power": 0.5 + } } }