Fixed tosca models, updated code and policies
[optf/osdf.git] / test / policy-local-files / Distance_vFW_1.json
diff --git a/test/policy-local-files/Distance_vFW_1.json b/test/policy-local-files/Distance_vFW_1.json
new file mode 100644 (file)
index 0000000..8c94f37
--- /dev/null
@@ -0,0 +1,22 @@
+{
+  "service": "distancePolicy",
+  "policyName": "OSDF_CASABLANCA.Distance_vFW_1",
+  "description": "Distance Policy for vFW",
+  "templateVersion": "OpenSource.version.1",
+  "version": "test1",
+  "priority": "3",
+  "riskType": "test",
+  "riskLevel": "2",
+  "guard": "False",
+  "content": {
+    "distanceProperties": {
+      "locationInfo": "customer_loc",
+      "distance": { "value": "100", "operator": "<", "unit": "km" }
+    },
+    "identity": "distance-vFW",
+    "resources": ["vFW"],
+    "policyScope": ["vFW", "US", "INTERNATIONAL", "ip"],
+    "policyType": "distance_to_location",
+    "applicableResources": "any"
+  }
+}