summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
authorHesam Rahimi <hesam.rahimi@huawei.com>2020-03-04 03:03:57 +0000
committerHesam Rahimi <hesam.rahimi@huawei.com>2020-03-04 21:52:46 +0000
commitae8f83510948c360ec4952fe7a73bfca1a930277 (patch)
treeaef6eaaa6a4256744f1c03c5cc2e5adedbc11ac9 /platform-logic/restapi-templates/src/main
parent0a8e7414c87424bd9bf0616d14bce525c9a16e24 (diff)
DGs for SOTN NNI based service creation
Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi <hesam.rahimi@huawei.com> Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74 Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sotn-otn-tunnel-service.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/json/sotn-otn-tunnel-service.json b/platform-logic/restapi-templates/src/main/json/sotn-otn-tunnel-service.json
new file mode 100644
index 00000000..085d4944
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sotn-otn-tunnel-service.json
@@ -0,0 +1,37 @@
+{
+ "ietf-te:te": {
+ "tunnels":{
+ "tunnel":[
+ {
+ "destination": ${oof.vpn.access-node-id},
+ "source": ${otn-domain.node-id},
+ "src-ttp-id": ${otn-domain.ttp-id},
+ "ietf-otn-tunnel:src-tpn": ${otn-domain.tpn},
+ "name": "otntunnel-22",
+ "te-topology-identifier": {
+ "client-id": ${otn-domain.client-id},
+ "provider-id": ${otn-domain.provider-id},
+ "topology-id": ${otn-domain.te-topo-id}
+ }
+ },
+ {
+ "destination": ${oof.vpn.access-node-id},
+ "source": ${otn-domain.node-id},
+ "src-ttp-id": ${otn-domain.ttp-id},
+ "ietf-otn-tunnel:src-tpn": ${otn-domain.tpn},
+ "name": "tptunnel-22",
+ "dependency-tunnels": {
+ "dependency-tunnel": [
+ "name": "tptunnel-22"
+ ]
+ },
+ "te-topology-identifier": {
+ "client-id": ${otn-domain.client-id},
+ "provider-id": ${otn-domain.provider-id},
+ "topology-id": ${otn-domain.te-topo-id}
+ }
+ }
+ ]
+ }
+ }
+}