aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2020-09-17 08:20:15 -0400
committerMunir Ahmad <munir.ahmad@bell.ca>2020-09-17 08:20:15 -0400
commit6301153359a3b12a845f7678519ef75d00e5aec2 (patch)
tree5aaac1b6d6d95c1b7a36c23fb9d4589eac961373
parentcad12a0205c9a9154ac16803e917e2f08d5f72f6 (diff)
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 <munir.ahmad@bell.ca> Change-Id: I11641c6300e7e5a4bd503736d1072af58f8c21b8
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json12
1 files changed, 12 insertions, 0 deletions
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",