From: Threefoot, Jane (jt6620) Date: Thu, 31 Aug 2017 19:15:15 +0000 (-0400) Subject: [AAI-252 Amsterdam] configuration of hostroutes X-Git-Tag: v1.1.0~54^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F9741%2F1;p=aai%2Faai-common.git [AAI-252 Amsterdam] configuration of hostroutes Change-Id: I95c41f69af75b21a2476cd8e6ef83b0bc4dea7de Signed-off-by: Threefoot, Jane (jt6620) --- diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json index d24acd79..8be2a8cc 100644 --- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json +++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json @@ -1957,6 +1957,17 @@ "delete-other-v": "NONE", "SVC-INFRA": "NONE", "prevent-delete": "NONE" + }, + { + "from": "subnet", + "to": "host-route", + "label": "has", + "direction": "OUT", + "multiplicity": "One2Many", + "contains-other-v": "${direction}", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE" } ] } 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 90c02529..70cfa328 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 @@ -4657,6 +4657,60 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + + @org.openecomp.aai.annotations.Metadata(indexedProps="host-route-id",dependentOn="subnet",container="host-routes") + + + + + + + @org.openecomp.aai.annotations.Metadata(isKey=true,description="host-route id") + + + + + + + @org.openecomp.aai.annotations.Metadata(description="subnet prefix") + + + + + + + @org.openecomp.aai.annotations.Metadata(description="Could be ip-address, hostname, or service-instance") + + + + + + + @org.openecomp.aai.annotations.Metadata(description="Should be ip-address, hostname, or service-instance to match next-hop") + + + + + + + @org.openecomp.aai.annotations.Metadata(description="Used for optimistic concurrency. Must be empty on create, valid on update and delete.") + + + + + + + + + + + + + + @@ -4749,6 +4803,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.openecomp.aai.annotations.Metadata(description="ip address assignment direction of the subnet") + + + @@ -4756,6 +4817,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + 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 51f1ddfd..00769800 100644 --- a/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml +++ b/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml @@ -3608,13 +3608,19 @@ + + + + + - + + @@ -5691,5 +5697,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +