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/QueryPolicy_vCPE.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/QueryPolicy_vCPE.json')
-rw-r--r-- | test/policy-local-files/QueryPolicy_vCPE.json | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test/policy-local-files/QueryPolicy_vCPE.json b/test/policy-local-files/QueryPolicy_vCPE.json index 03c457e..27f49d2 100644 --- a/test/policy-local-files/QueryPolicy_vCPE.json +++ b/test/policy-local-files/QueryPolicy_vCPE.json @@ -1,23 +1,21 @@ { "service": "optimizationQueryPolicy", - "policyName": "oofBeijing.queryPolicy_vCPE", + "policyName": "OSDF_R2.QueryPolicy_vCPE", "description": "Optimization query policy for vCPE", - "templateVersion": "0.0.1", - "version": "oofBeijing", + "templateVersion": "OpenSource.version.1", + "version": "test1", "priority": "3", "riskType": "test", "riskLevel": "2", "guard": "False", "content": { "queryProperties": [ - {"attribute":"locationId", "attribute_location": "customerLocation", "value": ""}, - {"attribute":"id", "attribute_location": "vpnInfo.vpnId", "value": ""}, - {"attribute":"upstreamBW", "attribute_location": "vpnInfo.upstreamBW", "value": ""}, - {"attribute":"customerLatitude", "attribute_location": "customerLatitude", "value": 32.89748}, - {"attribute":"customerLongitude", "attribute_location": "customerLongitude", "value": -97.040443} + {"attribute":"customerLatitude", "attribute_location": "customerLatitude"}, + {"attribute":"customerLongitude", "attribute_location": "customerLongitude"} ], + "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG"], + "policyType": "optimizationQueryPolicy", "serviceName": "vCPE", - "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG", "optimizationQueryPolicy"], - "policyType": "optimizationQueryPolicy" + "identity": "vCPE_Query_Policy" } } |