From 53c1870ce87bd3e1f8a2caa1f0078d2993bbaee2 Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Wed, 15 Aug 2018 16:24:12 +1000 Subject: AAI-1483 Add sdwan-vpn for CCVPN usecase Issue-ID: AAI-1483 Add sdwan-vpn element to network namespace. Add CCVPN EdgeRules for sdwan-vpn to service-instance. Change-Id: I541db79a0c02149c4f5371dc29f71c76478ba298 Signed-off-by: Keong Lim --- .../resources/onap/aai_schema/aai_schema_v14.xsd | 102 +++++++++++++++++++++ .../dbedgerules/v14/DbEdgeRules_ccvpn_v14.json | 12 +++ .../main/resources/onap/oxm/v14/aai_oxm_v14.xml | 88 ++++++++++++++++++ 3 files changed, 202 insertions(+) (limited to 'aai-schema/src/main/resources/onap') 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 e32f3c90..4e4874d8 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 @@ -8919,6 +8919,107 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + + @org.onap.aai.annotations.Metadata(description="Instance of an sdwan-vpn",indexedProps="sdwan-vpn-id,sdwan-vpn-name,vxlan-id,topology,operational-status",nameProps="sdwan-vpn-name",searchable="sdwan-vpn-id",uniqueProps="sdwan-vpn-id",container="sdwan-vpns",namespace="network") + + + + + + + @org.onap.aai.annotations.Metadata(isKey=true,description="Uniquely identifies this sdwan-vpn by id") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the name of this sdwan-vpn.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the vxlan-id of this sdwan-vpn.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the topology of this sdwan-vpn.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the tenant-id of this sdwan-vpn.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the vpn-id of this sdwan-vpn.") + + + + + + + @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 sdwan-vpns") + + + + + + + @@ -8953,6 +9054,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 cbb28102..0049b997 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 @@ -131,6 +131,18 @@ "prevent-delete": "NONE", "default": "true", "description":"For CCVPN Usecase" + }, + { + "from": "sdwan-vpn", + "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 65e34c7e..5e80c6e0 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 @@ -3089,6 +3089,7 @@ + @@ -7809,5 +7810,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg