582e88e3754b2b0f8b27145f78ef433e1170bda3
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / sotn-ethernet-service.json
1 {
2     "ietf-eth-tran-service:etht-svc": {
3         "globals": {
4             "etht-svc-bandwidth-profiles": [
5                 {
6                     "bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name},
7                     "bandwidth-profile-type": "ietf-eth-tran-types:mef-10-bwp",
8                     "CIR": ${prop.global.sotn.cir},
9                     "EIR": ${prop.global.sotn.eir},
10                     "color-aware": ${prop.global.sotn.colorAware},
11                     "coupling-flag": ${prop.global.sotn.couplingFlag}
12                 }
13             ]
14         },
15         "etht-svc-instances": [
16             {
17                 "etht-svc-name": ${prop.global.sotn.etht-svc-name},
18                 "access-provider-id": ${oof.vpn.access-provider-id},
19                 "access-client-id": ${oof.vpn.access-client-id},
20                 "access-topology-id": ${oof.vpn.access-topology-id},
21                 "etht-svc-type": "ietf-eth-tran-types:p2p-svc",
22                 "admin-status": "ietf-te-types:tunnel-state-up",
23                 "etht-svc-access-ports": [
24                     {
25                         "access-port-id": "0",
26                         "access-node-id": ${oof.vpn.access-node-id},
27                         "access-ltp-id": ${oof.vpn.src-access-ltp-id},
28                         "service-classification-type": "ietf-eth-tran-types:port-classification",
29                         "ingress-egress-bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name}
30                     },
31                     {
32                         "access-port-id": "1",
33                         "access-node-id": ${oof.vpn.access-node-id},
34                         "access-ltp-id": ${oof.vpn.dst-access-ltp-id},
35                         "service-classification-type": "ietf-eth-tran-types:port-classification",
36                         "ingress-egress-bandwidth-profile-name": ${prop.global.sotn.bandwidth-profile-name}
37                     }
38                 ]
39             }
40         ]
41     }
42 }