summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-08-15 15:32:17 +1000
committerKeong Lim <keong.lim@huawei.com>2018-09-11 01:20:53 +1000
commitba8a352eaab57a09d958b718b5c5a3b5410c2fe5 (patch)
treec78f7b6e4f0bba59e461a2f958c47ea2d4aca980 /aai-schema/src/main/resources/onap/dbedgerules
parenta6872c558e2e584422bc4dc24e233e6757c34281 (diff)
AAI-1481 Add network-resource for CCVPN usecase
Issue-ID: AAI-1481 Add network-resource element to network namespace. Add CCVPN EdgeRules for network-resource to vpn-binding and pnf. Update multiplicity. Change pnf from sub-component to COUSIN edge as workaround. Change-Id: I4b288406a272ccdb6243d1e13555a02aa6354a83 Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json24
1 files changed, 24 insertions, 0 deletions
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 c5f2f1d1..3f77fbb7 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
@@ -71,6 +71,30 @@
"prevent-delete": "!${direction}",
"default": "true",
"description":"For CCVPN Usecase"
+ },
+ {
+ "from": "network-resource",
+ "to": "vpn-binding",
+ "label": "org.onap.relationships.inventory.Uses",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"For CCVPN Usecase"
+ },
+ {
+ "from": "pnf",
+ "to": "network-resource",
+ "label": "tosca.relationships.network.LinksTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
+ "prevent-delete": "${direction}",
+ "default": "true",
+ "description":"For CCVPN Usecase"
}
]
}