summaryrefslogtreecommitdiffstats
path: root/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_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/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_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/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json')
-rw-r--r--test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json
index 9b832f6..f50ed6d 100644
--- a/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json
+++ b/test/functest/simulators/policy/response-payloads/pdp-has-vcpe-good/hpa_policy_vG_1.json
@@ -1,18 +1,18 @@
{
"service": "hpaPolicy",
- "policyName": "oofBeijing.hpaPolicy_vG",
+ "policyName": "OSDF_R2.hpa_policy_vG_1",
"description": "HPA policy for vG",
- "templateVersion": "0.0.1",
- "version": "1.0",
+ "templateVersion": "OpenSource.version.1",
+ "version": "test1",
"priority": "3",
"riskType": "test",
"riskLevel": "2",
"guard": "False",
"content": {
- "resources": ["vG"],
+ "resources": "vG",
"identity": "hpaPolicy_vG",
- "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG", "hpaPolicy"],
- "policyType": "hpa",
+ "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vG"],
+ "policyType": "hpaPolicy",
"flavorFeatures": [
{
"flavorLabel": "flavor_label_vm_01",
@@ -85,7 +85,7 @@
"score" : "5",
"architecture": "generic",
"hpa-feature-attributes": [
- {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
+ {"hpa-attribute-key": "diskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
{"hpa-attribute-key": "ephemeralDiskSize", "hpa-attribute-value": "2", "operator": "=", "unit": "GB"},
{"hpa-attribute-key": "swapMemSize", "hpa-attribute-value":"16", "operator": "=", "unit": "MB"}
]