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.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/policy-local-files/Capacity_vG_1.json b/test/policy-local-files/Capacity_vG_1.json
index f311650..c1682fa 100644
--- a/test/policy-local-files/Capacity_vG_1.json
+++ b/test/policy-local-files/Capacity_vG_1.json
@@ -1,20 +1,20 @@
{
- "service": "capacityPolicy",
- "policyName": "oofBeijing.capacityPolicy_vG",
+ "service": "vim_fit",
+ "policyName": "OSDF_R2.Capacity_vG_1",
"description": "Capacity policy for vG",
- "templateVersion": "1702.03",
- "version": "oofBeijing",
+ "templateVersion": "OpenSource.version.1",
+ "version": "test1",
"priority": "5",
"riskType": "test",
"riskLevel": "2",
"guard": "False",
"content": {
"identity": "capacity_vG",
- "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vG", "vim_fit"],
+ "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vG"],
"resources": ["vG"],
"capacityProperty": {
"controller": "multicloud",
- "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": 16, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": 40, \"unit\": \"GB\"}}"
+ "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
},
"policyType": "vim_fit",
"applicableResources": "any"