X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nbinotifications%2Fsrc%2Ftest%2Fresources%2Fevent.json;h=9f628332879ac0ae607c81293585eb1ae3cf733b;hb=HEAD;hp=63c7bec737db5f9b003c7c613560f2224d591f86;hpb=56ad6406faba3227e19a6f609325c8b9dbaca3fb;p=transportpce.git diff --git a/nbinotifications/src/test/resources/event.json b/nbinotifications/src/test/resources/event.json index 63c7bec73..9f6283328 100644 --- a/nbinotifications/src/test/resources/event.json +++ b/nbinotifications/src/test/resources/event.json @@ -1,12 +1,12 @@ { - "notification-service": { - "service-name": "service1", - "service-a-end": { + "notification-process-service": { + "service-z-end": { "service-format": "OC", "node-id": "XPONDER-1-2", "service-rate": 1, "clli": "clli", - "tx-direction": { + "tx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -21,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", @@ -38,18 +41,20 @@ "lgx-port-shelf": "lgx port shelf", "lgx-port-rack": "lgx port rack", "lgx-device-name": "lgx device name" - } - } + }, + "index": 0 + }] }, - "common-id": "commond-id", - "operational-state": "inService", "connection-type": "service", - "service-z-end": { + "operational-state": "inService", + "common-id": "commond-id", + "service-a-end": { "service-format": "OC", "node-id": "XPONDER-1-2", "service-rate": 1, "clli": "clli", - "tx-direction": { + "tx-direction": [ + { "port": { "port-slot": "port slot", "port-device-name": "device name", @@ -64,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", @@ -81,10 +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 + } } }