summaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json
diff options
context:
space:
mode:
authorAnkitkumar Patel <ankit@research.att.com>2018-03-26 12:34:28 -0400
committerAnkitkumar Patel <ankit@research.att.com>2018-03-26 13:48:11 -0400
commitdcdf9d8f98b6f472b37a264d93ede2845e39853c (patch)
tree0e98aab9f9923d07ad8d112ab117d390d39d18fe /test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json
parentbc1d288ac29c3c9bf968cea5ac2d95b8bcd67eae (diff)
Inserted policy tosca models and examples
Uploaded the policy tosca models and policy examples for HAS. Issue-ID: OPTFRA-27 Change-Id: I96ae70c5fe34ce7f40f461801e149d81afa52ea3 Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
Diffstat (limited to 'test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json')
-rw-r--r--test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json b/test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json
new file mode 100644
index 0000000..9a9de6b
--- /dev/null
+++ b/test/policy-local-files/has_policies_r2/Affinity_vCPE_1.json
@@ -0,0 +1,37 @@
+{
+ "service": "optimizationQueryPolicy",
+ "policyName": "oofBeijing.queryPolicy_vCPE",
+ "description": "Optimization query policy for vCPE",
+ "templateVersion": "0.0.1",
+ "version": "oofBeijing",
+ "priority": "3",
+ "riskType": "test",
+ "riskLevel": "2",
+ "guard": "False",
+ "content": {
+ "queryProperties": [
+ {
+ "attribute": "locationId",
+ "value": "orderInfo.customerLocation"
+ },
+ {
+ "attribute": "id",
+ "value": "orderInfo.vpnInfo"
+ },
+ {
+ "attribute": "upstreamBW",
+ "value": "orderInfo.vpnInfo"
+ }
+ ],
+ "policyScope": [
+ "vCPE",
+ "US",
+ "INTERNATIONAL",
+ "ip",
+ "vGMuxInfra",
+ "vG",
+ "optimizationQueryPolicy"
+ ],
+ "policyType": "optimizationQueryPolicy"
+ }
+}