summaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/json/p2p-otn-tunnel-dst-domain.json
blob: 74e6d8987f559d9ef8d695635fd4d99f56118b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
  "ietf-te:tunnel": [
    {
      "source": ${src-node-id},
    "destination": ${dst-node-id},
    "encoding": "ietf-te-types:lsp-encoding-oduk",
    "name": ${otn-tunnel-name-src-domain},
    "restoration": {
      "enable": "false",
      "restoration-reversion-disable": "true",
      "restoration-type": "ietf-te-types:lsp-restoration-restore-any",
      "wait-to-revert": 0
    },
    "te-bandwidth": {
      "ietf-otn-tunnel:odu-type": "ietf-otn-types:prot-ODU0"
    },
    "switching-type": "ietf-te-types:switching-otn",
    "te-topology-identifier": {
      "client-id": ${client-id},
    "provider-id": ${provider-id},
    "topology-id": ${topology-id}
  },
    "p2p-primary-paths": {
      "p2p-primary-path": [
        {
          "name": "primary-path",
          "optimizations": {
            "optimization-metric": [
              {
                "metric-type": "ietf-te-types:path-metric-te",
                "weight": "1"
              }
            ]
          }
        }
      ]
    },
    "ietf-otn-tunnel:dst-tributary-slot-count": ${gfp-n},
    "ietf-otn-tunnel:src-tributary-slot-count": ${gfp-n},
    "provisioning-state": "ietf-te-types:tunnel-admin-state-down"
    }
  ]
}