Allow relationship from vf-module to tenant 21/112821/1
authorMunir Ahmad <munir.ahmad@bell.ca>
Thu, 17 Sep 2020 12:20:15 +0000 (08:20 -0400)
committerMunir Ahmad <munir.ahmad@bell.ca>
Thu, 17 Sep 2020 12:20:15 +0000 (08:20 -0400)
this is to consistently link a vf-module (smallest deployable unit) to tenant.
currently vserver is under a tenant however if a vf-module does not have a vserver
there is no consistent way of determining under which tenant it is deployed
Issue-ID: AAI-3185

Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
Change-Id: I11641c6300e7e5a4bd503736d1072af58f8c21b8

aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json

index 6bf69bf..833be5f 100644 (file)
                        "default": "true",
                        "description": ""
                },
+                {
+                        "from": "vf-module",
+                        "to": "tenant",
+                        "label": "tosca.relationships.HostedOn",
+                        "direction": "OUT",
+                        "multiplicity": "MANY2ONE",
+                        "contains-other-v": "NONE",
+                        "delete-other-v": "NONE",
+                        "prevent-delete": "NONE",
+                        "default": "true",
+                        "description": ""
+                },
                {
                        "from": "pserver",
                        "to": "group-assignment",