From ae8f83510948c360ec4952fe7a73bfca1a930277 Mon Sep 17 00:00:00 2001 From: Hesam Rahimi Date: Wed, 4 Mar 2020 03:03:57 +0000 Subject: DGs for SOTN NNI based service creation Issue-ID: SDNC-900 Signed-off-by: Hesam Rahimi Change-Id: I3ae8efc39aaa5fc5de48b3323f986531d3c7fa74 Former-commit-id: 84477fc8f92e417f809ffe040ffb12de46a43a77 --- .../src/main/json/sotn-otn-tunnel-service.json | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 platform-logic/restapi-templates/src/main/json/sotn-otn-tunnel-service.json (limited to 'platform-logic/restapi-templates/src/main') 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} + } + } + ] + } + } +} -- cgit 1.2.3-korg