diff options
author | Sastry Isukapalli <sastry@research.att.com> | 2018-03-27 17:23:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-27 17:23:40 +0000 |
commit | a775ec8b904a0ea7ed863726ffe7f7d9b363d47a (patch) | |
tree | 890e6ecab0262132c7f08c6df1ac5177c4b30f3c /test/policy-local-files/Capacity_vG_1.json | |
parent | 477092abdb41449158538dfd49d8cd25c5c8e42a (diff) | |
parent | f1e95cd95c05be145c3fde9f08404724937edf49 (diff) |
Merge "Updates to address new HPA policies"
Diffstat (limited to 'test/policy-local-files/Capacity_vG_1.json')
-rw-r--r-- | test/policy-local-files/Capacity_vG_1.json | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/policy-local-files/Capacity_vG_1.json b/test/policy-local-files/Capacity_vG_1.json index d5644a8..851ea49 100644 --- a/test/policy-local-files/Capacity_vG_1.json +++ b/test/policy-local-files/Capacity_vG_1.json @@ -1,7 +1,7 @@ { "service": "capacityPolicy", - "policyName": "oofBeijing.capacityPolicy_vGMuxInfra", - "description": "Capacity policy for vGMuxInfra", + "policyName": "oofBeijing.capacityPolicy_vG", + "description": "Capacity policy for vG", "templateVersion": "1702.03", "version": "oofBeijing", "priority": "5", @@ -9,13 +9,14 @@ "riskLevel": "2", "guard": "False", "content": { - "identity": "capacity_vGMuxInfra", - "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vG"], - "resources": ["vG"], + "identity": "capacity_vG", + "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vG", "vim_fit"], + "resources": ["vG"], "capacityProperty": { - "cpu": {"value": 2, "operator": ">"}, - "memory": {"value": 4, "operator": ">", "unit": "Gb"} + "controller": "multicloud", + "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\", \"unit\": \"GB\"}}}" }, - "policyType": "capacityPolicy" + "policyType": "vim_fit", + "applicableResources": "any" } } |