summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
authorMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-03-18 07:02:34 +0000
committerDan Timoney <dtimoney@att.com>2020-03-19 18:59:12 +0000
commitd8098b14321708131305902352f475e33d66a735 (patch)
treea1d51a52aa03c83b80fe864052c96837d0623ee3 /platform-logic/restapi-templates
parentc2b188bba04241aa208ad3ee972dc92d7058be85 (diff)
DG'S added for MDONS use case to handle cross domain
service creation Change-Id: Ibb50d9c82cc6f62c58c8e85b7f088d40c2a7e30d Issue-ID: SDNC-928 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com> (cherry picked from commit 30093496695c9131b270a4b41d19ec88e818e66c [formerly ee3ee6e27a76ef2c59da5961f0ec1572081aa0ad]) Former-commit-id: b8801dcde4291c89d4cf7e31662f4de631c6f9f2
Diffstat (limited to 'platform-logic/restapi-templates')
-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}
+ }
+ ]
+ }
+ ]
+}
+