From f161b2792fd744b3967eb3ad283d6d43b03aca99 Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Mon, 13 Aug 2018 14:33:17 +1000 Subject: [PATCH] AAI-1466 Update allotted-resource schema for CCVPN Issue-ID: AAI-1466 Add the following properties to allotted-resource: alloted-resource-name, access-provider-id, access-client-id, access-topology-id, access-node-id, access-ltp-id, cvlan, vpn-name Add id and vpn-name properties to be indexed. Make "alloted-resource-name" property also: - marked as a "name" property - indexed Change-Id: I111eccc158ff28576b5e205b8c8c3dea3df4361e Signed-off-by: Keong Lim --- .../resources/onap/aai_schema/aai_schema_v14.xsd | 58 +++++++++++++++++++++- .../main/resources/onap/oxm/v14/aai_oxm_v14.xml | 44 +++++++++++++++- 2 files changed, 99 insertions(+), 3 deletions(-) diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd index 1d36f9be..210bfb13 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd @@ -3228,7 +3228,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" - @org.onap.aai.annotations.Metadata(description="Represents a slice or partial piece of a resource that gets separately allotted",nameProps="description",uniqueProps="id",indexedProps="id,model-invariant-id,model-version-id,type,role",dependentOn="service-instance",container="allotted-resources") + @org.onap.aai.annotations.Metadata(description="Represents a slice or partial piece of a resource that gets separately allotted",nameProps="description,allotted-resource-name",uniqueProps="id",indexedProps="id,model-invariant-id,model-version-id,type,role,allotted-resource-name,access-provider-id,access-client-id,access-topology-id,access-node-id,access-ltp-id,vpn-name",dependentOn="service-instance",container="allotted-resources") @@ -3309,6 +3309,62 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Store the name of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the access provider of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the access client of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the access topology of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the access node of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the access ltp of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the cvlan of this allotted-resource.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the vpn-name of this allotted-resource.") + + + diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml index d92f3c9a..92aa298e 100644 --- a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml +++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml @@ -6175,15 +6175,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + -- 2.16.6