DG'S added for MDONS use case to handle cross domain
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / optical-service-create-tapi.json
1 {
2    "create-connectivity-service-input-list":[
3       {
4          "end-point":[
5             {
6                "local-id": ${aend-local-id},
7                "layer-protocol-name":"ODU",
8                "connection-end-point":[
9                   {
10                      "connection-end-point-uuid":${aend-cep},
11                      "node-edge-point-uuid": ${aend-nep},
12                      "node-uuid": ${aend-node-uuid},
13                      "topology-uuid":"otn"
14                   }
15                ],
16                "service-interface-point":{
17                   "service-interface-point-uuid": ${aend-cep}
18                },
19                "protection-role":"WORK"
20             },
21             {
22                "local-id": ${zend-local-id},
23                "layer-protocol-name":"ODU",
24                "connection-end-point":[
25                   {
26                      "connection-end-point-uuid":${zend-cep},
27                      "node-edge-point-uuid": ${zend-nep},
28                      "node-uuid": ${zend-node-uuid},
29                      "topology-uuid":"otn"
30                   }
31                ],
32                "service-interface-point":{
33                   "service-interface-point-uuid": ${zend-cep}
34                },
35                "protection-role":"WORK"
36             }
37          ],
38          "layer-protocol-name":"ODU",
39          "connectivity-constraint":{
40             "service-type":"POINT_TO_POINT_CONNECTIVITY"
41          },
42          "routing-constraint":{
43             "route-objective-function":"MIN_WORK_ROUTE_COST"
44          },
45          "topology-constraint":[
46
47          ],
48          "name":[
49             {
50                "value-name":"service-name",
51                "value": ${service-name}
52             }
53          ]
54       }
55    ]
56 }
57