From c075e5faec2a176be33b6474a5a90d2a1c0a20de Mon Sep 17 00:00:00 2001 From: Aleem Raja Date: Fri, 24 Feb 2023 15:05:54 +0000 Subject: AAI schema changes for Cells Cell and Neighbour objects added with required relationships. Issue-ID: AAI-3625 Signed-off-by: Aleem Raja Change-Id: Iaece7985ae2d35a4f9b150b8f33686db4ac3319e --- .../resources/onap/aai_schema/aai_schema_v27.xsd | 201 +++++++++++++++++++++ .../dbedgerules/v27/DbEdgeRules_ccvpn_v27.json | 26 ++- .../onap/dbedgerules/v27/DbEdgeRules_v27.json | 133 ++++++++++++++ .../main/resources/onap/oxm/v27/aai_oxm_v27.xml | 182 ++++++++++++++++++- 4 files changed, 540 insertions(+), 2 deletions(-) (limited to 'aai-schema') diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v27.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v27.xsd index 075dcb9..689ad51 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v27.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v27.xsd @@ -12781,6 +12781,206 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + + @org.onap.aai.annotations.Metadata(description="General purpose Neighbour Cell object",indexedProps="neighbour-id,neighbour-cell-id,neighbour-cell-name,data-owner,data-source,data-source-version",searchable="neighbour-id,neighbour-cell-id,neighbour-cell-name",uniqueProps="neighbour-id",container="neighbours",dependentOn="cell",uriTemplate="/neighbours/neighbour/{neighbour-id}",requiredProps="neighbour-id,neighbour-cell-id,neighbour-cell-name") + + + + + + + @org.onap.aai.annotations.Metadata(isKey=true,description="Unique id of Neighbour. This is unique across the graph.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Unique id of Neighbour Cell.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Name of Neighbour Cell.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Path to the extended object properties.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the entity that is responsible managing this inventory object.",ownerCheck="N/A") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the upstream source of the data.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the version of the upstream source.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency. Must be empty on create, valid on update and delete.") + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="Collection of Cell Neighbours") + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="General purpose Cell object",nameProps="cell-name",indexedProps="cell-id,cell-name,radio-access-technology,cell-type,mno-id,cell-local-id,node-id,mnc,mcc,longitude,latitude,frequency-band,coverage-area,data-owner,data-source,data-source-version",searchable="cell-id,cell-name,cell-local-id,mno-id,node-id,radio-access-technology",uniqueProps="cell-id",container="cells",namespace="network",containsSuggestibleProps="true",uriTemplate="/network/cells/cell/{cell-id}",requiredProps="cell-id,cell-name,radio-access-technology") + + + + + + + @org.onap.aai.annotations.Metadata(isKey=true,description="Unique id of Cell. This is unique across the graph.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Name of Cell.",suggestibleOnSearch="true") + + + + + + + @org.onap.aai.annotations.Metadata(description="Radio access technology of the Cell, i.e. 5G.",suggestibleOnSearch="true") + + + + + + + @org.onap.aai.annotations.Metadata(description="Type of Cell.",suggestibleOnSearch="true") + + + + + + + @org.onap.aai.annotations.Metadata(description="Local id of Cell.",suggestibleOnSearch="true") + + + + + + + @org.onap.aai.annotations.Metadata(description="Operator specific Cell identifier.",suggestibleOnSearch="true") + + + + + + + @org.onap.aai.annotations.Metadata(description="Cell's node id (like gNodeb id, eNodeb id).",suggestibleOnSearch="true") + + + + + + + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="Path to the extended object properties.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the entity that is responsible managing this inventory object.",ownerCheck="N/A") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the upstream source of the data.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Identifies the version of the upstream source.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency. Must be empty on create, valid on update and delete.") + + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="Collection of Cells") + + + + + + + @@ -18469,6 +18669,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_ccvpn_v27.json b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_ccvpn_v27.json index a8b1936..8aa9ac9 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_ccvpn_v27.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_ccvpn_v27.json @@ -1,4 +1,3 @@ - { "rules": [ { @@ -169,6 +168,19 @@ "default": "true", "description":"For CCVPN Usecase" }, + { + "from": "site-resource", + "to": "site-resource", + "label": "org.onap.relationships.inventory.Supports", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "For Cell Usecase" + }, { "from": "sdwan-vpn", "to": "service-instance", @@ -277,6 +289,18 @@ "default": "true", "description":"For CCVPN Usecase" }, + { + "from": "site-resource", + "to": "pnf", + "label": "org.onap.relationships.inventory.PartOf", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For Cell Usecase" + }, { "from": "wan-port-config", "to": "generic-vnf", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_v27.json b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_v27.json index 6ae0dc6..e649dba 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_v27.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_v27.json @@ -456,6 +456,139 @@ "default": "true", "description": "" }, + { + "from": "cell", + "to": "complex", + "label": "org.onap.relationships.inventory.LocatedIn", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "!${direction}", + "default": "true", + "description": "" + }, + { + "from": "cell", + "to": "geo-region", + "label": "org.onap.relationships.inventory.MemberOf", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "The cell associated to a geo-region" + }, + { + "from": "cell", + "to": "object-groups", + "label": "org.onap.relationships.inventory.MemberOf", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "neighbour", + "to": "cell", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "neighbour", + "to": "cell", + "label": "org.onap.relationships.inventory.Destination", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "NONE", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "cell", + "to": "service-instance", + "label": "org.onap.relationships.inventory.ControlledBy", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "cell", + "to": "generic-vnf", + "label": "org.onap.relationships.inventory.ControlledBy", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "generic-vnf", + "to": "generic-vnf", + "label": "org.onap.relationships.inventory.Supports", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "For Cell Use Case" + }, + { + "from": "cell", + "to": "pnf", + "label": "org.onap.relationships.inventory.ControlledBy", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "cell", + "to": "site-resource", + "label": "org.onap.relationships.inventory.ControlledBy", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, + { + "from": "cell", + "to": "allotted-resource", + "label": "org.onap.relationships.inventory.ControlledBy", + "direction": "OUT", + "multiplicity": "MANY2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description": "" + }, { "from": "generic-vnf", "to": "availability-zone", diff --git a/aai-schema/src/main/resources/onap/oxm/v27/aai_oxm_v27.xml b/aai-schema/src/main/resources/onap/oxm/v27/aai_oxm_v27.xml index bca47ac..7da6d13 100644 --- a/aai-schema/src/main/resources/onap/oxm/v27/aai_oxm_v27.xml +++ b/aai-schema/src/main/resources/onap/oxm/v27/aai_oxm_v27.xml @@ -5384,6 +5384,7 @@ + @@ -7242,6 +7243,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17004,4 +17185,3 @@ - -- cgit 1.2.3-korg