diff options
author | Srinivasan Ramanathan <srinivasan.ramanathan2@us.fujitsu.com> | 2020-03-04 11:15:33 +0000 |
---|---|---|
committer | Srinivasan Ramanathan <srinivasan.ramanathan2@us.fujitsu.com> | 2020-03-04 11:24:12 +0000 |
commit | 8bced7102e5144aa974ee087ee6ad7a555fdacec (patch) | |
tree | 02f225149d7e641a3f5e71f50b0f473ae98186ad /aai-schema/src/main/resources/onap/dbedgerules | |
parent | e5ad56ac9ff04b996cb0c648989b393d69aeff22 (diff) |
ENNI changes for MDONS usecase
Added new attribute bandwidth-attribute for ENNI
Made changes for AAI cleanup upon 3rd party SDNC Deregistration
Change-Id: I493c994db55333b84e5ec66f36b51c5b27ad7f8a
Issue-ID: AAI-2804
Signed-off-by: Srinivasan Ramanathan <srinivasan.ramanathan2@us.fujitsu.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules')
3 files changed, 43 insertions, 7 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json index 9306ba6..5856f20 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json @@ -103,8 +103,8 @@ "direction": "OUT", "multiplicity": "MANY2MANY", "contains-other-v": "NONE", - "delete-other-v": "NONE", - "prevent-delete": "${direction}", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", "default": "true", "description":"For CCVPN Usecase" }, @@ -479,6 +479,42 @@ "prevent-delete": "NONE", "default": "true", "description":"" - } + }, + { + "from": "bandwidth-attribute", + "to": "p-interface", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS usecase" + }, + { + "from": "available-bandwidth", + "to": "bandwidth-attribute", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS usecase" + }, + { + "from": "label-restriction", + "to": "bandwidth-attribute", + "label": "org.onap.relationships.inventory.BelongsTo", + "direction": "OUT", + "multiplicity": "MANY2ONE", + "contains-other-v": "!${direction}", + "delete-other-v": "!${direction}", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS usecase" + } ] } diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json index 9849616..0c02671 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json @@ -63,11 +63,11 @@ { "from": "esr-thirdparty-sdnc", "to": "network-resource", - "label": "org.onap.relationships.inventory.AppliesTo", + "label": "org.onap.relationships.inventory.BelongsTo", "direction": "OUT", "multiplicity": "ONE2MANY", "contains-other-v": "NONE", - "delete-other-v": "NONE", + "delete-other-v": "${direction}", "SVC-INFRA": "NONE", "prevent-delete": "NONE", "default": "true", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json index a4ad903..e8407cd 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json @@ -1469,9 +1469,9 @@ "to": "logical-link", "label": "tosca.relationships.network.LinksTo", "direction": "OUT", - "multiplicity": "MANY2ONE", + "multiplicity": "MANY2MANY", "contains-other-v": "NONE", - "delete-other-v": "NONE", + "delete-other-v": "!${direction}", "prevent-delete": "NONE", "default": "true", "description":"" |