summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json
diff options
context:
space:
mode:
Diffstat (limited to 'test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json')
-rw-r--r--test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json b/test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json
new file mode 100644
index 0000000..06896c3
--- /dev/null
+++ b/test/policy-local-files/has_policies_r2/Capacity_vGMuxInfra.json
@@ -0,0 +1,22 @@
+{
+ "service": "capacityPolicy",
+ "policyName": "oofBeijing.capacityPolicy_vGMuxInfra",
+ "description": "Capacity policy for vGMuxInfra",
+ "templateVersion": "1702.03",
+ "version": "oofBeijing",
+ "priority": "5",
+ "riskType": "test",
+ "riskLevel": "2",
+ "guard": "False",
+ "content": {
+ "identity": "capacity_vGMuxInfra",
+ "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vim_fit"],
+ "resources": ["vGMuxInfra"],
+ "capacityProperty": {
+ "controller": "multicloud",
+ "request": "{\"vCPU\": 10, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\", \"unit\": \"GB\"}}}"
+ },
+ "policyType": "vim_fit",
+ "applicableResources": "any"
+ }
+}