From: Keong Lim Date: Thu, 22 Nov 2018 00:03:09 +0000 (+1100) Subject: AAI-1926 Fix EdgeRules for Dublin X-Git-Tag: 1.4.0~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F73308%2F1;p=aai%2Faai-common.git AAI-1926 Fix EdgeRules for Dublin Issue-ID: AAI-1926 Fix EdgeRules for Dublin, rework AAI-1925 instead of cherry-pick. Fix EdgeRule for allotted-resource to allotted-resource in main json. Fix EdgeRule for allotted-resource to p-interface in ccvpn json. Change-Id: I32c404f48583fc7d770e65fbff0b23afb0320245 Signed-off-by: Keong Lim --- diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json index df28f23d..fb455895 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v13/DbEdgeRules_v13.json @@ -1,5 +1,17 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "allotted-resource", + "label": "tosca.relationships.network.BindsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, { "from": "allotted-resource", "to": "generic-vnf", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json index 8231b16a..90c6af32 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json @@ -1,5 +1,17 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "p-interface", + "label": "org.onap.relationships.inventory.Uses", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925 For CCVPN Usecase" + }, { "from": "vpn-binding", "to": "p-interface", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json index fe258453..9db424d5 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_v14.json @@ -1,5 +1,17 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "allotted-resource", + "label": "tosca.relationships.network.BindsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, { "from": "allotted-resource", "to": "generic-vnf", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_ccvpn_v15.json b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_ccvpn_v15.json index 1b6d9405..68f29865 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_ccvpn_v15.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_ccvpn_v15.json @@ -1,5 +1,17 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "p-interface", + "label": "org.onap.relationships.inventory.Uses", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925 For CCVPN Usecase" + }, { "from": "vpn-binding", "to": "p-interface", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json index 2704b743..a0dbf258 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v15/DbEdgeRules_v15.json @@ -1,5 +1,17 @@ { "rules": [ + { + "from": "allotted-resource", + "to": "allotted-resource", + "label": "tosca.relationships.network.BindsTo", + "direction": "OUT", + "multiplicity": "ONE2ONE", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"AAI-1925" + }, { "from": "allotted-resource", "to": "generic-vnf",