From: Lin, Jerry (jl319x) Date: Thu, 10 Aug 2017 17:35:52 +0000 (-0400) Subject: [AAI-148 Amsterdam] schema change. X-Git-Tag: v1.1.0~85 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7d1d558771b4cf6f4e5e9395c479e8d37cb57d2e;p=aai%2Faai-common.git [AAI-148 Amsterdam] schema change. Change-Id: Ic4f2d1bb493ca5bb986de2837f5950294abbedd2 Signed-off-by: Lin, Jerry (jl319x) --- 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 diff --git a/aai-schema/src/main/resources/aai_schema/aai_schema_v11.xsd b/aai-schema/src/main/resources/aai_schema/aai_schema_v11.xsd index fde33e93..cebde48a 100644 --- a/aai-schema/src/main/resources/aai_schema/aai_schema_v11.xsd +++ b/aai-schema/src/main/resources/aai_schema/aai_schema_v11.xsd @@ -1755,6 +1755,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.openecomp.aai.annotations.Metadata(defaultValue="false",description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.") + + + diff --git a/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml b/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml index 00843ee7..a9d567be 100644 --- a/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml +++ b/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml @@ -293,6 +293,12 @@ + + + + + + @@ -3349,7 +3355,7 @@ - + @@ -3969,7 +3975,7 @@ - + @@ -5705,7 +5711,7 @@ - +