aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json b/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
new file mode 100644
index 00000000..cd26b7e6
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
@@ -0,0 +1,56 @@
+{
+ "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"
+}
+