aboutsummaryrefslogtreecommitdiffstats
path: root/test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-05-24 23:52:26 +0000
committerGary Wu <gwu@futurewei.com>2019-05-29 17:23:41 +0000
commit1f3c8d6b67fcfdc0bcb95d3b283b232a4bb56cbb (patch)
treec2e9afce785c164cfad09ccb0e1cbdbe7aaaeb9a /test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx
parentc43f25d5a256091c17d4f15d1c9287906cd4a7b7 (diff)
Modified hpa_automation.py script
-Added more files required to run this script -Added a README file -Added sample hpa polices Issue-ID: INT-905 INT-904 INT-794 Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Change-Id: I5c77924863a9517ecaf7caaeb860c3c113a7b9d2
Diffstat (limited to 'test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx')
-rw-r--r--test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx b/test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx
new file mode 100644
index 000000000..fcea4689b
--- /dev/null
+++ b/test/hpa_automation/heat/sample_vfw_policies/DistancePolicy.tx
@@ -0,0 +1 @@
+{\"service\":\"distancePolicy\",\"guard\":\"False\",\"content\":{\"policyType\":\"distance_to_location\",\"applicableResources\":\"any\",\"identity\":\"distance-vFW\",\"policyScope\":[\"vfw\",\"us\",\"international\",\"ip\"],\"distanceProperties\":{\"distance\":{\"value\":\"100\",\"unit\":\"km\",\"operator\":\"<\"},\"locationInfo\":\"customer_loc\"},\"resources\":[\"vFW\",\"resource_name\"]},\"priority\":\"3\",\"templateVersion\":\"OpenSource.version.1\",\"riskLevel\":\"2\",\"description\":\"DistancePolicyforvFW\",\"policyName\":\"OSDF_CASABLANCA.Distance_vFWHPA_2\",\"version\":\"test1\",\"riskType\":\"test\"}