AAI schema changes for Cells
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v27 / DbEdgeRules_v27.json
index 6ae0dc6..e649dba 100644 (file)
             "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",