Completing the logic and the call flow for Transport Slicing operations:
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / ts-otn-tunnel-src-domain.json
1 {
2   "ietf-te:te": {
3     "tunnels": {
4       "tunnel": [
5         {
6           "source": ${src-node-id},
7         "destination": ${dst-node-id},
8         "ietf-otn-tunnel:dst-tpn": ${dst-tpn-id},
9         "dst-ttp-id": ${dst-ttp-id},
10         "te-bandwidth": {
11           "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODU2"
12         },
13         "ietf-otn-tunnel:dst-tributary-slot-count": 1,
14         "ietf-optical-slice:slice-id": ${slice-instance-id},
15         "encoding": "ietf-te-types:lsp-encoding-oduk",
16         "name": ${otn-tunnel-name-src-domain},
17         "restoration": {
18           "enable": "false",
19           "hold-off-time": "0",
20           "restoration-reversion-disable": "true",
21           "restoration-type": "ietf-te-types:lsp-restoration-restore-any",
22           "wait-to-revert": "0"
23         },
24         "switching-type": "ietf-te-types:switching-otn",
25         "te-topology-identifier": {
26           "client-id": ${client-id},
27         "provider-id": ${provider-id},
28         "topology-id": ${topology-id}
29       },
30         "provisioning-state": "ietf-te-types:tunnel-state-up"
31         }
32       ]
33     }
34   }
35 }