aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules
diff options
context:
space:
mode:
authorAleem Raja <aleem.raja@t-systems.com>2023-02-24 15:05:54 +0000
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>2023-03-17 09:50:15 +0000
commitc075e5faec2a176be33b6474a5a90d2a1c0a20de (patch)
tree3b7342268bd4a8d8d4d62a4e1f4e39d6fa930538 /aai-schema/src/main/resources/onap/dbedgerules
parent1e2d336a332c3b58d07ebc6d4e9c448178281ee3 (diff)
AAI schema changes for Cells
Cell and Neighbour objects added with required relationships. Issue-ID: AAI-3625 Signed-off-by: Aleem Raja <aleem.raja@t-systems.com> Change-Id: Iaece7985ae2d35a4f9b150b8f33686db4ac3319e
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_ccvpn_v27.json26
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v27/DbEdgeRules_v27.json133
2 files changed, 158 insertions, 1 deletions
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": [
{
@@ -170,6 +169,19 @@
"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",
"label": "org.onap.relationships.inventory.PartOf",
@@ -278,6 +290,18 @@
"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",
"label": "org.onap.relationships.inventory.PartOf",
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
@@ -457,6 +457,139 @@
"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",
"label": "org.onap.relationships.inventory.Uses",