Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / p2p-ethernet-service.json
1 {
2     "ietf-eth-tran-service:etht-svc-instances": [
3         {
4             "etht-svc-name": ${eth-service-name},
5             "etht-svc-title": ${eth-service-name},
6             "etht-svc-type": "ietf-eth-tran-types:p2p-svc",
7             "te-topology-identifier": {
8                 "provider-id": 5555,
9                 "client-id": 6666,
10                 "topology-id": "33"
11             },
12             "underlay": {
13                 "otn-tunnels": [
14                     {
15                         "name": ${otn-tunnel-name},
16                         "encoding": "ietf-te-types:lsp-encoding-oduk",
17                         "switching-type": "ietf-te-types:switching-otn"
18                     }
19                 ]
20             },
21             "resilience": {
22                 "protection": {
23                     "enable": "true",
24                     "protection-reversion-disable": "true",
25                     "protection-type": "ietf-te-types:lsp-protection-unprotected",
26                     "wait-to-revert": 0
27                 }
28             },
29             "admin-status": "ietf-te-types:tunnel-admin-state-up",
30             "etht-svc-end-points": [
31                 {
32                     "etht-svc-end-point-name": "0",
33                     "etht-svc-access-points": [
34                         {
35                             "access-point-id": "0",
36                             "access-node-id": ${eth-node-id},
37                             "access-ltp-id": ${eth-node-tp-id}
38                         }
39                     ],
40                     "service-classification-type": "ietf-eth-tran-types:vlan-classification",
41                     "outer-tag": {
42                         "tag-type": "ietf-eth-tran-types:classify-c-vlan",
43                         "vlan-value": ${cvlan}
44                     },
45                     "ingress-egress-bandwidth-profile": {
46                         "bandwidth-profile-type": "ietf-eth-tran-types:mef-10-bwp",
47                         "CIR": ${CIR},
48                         "EIR": "0"
49                     }
50                 }
51             ]
52         }
53     ]
54 }