Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / cll-otn-tunnel-dst-domain.json
1 {
2   "ietf-te:te": {
3     "tunnels": {
4       "tunnel": [
5         {
6           "name": ${otn-tunnel-name-dst-domain},
7         "source": ${src-node-id},
8         "destination": ${dst-node-id},
9         "src-tunnel-tp-id": ${src-ttp-id},
10         "te-bandwidth": {
11           "ietf-otn-tunnel:otn": {
12             "ietf-otn-tunnel:odu-type": "ietf-layer1-types:ODUflex",
13             "ietf-otn-tunnel:gfp-n": ${gfp-n}
14       }
15       },
16         "encoding": "ietf-te-types:lsp-encoding-oduk",
17         "switching-type": "ietf-te-types:switching-otn",
18         "protection": {
19           "enable": "true",
20           "hold-off-time": "0",
21           "protection-reversion-disable": "true",
22           "protection-type": "ietf-te-types:lsp-protection-unprotected",
23           "wait-to-revert": "0"
24         },
25         "admin-state": "ietf-te-types:tunnel-admin-state-up",
26         "primary-paths":{
27           "primary-path" :[
28             {
29               "name":"primary",
30               "path-in-segment":{
31                 "label-restrictions":{
32                   "label-restriction":[
33                     {
34                       "index" :1,
35                       "label-start":{
36                         "te-label":{
37                           "ietf-otn-tunnel:otn-tpn": ${src-tpn-id}
38                   }
39                   }
40                   }
41                   ]
42                 }
43               }
44             }
45           ]
46         }
47       }
48       ]
49     }
50   }
51 }