summaryrefslogtreecommitdiffstats
path: root/aai-core/src/main
diff options
context:
space:
mode:
authorUtkarsh Raj <ur326r@att.com>2017-08-04 15:12:13 -0400
committerUtkarsh Raj <ur326r@att.com>2017-08-04 15:13:15 -0400
commitdc960ff92cdb8242ccec87bb3ae862241fa2d0bd (patch)
tree9689fde900d533f744295a9c114b7c89e29a8937 /aai-core/src/main
parentb3831d1aeb925bece1ac854dc06871966c9fb4eb (diff)
[AAI-132 Amsterdam] Check in Schema Changes VLAN
Change-Id: Ic1a5c68bcad9baa2524662321d7c261280320ff9 Signed-off-by: Utkarsh Raj <ur326r@att.com>
Diffstat (limited to 'aai-core/src/main')
-rw-r--r--aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java7
1 files changed, 6 insertions, 1 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 2ab378e2..e5aa36a1 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
@@ -151,6 +151,8 @@ public class DbEdgeRules {
"isMemberOf,OUT,Many2Many,false,false,false,true")
.putAll("l3-network|vpn-binding",
"usesVpnBinding,OUT,Many2Many,false,false,false,false")
+ .putAll("l3-network|instance-group",
+ "memberOf,OUT,Many2Many,false,false,false,false")
.putAll("l3-network|subnet",
"hasSubnet,OUT,Many2Many,true,false,false,reverse")
.putAll("l3-network|service-instance",
@@ -328,6 +330,7 @@ public class DbEdgeRules {
.putAll("allotted-resource|instance-group", "isMemberOf,OUT,Many2Many,false,false,false,false")
.putAll("allotted-resource|network-policy", "uses,OUT,One2One,false,false,false,false")
.putAll("allotted-resource|vlan", "isPartOf,OUT,Many2Many,false,false,false,false")
+ .putAll("allotted-resource|l-interface", "uses,OUT,One2Many,false,false,false,false")
.putAll("generic-vnf|instance-group", "isMemberOf,OUT,Many2Many,false,false,false,false")
.putAll("service-instance|instance-group", "isMemberOf,OUT,Many2Many,false,false,false,false")
.putAll("allotted-resource|tunnel-xconnect", "has,OUT,One2One,true,false,false,false")
@@ -342,8 +345,10 @@ public class DbEdgeRules {
.putAll("zone|complex", "existsIn,OUT,Many2One,false,false,false,false")
.putAll("service-instance|allotted-resource", "has,OUT,Many2Many,true,false,false,false")
.putAll("service-instance|allotted-resource", "uses,OUT,Many2Many,false,false,false,false")
+ .putAll("allotted-resource|vpn-binding", "belongsTo,OUT,Many2Many,false,false,false,false")
+ .putAll("allotted-resource|allotted-resource", "bindsTo,OUT,One2One,false,false,false,false")
.build();
-
+
public static final Multimap<String, String> DefaultDeleteScope = new ImmutableSetMultimap.Builder<String, String>()
.putAll("customer", "CASCADE_TO_CHILDREN")
.putAll("cloud-region", "THIS_NODE_ONLY")