aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/policy/suite1/configpolicy_vFW_R1.template
diff options
context:
space:
mode:
authorRAJU <cr770w@att.com>2017-10-19 15:59:57 -0500
committerRAJU <cr770w@att.com>2017-10-19 16:35:34 -0500
commitbb7d13cde357be1e72243ad380b111f5ed72ee1e (patch)
treeaf77c22b69e99d21fdd3d61d27e68da05bcbe792 /test/csit/tests/policy/suite1/configpolicy_vFW_R1.template
parenta867833d0943b36f431b869c630959aa23abaf0f (diff)
Policy CSIT Payload changes from push-policies.sh
Issue-Id: POLICY-337 Signed-off-by: RAJU <cr770w@att.com> Change-Id: I6efd732fea87c23483af32de9f6938e00f41a8ff
Diffstat (limited to 'test/csit/tests/policy/suite1/configpolicy_vFW_R1.template')
-rw-r--r--test/csit/tests/policy/suite1/configpolicy_vFW_R1.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/csit/tests/policy/suite1/configpolicy_vFW_R1.template b/test/csit/tests/policy/suite1/configpolicy_vFW_R1.template
new file mode 100644
index 000000000..4c3617d5e
--- /dev/null
+++ b/test/csit/tests/policy/suite1/configpolicy_vFW_R1.template
@@ -0,0 +1,6 @@
+{
+ "configBody": "{\"service\": \"policy_tosca_tca\",\"location\": \"SampleServiceLocation\",\"uuid\": \"test\",\"policyName\": \"MicroServicevFirewall\",\"description\": \"MicroService vFirewall Policy\",\"configName\": \"SampleConfigName\",\"templateVersion\": \"OpenSource.version.1\",\"version\": \"1.0.0\",\"priority\": \"1\",\"policyScope\": \"resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"riskType\": \"SampleRiskType\",\"riskLevel\": \"1\",\"guard\": \"False\",\"content\": {\"policyVersion\": \"v0.0.1\",\"threshholds\": [{\"severity\": \"MAJOR\",\"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta\",\"thresholdValue\": \"300\",\"closedLoopEventStatus\": \"ONSET\",\"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\": \"1.0.2\",\"direction\": \"LESS_OR_EQUAL\"}, {\"severity\": \"CRITICAL\",\"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicUsageArray[*].receivedTotalPacketsDelta\",\"thresholdValue\": \"700\",\"closedLoopEventStatus\": \"ONSET\",\"closedLoopControlName\": \"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a\",\"version\": \"1.0.2\",\"direction\": \"GREATER_OR_EQUAL\"}],\"policyName\": \"DCAE.Config_tca-hi-lo\",\"controlLoopSchemaType\": \"VNF\",\"policyScope\": \"DCAE\",\"eventName\": \"vFirewallBroadcastPackets\"}}",
+ "policyConfigType": "MicroService",
+ "policyName": "${policy_name}",
+ "onapName": "DCAE"
+} \ No newline at end of file