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=acbf4babca2cb473e9cf5f92f0ba539a114b653d;hb=645b21298c9a4aff5f3f625eabb586fff40db732;hp=e4198aa547a03f131408253a5909cdd16088f473;hpb=b47cff931a6f33275b3b85f456b0236bb76f0be8;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..acbf4bab 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": ${ethernet-srv-end-points-list[${1}].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 @@ }, } ] + } ] } }