From: Keong Lim Date: Thu, 16 Aug 2018 05:22:40 +0000 (+1000) Subject: AAI-1491 Add wan-port-config schema for CCVPN X-Git-Tag: 1.3.0~31 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e74b5cb2203260c783d114a4afe609169f62fc98;p=aai%2Faai-common.git AAI-1491 Add wan-port-config schema for CCVPN Issue-ID: AAI-1491 Add wan-port-config element in network namespace. Add CCVPN EdgeRule for wan-port-config to service-instance. Change-Id: I7c27b28ea2da72583f88b79eb035ab70cc86a64e 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 55274239..22e79614 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 @@ -9142,6 +9142,163 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + + @org.onap.aai.annotations.Metadata(description="Instance of a wan-port-config",indexedProps="wan-port-config-id,wan-port-config-name,device-id,ip-address,port-type,port-number,device-port-id,wan-port-id,operational-status",nameProps="wan-port-config-name",searchable="wan-port-config-id",uniqueProps="wan-port-config-id",container="wan-port-configs",namespace="network") + + + + + + + @org.onap.aai.annotations.Metadata(isKey=true,description="Uniquely identifies this wan-port-config by id") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the name of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the device of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the id of the vlan of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the ip-address of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the provider-ip-address of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the input-bandwidth of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the output-bandwidth of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the description of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the port-type of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the port-number of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the transport-network-name of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the device-port-id of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the wan-port-id of this wan-port-config.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the link to get more information for this object.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the operational-status for this object.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the model-customization-id for this object.") + + + + + + + @org.onap.aai.annotations.Metadata(description="the ASDC model id for this resource or service model.",visibility="deployment",requires="model-version-id",dbAlias="model-invariant-id-local") + + + + + + + @org.onap.aai.annotations.Metadata(description="the ASDC model version for this resource or service model.",visibility="deployment",requires="model-invariant-id",dbAlias="model-version-id-local",privateEdge="service-design-and-creation/models/model/{model-invariant-id}/model-vers/model-ver/{model-version-id}") + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="Collection of wan-port-configs") + + + + + + + @@ -9178,6 +9335,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json index c4611931..1b37f471 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json @@ -167,6 +167,18 @@ "prevent-delete": "NONE", "default": "true", "description":"For CCVPN Usecase" + }, + { + "from": "wan-port-config", + "to": "service-instance", + "label": "org.onap.relationships.inventory.PartOf", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For CCVPN Usecase" } ] } 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 f72756e2..5873bbaf 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 @@ -3091,6 +3091,7 @@ + @@ -8000,5 +8001,132 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +