aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/restapi-templates')
-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}
+ }
+ }
+ ]
+ }
+ }
+}