From: Dileep Ranganathan Date: Tue, 11 Sep 2018 17:20:15 +0000 (-0700) Subject: HPA Telemetry Schema X-Git-Tag: 1.3.0~20^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cb57b1a16fcbf3faa2cbb7e8722a058ba76a2969;p=aai%2Faai-common.git 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 --- 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" } ] } diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml index 15ef2770..0996468a 100644 --- a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml +++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml @@ -2106,6 +2106,7 @@ + @@ -2119,6 +2120,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +