From 6301153359a3b12a845f7678519ef75d00e5aec2 Mon Sep 17 00:00:00 2001 From: Munir Ahmad Date: Thu, 17 Sep 2020 08:20:15 -0400 Subject: [PATCH] Allow relationship from vf-module to tenant 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 Change-Id: I11641c6300e7e5a4bd503736d1072af58f8c21b8 --- .../main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json index 6bf69bf..833be5f 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json @@ -720,6 +720,18 @@ "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", -- 2.16.6