- Changing POST operation to PATCH for OTN Tunnel creation.
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / ts-otn-tunnel-dst-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:src-tpn": ${src-tpn-id},
9           "src-ttp-id": ${src-ttp-id},
10           "te-bandwidth": {
11             "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODUFlex-gfp",
12             "ietf-otn-tunnel:gfp-n": ${gfp-n}
13           },
14           "ietf-otn-tunnel:dst-tributary-slot-count": 1,
15           "ietf-optical-slice:slice-id": ${slice-instance-id},
16           "encoding": "ietf-te-types:lsp-encoding-oduk",
17           "name": ${otn-tunnel-name-dst-domain},
18           "restoration": {
19             "enable": "false",
20             "hold-off-time": "0",
21             "restoration-reversion-disable": "true",
22             "restoration-type": "ietf-te-types:lsp-restoration-restore-any",
23             "wait-to-revert": "0"
24           },
25           "switching-type": "ietf-te-types:switching-otn",
26           "te-topology-identifier": {
27             "client-id": ${client-id},
28             "provider-id": ${provider-id},
29             "topology-id": ${topology-id}
30           },
31           "provisioning-state": "ietf-te-types:tunnel-state-up"
32         }
33       ]
34     }
35   }
36 }