Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / p2p-otn-tunnel-dst-domain.json
1 {
2   "ietf-te:tunnel": [
3     {
4       "source": ${dst-node-id},
5     "destination": "0.0.0.0",
6     "encoding": "ietf-te-types:lsp-encoding-oduk",
7     "name": ${otn-tunnel-name-dst-domain},
8     "restoration": {
9       "enable": "false",
10       "restoration-reversion-disable": "true",
11       "restoration-type": "ietf-te-types:lsp-restoration-restore-any",
12       "wait-to-revert": 600
13     },
14     "te-bandwidth": {
15       "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODUFlex-gfp"
16     },
17     "switching-type": "ietf-te-types:switching-otn",
18     "te-topology-identifier": {
19       "client-id": 6666,
20       "provider-id": 5555,
21       "topology-id": "11"
22     },
23     "p2p-primary-paths": {
24       "p2p-primary-path": [
25         {
26           "name": "primary-path",
27           "path-scope": "ietf-te-types:path-scope-segment",
28           "explicit-route-objects": {
29             "route-object-include-exclude": [
30               {
31                 "index": "0",
32                 "explicit-route-usage": "ietf-te-types:route-include-ero",
33                 "unnumbered-hop": {
34                   "hop-type": "LOOSE",
35                   "node-id": ${src-node-id},
36               "link-tp-id": ${src-ttp-id},
37               "ietf-otn-tunnel:otu-port-type": "ietf-otn-types:port-otu2"
38               }
39             },
40               {
41                 "index": "1",
42                 "explicit-route-usage": "ietf-te-types:route-include-ero",
43                 "label-hop": {
44                   "te-label": {
45                     "ietf-otn-tunnel:tpn": ${src-tpn-id}
46             }
47             }
48             }
49             ]
50           },
51           "optimizations": {
52             "optimization-metric": [
53               {
54                 "metric-type": "ietf-te-types:path-metric-distance"
55               }
56             ]
57           }
58         }
59       ]
60     },
61     "ietf-otn-tunnel:dst-tributary-slot-count": 2,
62     "ietf-otn-tunnel:src-tributary-slot-count": 2,
63     "provisioning-state": "ietf-te-types:tunnel-admin-state-down"
64     }
65   ]
66 }