summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Capacity_vG_1.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/policy-local-files/Capacity_vG_1.json')
-rw-r--r--test/policy-local-files/Capacity_vG_1.json17
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"
}
}