aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
diff options
context:
space:
mode:
authoraditya.puthuparambil <aditya.puthuparambil@est.tech>2020-06-12 16:39:27 +0100
committeraditya.puthuparambil <aditya.puthuparambil@est.tech>2020-06-12 17:17:09 +0100
commitccfe8ca881e3764cebc132f2fa5832493721130f (patch)
treee0a36680d121a0cf5ca37a0ef9993bcd6ef2099c /models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
parent53bc2418c365246d457a09d2cded0d9bde9c212b (diff)
Adding 'name' to yamls and json in model
Issue-ID: POLICY-2052 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I3629a2b6f9e93f6d8166e63862d15dd0198865af
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json')
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json18
1 files changed, 16 insertions, 2 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
index 406d12e13..19afd8cf2 100644
--- a/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vCPE.policies.optimization.input.tosca.json
@@ -7,6 +7,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default",
"policy-version": 1
@@ -30,6 +31,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default_US",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default_US",
"policy-version": 1
@@ -55,6 +57,7 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Affinity_Default_vCPE_US_0",
"policy-version": 1
@@ -82,8 +85,9 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1",
"metadata": {
- "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
+ "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_US_Gold_1",
"policy-version": 1
},
"properties": {
@@ -115,8 +119,9 @@
"type": "onap.policies.optimization.resource.AffinityPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1",
"metadata": {
- "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_1",
+ "policy-id": "OSDF_CASABLANCA.Affinity_vCPE_US_Platinum_1",
"policy-version": 1
},
"properties": {
@@ -148,6 +153,7 @@
"type": "onap.policies.optimization.resource.Vim_fit",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Capacity_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Capacity_vG_1",
"policy-version": 1
@@ -178,6 +184,7 @@
"type": "onap.policies.optimization.resource.Vim_fit",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Capacity_vG_2",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Capacity_vG_2",
"policy-version": 1
@@ -208,6 +215,7 @@
"type": "onap.policies.optimization.resource.DistancePolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.Distance_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.Distance_vG_1",
"policy-version": 1
@@ -244,6 +252,7 @@
"type": "onap.policies.optimization.resource.HpaPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.hpa_policy_Default",
"metadata": {
"policy-id": "OSDF_CASABLANCA.hpa_policy_Default",
"policy-version": 1
@@ -321,6 +330,7 @@
"type": "onap.policies.optimization.resource.HpaPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.hpa_policy_vG_1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.hpa_policy_vG_1",
"policy-version": 1
@@ -403,6 +413,7 @@
"type": "onap.policies.optimization.service.QueryPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.queryPolicy_vCPE",
"metadata": {
"policy-id": "OSDF_CASABLANCA.queryPolicy_vCPE",
"policy-version": 1
@@ -452,6 +463,7 @@
"type": "onap.policies.optimization.service.SubscriberPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.SubscriberPolicy_v1",
"metadata": {
"policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v1",
"policy-version": 1
@@ -482,6 +494,7 @@
"type": "onap.policies.optimization.service.SubscriberPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.SubscriberPolicy_v2",
"metadata": {
"policy-id": "OSDF_CASABLANCA.SubscriberPolicy_v2",
"policy-version": 1
@@ -512,6 +525,7 @@
"type": "onap.policies.optimization.resource.VnfPolicy",
"version": "1.0.0",
"type_version": "1.0.0",
+ "name": "OSDF_CASABLANCA.vnfPolicy_vG",
"metadata": {
"policy-id": "OSDF_CASABLANCA.vnfPolicy_vG",
"policy-version": 1