aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Capacity_vGMuxInfra.json
diff options
context:
space:
mode:
authorAnkitkumar Patel <ankit@research.att.com>2018-03-27 11:54:53 -0400
committerAnkitkumar Patel <ankit@research.att.com>2018-03-27 11:55:13 -0400
commitf1e95cd95c05be145c3fde9f08404724937edf49 (patch)
tree9b189af4508a2450dc92132e761beebed18ec168 /test/policy-local-files/Capacity_vGMuxInfra.json
parent4de3bb8c9f62f15d6aeb965f9d4c47edb7efd2e9 (diff)
Updates to address new HPA policies
Issue-ID: OPTFRA-100 Change-Id: Iaff7b50dc5394546cc46591bef9b054cd6cde792 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
Diffstat (limited to 'test/policy-local-files/Capacity_vGMuxInfra.json')
-rw-r--r--test/policy-local-files/Capacity_vGMuxInfra.json11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/policy-local-files/Capacity_vGMuxInfra.json b/test/policy-local-files/Capacity_vGMuxInfra.json
index 9eec54d..06896c3 100644
--- a/test/policy-local-files/Capacity_vGMuxInfra.json
+++ b/test/policy-local-files/Capacity_vGMuxInfra.json
@@ -10,12 +10,13 @@
"guard": "False",
"content": {
"identity": "capacity_vGMuxInfra",
- "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"],
- "resources": ["vGMuxInfra"],
+ "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vim_fit"],
+ "resources": ["vGMuxInfra"],
"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"
}
}