diff options
author | Ankitkumar Patel <ankit@research.att.com> | 2018-05-19 12:47:27 -0400 |
---|---|---|
committer | Ankitkumar Patel <ankit@research.att.com> | 2018-05-19 12:48:14 -0400 |
commit | 8ea30a38468373dfd9715d720c085c8a6ac4ee29 (patch) | |
tree | 7d6bac9fdc2b963b9960962ffa5b04c167d3f055 /test/policy-local-files/Capacity_vGMuxInfra.json | |
parent | 12f9060558172ee282c6fb1b18e9955f00a41807 (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_vGMuxInfra.json')
-rw-r--r-- | test/policy-local-files/Capacity_vGMuxInfra.json | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/policy-local-files/Capacity_vGMuxInfra.json b/test/policy-local-files/Capacity_vGMuxInfra.json index 0225d40..2578544 100644 --- a/test/policy-local-files/Capacity_vGMuxInfra.json +++ b/test/policy-local-files/Capacity_vGMuxInfra.json @@ -1,20 +1,20 @@ { - "service": "capacityPolicy", - "policyName": "oofBeijing.capacityPolicy_vGMuxInfra", + "service": "vim_fit", + "policyName": "OSDF_R2.Capacity_vGMuxInfra", "description": "Capacity policy for vGMuxInfra", - "templateVersion": "1702.03", - "version": "oofBeijing", + "templateVersion": "OpenSource.version.1", + "version": "test1", "priority": "5", "riskType": "test", "riskLevel": "2", "guard": "False", "content": { "identity": "capacity_vGMuxInfra", - "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vim_fit"], + "policyScope": ["VCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra"], "resources": ["vGMuxInfra"], "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" |