--- /dev/null
+{
+ "service-name": ${optical-service-create-input.payload.service-name},
+ "common-id": ${optical-service-create-input.service-id},
+ "connection-type":"service",
+ "sdnc-request-header":{
+ "request-id": ${optical-service-create-input.request-id},
+ "rpc-action":"service-create",
+ "notification-url": ${notification-url},
+ "request-system-id":"SDN-ONAP"
+ },
+ "service-a-end":{
+ "service-rate": ${optical-service-create-input.payload.service-rate},
+ "service-format": ${optical-service-create-input.payload.service-protocol},
+ "node-id": ${service-aend-nodeid},
+ "clli": ${aend-clli},
+ "optic-type":"gray",
+ "ethernet-encoding": ${optical-service-create-input.payload.coding-func},
+ ${mapping-mode-aend}: ${mapping-mode.value},
+ "tx-direction":{
+ "port":{
+ "port-device-name": "router-1",
+ "port-name": "R1"
+ }
+ },
+ "rx-direction":{
+ "port":{
+ "port-device-name": "router-1",
+ "port-name": "R1"
+
+ }
+ }
+ },
+ "service-z-end":{
+ "service-rate": ${optical-service-create-input.payload.service-rate},
+ "service-format": ${optical-service-create-input.payload.service-protocol},
+ "node-id": ${service-zend-nodeid},
+ "clli": ${zend-clli},
+ "optic-type":"gray",
+ "ethernet-encoding": ${optical-service-create-input.payload.coding-func},
+ ${mapping-mode-zend}: ${mapping-mode.value},
+ "tx-direction":{
+ "port":{
+ "port-device-name": "router-2",
+ "port-name": "R2"
+ }
+ },
+ "rx-direction":{
+ "port":{
+ "port-device-name": "router-2",
+ "port-name": "R2"
+ }
+ }
+ },
+ "service-layer": "otn"
+}
+