From: Keong Lim Date: Mon, 13 Aug 2018 04:33:17 +0000 (+1000) Subject: AAI-1466 Update allotted-resource schema for CCVPN X-Git-Tag: 1.3.0~45 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f161b2792fd744b3967eb3ad283d6d43b03aca99;p=aai%2Faai-common.git 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 --- 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - +