summaryrefslogtreecommitdiffstats
path: root/aai-core/src/main/java
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-08-07 12:51:50 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-08-07 13:09:49 -0400
commit98e043107dbba4c4f54e6a114b1453c9a1552033 (patch)
treea919295635308776e89b665d54bca461d03aa767 /aai-core/src/main/java
parentdc960ff92cdb8242ccec87bb3ae862241fa2d0bd (diff)
[AAI-133 Amsterdam] Subnet delete rule fix
Change-Id: I0837371aab38bbe159d472ac0ed4c84c57cdc81d Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/src/main/java')
-rw-r--r--aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java2
-rw-r--r--aai-core/src/main/java/org/openecomp/aai/dbmodel/v10/gen/DbEdgeRules.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java b/aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java
index e5aa36a1..3f114926 100644
--- a/aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java
+++ b/aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java
@@ -400,7 +400,7 @@ public class DbEdgeRules {
.putAll("generic-vnf", "CASCADE_TO_CHILDREN")
.putAll("l3-network", "CASCADE_TO_CHILDREN")
.putAll("ctag-pool", "THIS_NODE_ONLY")
- .putAll("subnet", "THIS_NODE_ONLY")
+ .putAll("subnet", "ERROR_IF_ANY_IN_EDGES")
.putAll("sriov-vf", "THIS_NODE_ONLY")
.putAll("vpn-binding", "ERROR_4_IN_EDGES_OR_CASCADE")
.putAll("vnf-image", "ERROR_IF_ANY_IN_EDGES")
diff --git a/aai-core/src/main/java/org/openecomp/aai/dbmodel/v10/gen/DbEdgeRules.java b/aai-core/src/main/java/org/openecomp/aai/dbmodel/v10/gen/DbEdgeRules.java
index d2056848..1069e849 100644
--- a/aai-core/src/main/java/org/openecomp/aai/dbmodel/v10/gen/DbEdgeRules.java
+++ b/aai-core/src/main/java/org/openecomp/aai/dbmodel/v10/gen/DbEdgeRules.java
@@ -398,7 +398,7 @@ public class DbEdgeRules {
.putAll("generic-vnf", "CASCADE_TO_CHILDREN")
.putAll("l3-network", "CASCADE_TO_CHILDREN")
.putAll("ctag-pool", "THIS_NODE_ONLY")
- .putAll("subnet", "THIS_NODE_ONLY")
+ .putAll("subnet", "ERROR_IF_ANY_IN_EDGES")
.putAll("sriov-vf", "THIS_NODE_ONLY")
.putAll("vpn-binding", "ERROR_4_IN_EDGES_OR_CASCADE")
.putAll("vnf-image", "ERROR_IF_ANY_IN_EDGES")