Fixed SDWAN lan-port-config resource templates 12/86512/3
authorprakash.e <prakash.e@huawei.com>
Mon, 6 May 2019 05:47:38 +0000 (11:17 +0530)
committerprakash.e <prakash.e@huawei.com>
Mon, 6 May 2019 05:47:42 +0000 (11:17 +0530)
Updated lan-port-config delete templates which is
used in lan-port-config-deactivate DG to delete the
entry in controller

Change-Id: I1e8c6bc16079cd14d6861ee744b9e335aaa1efea
Issue-ID: SDNC-659
Signed-off-by: Prakash.E <prakash.e@huawei.com>
Former-commit-id: 368082124703aeaa828d4d49ae7ff3321b33f6e0

platform-logic/restapi-templates/src/main/json/sdlan-bridge-domain-del.json [new file with mode: 0644]
platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json
platform-logic/restapi-templates/src/main/json/sdlan-port-del.json

diff --git a/platform-logic/restapi-templates/src/main/json/sdlan-bridge-domain-del.json b/platform-logic/restapi-templates/src/main/json/sdlan-bridge-domain-del.json
new file mode 100644 (file)
index 0000000..99d66e3
--- /dev/null
@@ -0,0 +1,7 @@
+{
+  "bridgeDomains": [
+    {
+      "id": ${prop.lan.bridgeDomainId},
+    }
+  ]
+}
index 4e42e61..a1c74f8 100644 (file)
@@ -1,8 +1,13 @@
 {
-    "tnps": [
+
+    "IPSubnets": [
+
         {
-            "id": ${prop.lan.lanPortId},            
+
+            "id": ${prop.lan.lanPortId},
+
         }
+
     ]
-}
 
+}
index 914bb66..953a9fd 100644 (file)
@@ -1,8 +1,7 @@
 {
-    "tnps": [
+    "ports": [
         {
-            "id": ${prop.lan.devicePortId},            
+            "id": ${prop.lan.devicePortId},
         }
     ]
 }
-