DG changes for the closed loop and async
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / oof-mdons.json
diff --git a/platform-logic/restapi-templates/src/main/json/oof-mdons.json b/platform-logic/restapi-templates/src/main/json/oof-mdons.json
new file mode 100644 (file)
index 0000000..17a8ec7
--- /dev/null
@@ -0,0 +1,30 @@
+{
+   "requestInfo":{
+      "transactionId": ${oof-transaction-id},
+      "requestId": ${oof-request-id},
+      "callbackUrl":"",
+      "sourceId":"SDNC",
+      "requestType":"create",
+      "numSolutions":1,
+      "optimizers":[
+         "route"
+      ],
+      "timeout":600
+   },
+   "routeInfo":{
+      "routeRequest":{
+         "srcDetails":{
+            "interfaceId": ${src-port-id},
+            "nodeId": ${src-node-id},
+            "controllerId": ${src-controller-id}
+         },
+         "dstDetails":{
+            "interfaceId": ${dst-port-id},
+            "nodeId": ${dst-node-id},
+            "controllerId":  ${dst-controller-id}
+         },
+         "serviceRate": ${service-rate}
+      }
+   }
+}
+