summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-11-16 17:04:49 +1100
committerKeong Lim <keong.lim@huawei.com>2018-11-16 17:12:10 +1100
commitea6602027e5b2d7e1305b4d2a3d49d6a4d74a0c6 (patch)
treebac80431cb28ba21fd1c5e576615a27b1709f41b
parent6d4c56a5f9288d21ffe6d0711ede3b288f6030a2 (diff)
AAI-1923 Problem deleting due to EdgeRules
Issue-ID: AAI-1923 Fixed EdgeRules for ext-aai-info to esr-system-info Fixed EdgeRules for lan-port-config to dhcp-service Fixed EdgeRules for pnf to network-resource Fixed EdgeRules for logical-link to ext-aai-network Fixed EdgeRules for vpn-binding to ext-aai-network Fixed EdgeRules for pnf to ext-aai-network Fixed EdgeRules for connectivity to ext-aai-network Fixed EdgeRules for lan-port-config to ext-aai-network Fixed EdgeRules for network-resource to ext-aai-network Fixed EdgeRules for site-resource to ext-aai-network Fixed EdgeRules for sdwan-vpn to ext-aai-network Fixed EdgeRules for device to ext-aai-network Fixed EdgeRules for wan-port-config to ext-aai-network Appears to be a problem with this combo in EdgeRules: - "delete-other-v": "${direction}", - "prevent-delete": "!${direction}", Break the dependency by making one of these values "NONE". (cherry picked from commit 04694a8e17d599bc8fd8b7732c648acfb2378f82) Change-Id: Idc220c88742144a8ad091f316b3afef7be4537f6 Signed-off-by: Keong Lim <keong.lim@huawei.com>
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json26
1 files changed, 13 insertions, 13 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json
index 62b6c52e..8231b16a 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json
@@ -68,7 +68,7 @@
"multiplicity": "ONE2MANY",
"contains-other-v": "${direction}",
"delete-other-v": "${direction}",
- "prevent-delete": "!${direction}",
+ "prevent-delete": "NONE",
"default": "true",
"description":"For CCVPN Usecase"
},
@@ -91,7 +91,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "!${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -212,7 +212,7 @@
"multiplicity": "ONE2MANY",
"contains-other-v": "${direction}",
"delete-other-v": "${direction}",
- "prevent-delete": "!${direction}",
+ "prevent-delete": "NONE",
"default": "true",
"description":"For CCVPN Usecase"
},
@@ -223,7 +223,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -235,7 +235,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -247,7 +247,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -259,7 +259,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -271,7 +271,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -283,7 +283,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -295,7 +295,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -307,7 +307,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -319,7 +319,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
@@ -331,7 +331,7 @@
"direction": "OUT",
"multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "${direction}",
+ "delete-other-v": "NONE",
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"