Passing a correct OTN tunnel ID and a correct Ethernet Service ID for deletion.
[sdnc/oam.git] / platform-logic / restapi-templates / src / main / json / ts-ethernet-service.json
index 50a82fb..dc1a0c3 100644 (file)
@@ -3,6 +3,7 @@
         "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",
                 "te-topology-identifier":{
                         ],
                         "outer-tag":{
                             "tag-type":"ietf-eth-tran-types:classify-c-vlan",
-                            "vlan-value":1
+                            "vlan-value":${cvlan}
                         },
                         "service-classification-type":"ietf-eth-tran-types:vlan-classification",
                         "ingress-egress-bandwidth-profile":{
                             "bandwidth-profile-type":"ietf-eth-tran-types:mef-10-bwp",
-                            "CIR":5000,
-                            "EIR":5000
+                            "CIR": ${CIR},
+                            "EIR":${EIR}
                         }
                     }
                 ]