X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nbinotifications%2Fsrc%2Ftest%2Fresources%2Fexpected_event.json;h=ffeb3ee6591ba361220edcfe5777739b52bea0da;hb=HEAD;hp=47209dd7dc7b96c60378e63a8ec22c97cd4034f5;hpb=5e3f7dd89cb088ef4957f5559a82b8c6436afa17;p=transportpce.git diff --git a/nbinotifications/src/test/resources/expected_event.json b/nbinotifications/src/test/resources/expected_event.json index 47209dd7d..ffeb3ee65 100644 --- a/nbinotifications/src/test/resources/expected_event.json +++ b/nbinotifications/src/test/resources/expected_event.json @@ -1,104 +1,123 @@ { "nbi-notifications:notification-process-service": { - "common-id": "commond-id", - "message": "message", - "operational-state": "inService", + "connection-type": "service", "service-z-end": { - "node-id": "XPONDER-1-2", - "service-rate": 1, - "clli": "clli", - "is-split-lambda": false, - "service-format": "OC", "tx-direction": [ { "index": 0, + "lgx": { + "lgx-port-rack": "lgx port rack", + "lgx-device-name": "lgx device name", + "lgx-port-shelf": "lgx port shelf", + "lgx-port-name": "lgx port name" + }, "port": { - "port-name": "port name", - "port-slot": "port slot", + "port-type": "port type", "port-sub-slot": "port subslot", + "port-name": "port name", + "port-rack": "port rack", "port-device-name": "device name", - "port-shelf": "port shelf", - "port-type": "port type", - "port-rack": "port rack" - }, - "lgx": { - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-port-name": "lgx port name", - "lgx-device-name": "lgx device name" + "port-slot": "port slot", + "port-shelf": "port shelf" } } ], + "node-id": "XPONDER-1-2", + "service-format": "OC", + "service-rate": 1, "rx-direction": [ { "index": 0, + "lgx": { + "lgx-port-rack": "lgx port rack", + "lgx-device-name": "lgx device name", + "lgx-port-shelf": "lgx port shelf", + "lgx-port-name": "lgx port name" + }, "port": { - "port-name": "port name", - "port-slot": "port slot", + "port-type": "port type", "port-sub-slot": "port subslot", + "port-name": "port name", + "port-rack": "port rack", "port-device-name": "device name", - "port-shelf": "port shelf", - "port-type": "port type", - "port-rack": "port rack" - }, - "lgx": { - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-port-name": "lgx port name", - "lgx-device-name": "lgx device name" + "port-slot": "port slot", + "port-shelf": "port shelf" } } - ] + ], + "is-split-lambda": false, + "clli": "clli" }, - "service-name": "service1", - "connection-type": "service", + "message": "message", "service-a-end": { - "node-id": "XPONDER-1-2", - "service-rate": 1, - "clli": "clli", - "is-split-lambda": false, - "service-format": "OC", "tx-direction": [ { "index": 0, + "lgx": { + "lgx-port-rack": "lgx port rack", + "lgx-device-name": "lgx device name", + "lgx-port-shelf": "lgx port shelf", + "lgx-port-name": "lgx port name" + }, "port": { - "port-name": "port name", - "port-slot": "port slot", + "port-type": "port type", "port-sub-slot": "port subslot", + "port-name": "port name", + "port-rack": "port rack", "port-device-name": "device name", - "port-shelf": "port shelf", - "port-type": "port type", - "port-rack": "port rack" - }, - "lgx": { - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-port-name": "lgx port name", - "lgx-device-name": "lgx device name" + "port-slot": "port slot", + "port-shelf": "port shelf" } } ], + "node-id": "XPONDER-1-2", + "service-format": "OC", + "service-rate": 1, "rx-direction": [ { "index": 0, + "lgx": { + "lgx-port-rack": "lgx port rack", + "lgx-device-name": "lgx device name", + "lgx-port-shelf": "lgx port shelf", + "lgx-port-name": "lgx port name" + }, "port": { - "port-name": "port name", - "port-slot": "port slot", + "port-type": "port type", "port-sub-slot": "port subslot", + "port-name": "port name", + "port-rack": "port rack", "port-device-name": "device name", - "port-shelf": "port shelf", - "port-type": "port type", - "port-rack": "port rack" - }, - "lgx": { - "lgx-port-shelf": "lgx port shelf", - "lgx-port-rack": "lgx port rack", - "lgx-port-name": "lgx port name", - "lgx-device-name": "lgx device name" + "port-slot": "port slot", + "port-shelf": "port shelf" } } - ] + ], + "is-split-lambda": false, + "clli": "clli" + }, + "operational-state": "inService", + "common-id": "commond-id", + "response-failed": "", + "is-temp-service": true, + "service-name": "service1", + "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" }, - "response-failed": "" + "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" + } } -} +} \ No newline at end of file