summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Capacity_vG_1.json
diff options
context:
space:
mode:
authorAnkitkumar Patel <ankit@research.att.com>2018-05-19 12:47:27 -0400
committerAnkitkumar Patel <ankit@research.att.com>2018-05-19 12:48:14 -0400
commit8ea30a38468373dfd9715d720c085c8a6ac4ee29 (patch)
tree7d6bac9fdc2b963b9960962ffa5b04c167d3f055 /test/policy-local-files/Capacity_vG_1.json
parent12f9060558172ee282c6fb1b18e9955f00a41807 (diff)
Fix the bug in translating a policy
Fix the bug in translating the VNF policy Issue-ID: OPTFRA-239 Change-Id: I0c9f678f22fec4eb3f5e190ea0080c899fb95445 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
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"