aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files/Capacity_vFW_1.json
diff options
context:
space:
mode:
authorChayal, Avteet (ac229e) <ac229e@att.com>2018-11-01 03:47:26 +0000
committerChayal, Avteet (ac229e) <ac229e@att.com>2018-11-01 03:47:53 +0000
commit49570621115a7f5c89e607e52decb7aa583af4f6 (patch)
treec812523cdc152d0ad2be66df069eb8b89bc4eb76 /test/policy-local-files/Capacity_vFW_1.json
parent99be035a26a198d676547c9f88c56f1f0c37b697 (diff)
Fixed tosca models, updated code and policies
Fixed tosca models, updated policies and code for conductor payload changes for vFW and vCPE Change-Id: Ia98c632fc2fd564efa3b96e8a7888bc97d1c5448 Issue-ID: OPTFRA-384 Signed-off-by: Chayal, Avteet (ac229e) <ac229e@att.com>
Diffstat (limited to 'test/policy-local-files/Capacity_vFW_1.json')
-rw-r--r--test/policy-local-files/Capacity_vFW_1.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/policy-local-files/Capacity_vFW_1.json b/test/policy-local-files/Capacity_vFW_1.json
new file mode 100644
index 0000000..3393550
--- /dev/null
+++ b/test/policy-local-files/Capacity_vFW_1.json
@@ -0,0 +1,22 @@
+{
+ "service": "vim_fit",
+ "policyName": "OSDF_CASABLANCA.Capacity_vFW_1",
+ "description": "Capacity policy for vFW",
+ "templateVersion": "OpenSource.version.1",
+ "version": "test1",
+ "priority": "5",
+ "riskType": "test",
+ "riskLevel": "2",
+ "guard": "False",
+ "content": {
+ "identity": "capacity_vFW",
+ "policyScope": ["vFW", "US", "INTERNATIONAL", "ip", "vFW"],
+ "resources": ["vFW"],
+ "capacityProperty": {
+ "controller": "multicloud",
+ "request": "{\"vCPU\": 2, \"Memory\": {\"quantity\": {\"get_param\": \"REQUIRED_MEM\"}, \"unit\": \"GB\"}, \"Storage\": {\"quantity\": {\"get_param\": \"REQUIRED_DISK\"}, \"unit\": \"GB\"}}"
+ },
+ "policyType": "vim_fit",
+ "applicableResources": "any"
+ }
+}