085d4944a98093f482b2c75de452091656ec02de
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sotn-otn-tunnel-service.json
1 {
2     "ietf-te:te": {
3         "tunnels":{
4             "tunnel":[
5                 {
6                     "destination": ${oof.vpn.access-node-id},
7                     "source": ${otn-domain.node-id},
8                     "src-ttp-id": ${otn-domain.ttp-id},
9                     "ietf-otn-tunnel:src-tpn": ${otn-domain.tpn},
10                     "name": "otntunnel-22",
11                     "te-topology-identifier": {
12                         "client-id": ${otn-domain.client-id},
13                         "provider-id": ${otn-domain.provider-id},
14                         "topology-id": ${otn-domain.te-topo-id}
15                     }
16                 },
17                 {
18                     "destination": ${oof.vpn.access-node-id},
19                     "source": ${otn-domain.node-id},
20                     "src-ttp-id": ${otn-domain.ttp-id},
21                     "ietf-otn-tunnel:src-tpn": ${otn-domain.tpn},
22                     "name": "tptunnel-22",
23                     "dependency-tunnels": {
24                         "dependency-tunnel": [
25                             "name": "tptunnel-22"
26                         ]
27                     },
28                     "te-topology-identifier": {
29                         "client-id": ${otn-domain.client-id},
30                         "provider-id": ${otn-domain.provider-id},
31                         "topology-id": ${otn-domain.te-topo-id}
32                     }
33                 }
34             ]
35         }
36     }
37 }