aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates/src/main/json')
-rw-r--r--platform-logic/restapi-templates/src/main/json/optical-service-create-tapi.json57
1 files changed, 57 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/optical-service-create-tapi.json b/platform-logic/restapi-templates/src/main/json/optical-service-create-tapi.json
new file mode 100644
index 00000000..610f5bd4
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/optical-service-create-tapi.json
@@ -0,0 +1,57 @@
+{
+ "create-connectivity-service-input-list":[
+ {
+ "end-point":[
+ {
+ "local-id": ${aend-local-id},
+ "layer-protocol-name":"ODU",
+ "connection-end-point":[
+ {
+ "connection-end-point-uuid":${aend-cep},
+ "node-edge-point-uuid": ${aend-nep},
+ "node-uuid": ${aend-node-uuid},
+ "topology-uuid":"otn"
+ }
+ ],
+ "service-interface-point":{
+ "service-interface-point-uuid": ${aend-cep}
+ },
+ "protection-role":"WORK"
+ },
+ {
+ "local-id": ${zend-local-id},
+ "layer-protocol-name":"ODU",
+ "connection-end-point":[
+ {
+ "connection-end-point-uuid":${zend-cep},
+ "node-edge-point-uuid": ${zend-nep},
+ "node-uuid": ${zend-node-uuid},
+ "topology-uuid":"otn"
+ }
+ ],
+ "service-interface-point":{
+ "service-interface-point-uuid": ${zend-cep}
+ },
+ "protection-role":"WORK"
+ }
+ ],
+ "layer-protocol-name":"ODU",
+ "connectivity-constraint":{
+ "service-type":"POINT_TO_POINT_CONNECTIVITY"
+ },
+ "routing-constraint":{
+ "route-objective-function":"MIN_WORK_ROUTE_COST"
+ },
+ "topology-constraint":[
+
+ ],
+ "name":[
+ {
+ "value-name":"service-name",
+ "value": ${service-name}
+ }
+ ]
+ }
+ ]
+}
+