summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/optical-service-create-msa.json
blob: 73cf1120a1661c665dc70ee26c60a83bbe8fb280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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": "http://sdnc-oam.onap:8282/asyncNotification",
      "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"
}