2 "ietf-eth-tran-service:etht-svc":{
3 "etht-svc-instances": [
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:rmp-svc",
9 "te-topology-identifier":{
10 "provider-id": ${provider-id},
11 "client-id": ${client-id},
12 "topology-id": ${topology-id}
16 ${repeat:otn-tunnels-name-list_length:
18 "name": ${otn-tunnels-name-list[${1}].otn-tunnel-name}
27 "protection-reversion-disable":"true",
28 "protection-type":"ietf-te-types:lsp-protection-unprotected",
32 "admin-status":"ietf-te-types:tunnel-admin-state-up",
33 "etht-svc-end-points":[
34 ${repeat:ethernet-srv-end-points-list_length:
36 "etht-svc-end-point-name": ${ethernet-srv-end-points-list[${1}].ethernet-end-point-name},
37 "etht-svc-end-point-descr": ${service-instance-id-or-cll-id},
38 "etht-svc-access-points":[
40 "access-point-id": ${ethernet-srv-end-points-list[${1}].index-number},
41 "access-node-id": ${ethernet-srv-end-points-list[${1}].eth-node-id},
42 "access-ltp-id": ${ethernet-srv-end-points-list[${1}].eth-node-tp-id},
43 "access-role": ${ethernet-srv-end-points-list[${1}].leafOrRootAccess}
47 "tag-type":"ietf-eth-tran-types:classify-c-vlan",
48 "vlan-value":${ethernet-srv-end-points-list[${1}].cvlan}
50 "service-classification-type":"ietf-eth-tran-types:vlan-classification",
51 "ingress-egress-bandwidth-profile":{
52 "bandwidth-profile-type":"ietf-eth-tran-types:mef-10-bwp",
53 "CIR": ${ethernet-srv-end-points-list[${1}].CIR},
54 "EIR": ${ethernet-srv-end-points-list[${1}].EIR}