aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main
diff options
context:
space:
mode:
authorprakash.e <prakash.e@huawei.com>2019-05-06 11:17:38 +0530
committerprakash.e <prakash.e@huawei.com>2019-05-06 11:17:42 +0530
commita051175411102edc3e909140335d34a5cd4a2c36 (patch)
tree0673108f74bb3d7231db10f2a7b791bff3fc7fbb /platform-logic/restapi-templates/src/main
parent5a9ce60c616970d510d7d21fd3a69186c3f79731 (diff)
Fixed SDWAN lan-port-config resource templates
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
Diffstat (limited to 'platform-logic/restapi-templates/src/main')
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdlan-bridge-domain-del.json7
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json11
-rw-r--r--platform-logic/restapi-templates/src/main/json/sdlan-port-del.json5
3 files changed, 17 insertions, 6 deletions
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
index 00000000..99d66e35
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/json/sdlan-bridge-domain-del.json
@@ -0,0 +1,7 @@
+{
+ "bridgeDomains": [
+ {
+ "id": ${prop.lan.bridgeDomainId},
+ }
+ ]
+}
diff --git a/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json b/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json
index 4e42e61a..a1c74f89 100644
--- a/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json
+++ b/platform-logic/restapi-templates/src/main/json/sdlan-ip-subnets-del.json
@@ -1,8 +1,13 @@
{
- "tnps": [
+
+ "IPSubnets": [
+
{
- "id": ${prop.lan.lanPortId},
+
+ "id": ${prop.lan.lanPortId},
+
}
+
]
-}
+}
diff --git a/platform-logic/restapi-templates/src/main/json/sdlan-port-del.json b/platform-logic/restapi-templates/src/main/json/sdlan-port-del.json
index 914bb661..953a9fd3 100644
--- a/platform-logic/restapi-templates/src/main/json/sdlan-port-del.json
+++ b/platform-logic/restapi-templates/src/main/json/sdlan-port-del.json
@@ -1,8 +1,7 @@
{
- "tnps": [
+ "ports": [
{
- "id": ${prop.lan.devicePortId},
+ "id": ${prop.lan.devicePortId},
}
]
}
-