aboutsummaryrefslogtreecommitdiffstats
path: root/test/csit/tests/policy/suite1/configpolicy_vCPE.template
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-30 00:04:49 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-30 00:04:49 +0000
commitbdb3c8d54f6311b3fd457f177a349cdea3f9e7f7 (patch)
tree6eb8d5067a414423c453925afcc232766705533c /test/csit/tests/policy/suite1/configpolicy_vCPE.template
parent6469893b022df92a2f875da5727cc7781fd2537f (diff)
parente38164bcd2a6d4e14c980fed52c510c8b6759f94 (diff)
Merge "Policy CSIT test files with latest changes"
Diffstat (limited to 'test/csit/tests/policy/suite1/configpolicy_vCPE.template')
-rw-r--r--test/csit/tests/policy/suite1/configpolicy_vCPE.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/csit/tests/policy/suite1/configpolicy_vCPE.template b/test/csit/tests/policy/suite1/configpolicy_vCPE.template
new file mode 100644
index 000000000..e3e3a2d0b
--- /dev/null
+++ b/test/csit/tests/policy/suite1/configpolicy_vCPE.template
@@ -0,0 +1,6 @@
+{
+"configBody": "{ \"service\": \"policy_tosca_tca\", \"location\": \"SampleServiceLocation\", \"uuid\": \"test\", \"policyName\": \"MicroServicevCPE\", \"description\": \"MicroService vCPE Policy\", \"configName\": \"SampleConfigName\", \"templateVersion\": \"OpenSource.version.1\", \"version\": \"1.0.0\", \"priority\": \"1\", \"policyScope\": \"resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=SampleClosedLoop\", \"riskType\": \"SampleRiskType\", \"riskLevel\": \"1\", \"guard\": \"False\", \"content\": { \"policyVersion\": \"v0.0.1\", \"threshholds\": [{ \"severity\": \"MAJOR\", \"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta\", \"thresholdValue\": \"0\", \"closedLoopEventStatus\": \"ABATED\", \"closedLoopControlName\": \"CL-vCPEvGMUX-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241ABA1\", \"version\": \"1.0.2\", \"direction\": \"EQUAL\" }, { \"severity\": \"CRITICAL\", \"fieldPath\": \"$$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta\", \"thresholdValue\": \"1000\", \"closedLoopEventStatus\": \"ONSET\", \"closedLoopControlName\": \"CL-vCPEvGMUX-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241ABA1\", \"version\": \"1.0.2\", \"direction\": \"GREATER_OR_EQUAL\" }], \"policyName\": \"DCAE.Config_tca-hi-lo\", \"controlLoopSchemaType\": \"VM\", \"policyScope\": \"DCAE\", \"eventName\": \"vCPEvGMUXPacketLoss\" } }",
+"policyConfigType": "MicroService",
+"policyName": "${policy_name}",
+"ecompName": "DCAE"
+}