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