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