summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json
diff options
context:
space:
mode:
authorDileep Ranganathan <dileep.ranganathan@intel.com>2018-09-11 10:20:15 -0700
committerDileep Ranganathan <dileep.ranganathan@intel.com>2018-09-11 23:47:54 -0700
commitcb57b1a16fcbf3faa2cbb7e8722a058ba76a2969 (patch)
treedff7e277a5f06c169ab39363fc6976eba96c2fc4 /aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json
parentcedf38e1f1f7e1415fea9e4e321212ea45f4643c (diff)
HPA Telemetry Schema
Added HPA Capacity type in the schema. Added Capacity information to Compute Nodes in the pserver object Added relationships for pserver and flavor, pserver and hpa-capacity Change-Id: I326ed9dd13d94082e532ebaf7286af7a43d9117c Issue-ID: AAI-1593 Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json
index 11ea1b54..a2d44442 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json
@@ -38,6 +38,31 @@
"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"
}
]
}