From 5fd6f294a014124a12de79fb63ad1c9d8bb86766 Mon Sep 17 00:00:00 2001 From: "Threefoot, Jane (jt6620)" Date: Thu, 31 Aug 2017 15:15:15 -0400 Subject: [AAI-252 Amsterdam] configuration of hostroutes Change-Id: I95c41f69af75b21a2476cd8e6ef83b0bc4dea7de Signed-off-by: Threefoot, Jane (jt6620) --- .../resources/dbedgerules/DbEdgeRules_v11.json | 11 ++++ .../main/resources/aai_schema/aai_schema_v11.xsd | 62 ++++++++++++++++++++++ aai-schema/src/main/resources/oxm/aai_oxm_v11.xml | 51 +++++++++++++++++- 3 files changed, 123 insertions(+), 1 deletion(-) 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg