aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json
diff options
context:
space:
mode:
authorHarish Venkata Kajur <vk250x@att.com>2020-12-12 00:07:13 +0530
committerHarish Venkata Kajur <vk250x@att.com>2020-12-12 00:07:27 +0530
commit64f40b4d7b4a7a013aa86ef6b7a94f13718be28d (patch)
tree458d593c7985c2224a89b3ae8d4f8670c9d51462 /aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json
parenta7e04ac9a1faaa6b219cd1544269f04fa04ddd9b (diff)
Add support for v22 oxm
Issue-ID: AAI-3200 Change-Id: Ib392325a05155c98824726bb5198604bbfbb4d3c Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json68
1 files changed, 68 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json b/aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json
new file mode 100644
index 0000000..a2d4444
--- /dev/null
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v22/DbEdgeRules_hpa_v22.json
@@ -0,0 +1,68 @@
+{
+ "rules": [
+ {
+ "from": "hpa-capability",
+ "to": "flavor",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "hpa-capability",
+ "to": "cloud-region",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "NONE",
+ "prevent-delete": "!${direction}",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "hpa-feature-attributes",
+ "to": "hpa-capability",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "SVC-INFRA": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":""
+ },
+ {
+ "from": "hpa-capacity",
+ "to": "pserver",
+ "label": "org.onap.relationships.inventory.BelongsTo",
+ "direction": "OUT",
+ "multiplicity": "MANY2ONE",
+ "contains-other-v": "!${direction}",
+ "delete-other-v": "!${direction}",
+ "SVC-INFRA": "!${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"HPA Capacity KV for given compute node"
+ },
+ {
+ "from": "flavor",
+ "to": "pserver",
+ "label": "org.onap.relationships.inventory.CanBeInstantiatedIn",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"HPA Capacity getting the compute nodes from given flavor"
+ }
+ ]
+}