X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Frestapi-templates%2Fsrc%2Fmain%2Fjson%2Fcll-ethernet-service-loop.json;h=24968f71eaf36a63c497b7fbf20339d2f398cba7;hb=13b89ec32d7d0074117b3f136800bc93f67bf0f8;hp=e4198aa547a03f131408253a5909cdd16088f473;hpb=748b1c0d2e20f88c327673fe3bc32d3d50e5e12b;p=sdnc%2Foam.git diff --git a/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop.json b/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop.json index e4198aa5..24968f71 100644 --- a/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop.json +++ b/platform-logic/restapi-templates/src/main/json/cll-ethernet-service-loop.json @@ -1,11 +1,11 @@ { "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}, @@ -19,6 +19,7 @@ }, } ] + }, "resilience":{ "protection":{ "enable":"true", @@ -33,14 +34,13 @@ ${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":{ @@ -56,6 +56,7 @@ }, } ] + } ] } }