{
"ietf-eth-tran-service:etht-svc":{
- "etht-svc-instances":[
+ "etht-svc-instances": [
{
"etht-svc-name": ${eth-service-name},
"ietf-optical-slice:slice-id": ${slice-id},
"etht-svc-descr": "Ethernet-over-OTN",
- "etht-svc-type": "ietf-eth-tran-types:p2p-svc",
+ "etht-svc-type": "ietf-eth-tran-types:rmp-svc",
"te-topology-identifier":{
"provider-id": ${provider-id},
"client-id": ${client-id},
},
}
]
+ },
"resilience":{
"protection":{
"enable":"true",
${repeat:ethernet-srv-end-points-list_length:
{
"etht-svc-end-point-name": ${ethernet-srv-end-points-list[${1}].ethernet-end-point-name},
+ "etht-svc-end-point-descr": ${service-instance-id-or-cll-id},
"etht-svc-access-points":[
{
"access-point-id": ${ethernet-srv-end-points-list[${1}].index-number},
"access-node-id": ${ethernet-srv-end-points-list[${1}].eth-node-id},
"access-ltp-id": ${ethernet-srv-end-points-list[${1}].eth-node-tp-id},
"access-role": ${ethernet-srv-end-points-list[${1}].leafOrRootAccess}
- // "ietf-eth-tran-types:leaf-access"
- // "ietf-eth-tran-types:root-primary"
}
],
"outer-tag":{
},
}
]
+ }
]
}
}