summaryrefslogtreecommitdiffstats
path: root/aai-core/src
diff options
context:
space:
mode:
authorLin, Jerry (jl319x) <jl319x@att.com>2017-08-10 13:35:52 -0400
committerLin, Jerry (jl319x) <jl319x@att.com>2017-08-10 13:39:52 -0400
commit7d1d558771b4cf6f4e5e9395c479e8d37cb57d2e (patch)
treef96c5285b84c430c668cd55c0d01f1b57f9b771d /aai-core/src
parent7370dd26ee0a050db29f84001889434e56a2dd0b (diff)
[AAI-148 Amsterdam] schema change.
Change-Id: Ic4f2d1bb493ca5bb986de2837f5950294abbedd2 Signed-off-by: Lin, Jerry (jl319x) <jl319x@att.com>
Diffstat (limited to 'aai-core/src')
-rw-r--r--aai-core/src/main/java/org/openecomp/aai/dbmodel/DbEdgeRules.java3
-rw-r--r--aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json22
2 files changed, 24 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 3f114926..1e6a1496 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
@@ -428,5 +428,6 @@ public class DbEdgeRules {
.putAll("entitlement","THIS_NODE_ONLY")
.putAll("license","THIS_NODE_ONLY")
.putAll("zone", "THIS_NODE_ONLY")
- .putAll("route-target", "CASCADE_TO_CHILDREN").build();
+ .putAll("route-target", "CASCADE_TO_CHILDREN")
+ .putAll("sriov-pf", "THIS_NODE_ONLY").build();
}
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
index f7c8a16b..01e1e670 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
@@ -2001,6 +2001,28 @@
"usesResource" : "false",
"hasDelTarget" : "false",
"SVC-INFRA" : "false"
+},
+{
+ "from" : "p-interface",
+ "to" : "sriov-pf",
+ "label" : "has",
+ "direction" : "OUT",
+ "multiplicity" : "One2One",
+ "isParent" : "true",
+ "usesResource" : "false",
+ "hasDelTarget" : "false",
+ "SVC-INFRA" : "false"
+},
+{
+ "from" : "sriov-vf",
+ "to" : "sriov-pf",
+ "label" : "uses",
+ "direction" : "OUT",
+ "multiplicity" : "Many2One",
+ "isParent" : "false",
+ "usesResource" : "true",
+ "hasDelTarget" : "false",
+ "SVC-INFRA" : "false"
}
]
} \ No newline at end of file