From cfd3f02ea5c9d6eb01d6d9ddd10c5da9778c35a1 Mon Sep 17 00:00:00 2001 From: Marcin Krasowski Date: Tue, 3 Aug 2021 10:05:34 +0200 Subject: AAI information model extended with object to hold basic information about k8s resources. AAI was extended with the object to hold basic information on kubernetes resources (CNF) and its relations to other entities like tenant, vnf modules etc. More can be found here: https://wiki.onap.org/display/DW/Simplified+K8S+Resource+Model+-+IM Issue-ID: AAI-3205 Signed-off-by: Marcin Krasowski Change-Id: Iec879011d604438c4ae0e2991bf945edd6f48e08 --- .../onap/dbedgerules/v24/DbEdgeRules_v24.json | 35 ++++++++++- .../main/resources/onap/oxm/v24/aai_oxm_v24.xml | 68 +++++++++++++++++++++- 2 files changed, 101 insertions(+), 2 deletions(-) (limited to 'aai-schema/src/main/resources/onap') diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json b/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json index 6826a78..b289a6b 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v24/DbEdgeRules_v24.json @@ -6352,6 +6352,39 @@ "prevent-delete": "NONE", "default": "true", "description":"Used by Auditing applications to identify appropriate audit models based on the platform associated with the given object" - } + },{ + "from": "k8s-resource", + "to": "tenant", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "NONE", + "prevent-delete": "!${direction}", + "default": "true", + "description":"" + },{ + "from": "vf-module", + "to": "k8s-resource", + "label": "org.onap.relationships.inventory.Uses", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"" + },{ + "from": "generic-vnf", + "to": "k8s-resource", + "label": "tosca.relationships.HostedOn", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"" + } ] } diff --git a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml index 6c730a3..c0c2c87 100644 --- a/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml +++ b/aai-schema/src/main/resources/onap/oxm/v24/aai_oxm_v24.xml @@ -1671,6 +1671,7 @@ + @@ -15751,7 +15752,72 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg