From cb57b1a16fcbf3faa2cbb7e8722a058ba76a2969 Mon Sep 17 00:00:00 2001 From: Dileep Ranganathan Date: Tue, 11 Sep 2018 10:20:15 -0700 Subject: 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 --- .../onap/dbedgerules/v14/DbEdgeRules_hpa_v14.json | 25 +++++++++++++++++++ .../main/resources/onap/oxm/v14/aai_oxm_v14.xml | 28 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) (limited to 'aai-schema/src') 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg