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