From 1a207a405ce7321347de1edc36c2076484700705 Mon Sep 17 00:00:00 2001 From: DR695H Date: Thu, 20 Jun 2019 17:20:56 -0400 Subject: remvoing json templater use Issue-ID: TEST-158 Change-Id: I0ef42c20de50f9aebaf70056cc00d7a7aa61e712 Signed-off-by: DR695H --- tests/policy/engine/opspolicy_vOLTE_R1.jinja | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/policy/engine/opspolicy_vOLTE_R1.jinja (limited to 'tests/policy/engine/opspolicy_vOLTE_R1.jinja') diff --git a/tests/policy/engine/opspolicy_vOLTE_R1.jinja b/tests/policy/engine/opspolicy_vOLTE_R1.jinja new file mode 100644 index 00000000..67119659 --- /dev/null +++ b/tests/policy/engine/opspolicy_vOLTE_R1.jinja @@ -0,0 +1,16 @@ +{ + "policyConfigType": "BRMS_PARAM", + "policyName": "{{policy_name}}", + "policyDescription": "BRMS Param VOLTE policy", + "policyScope": "com", + "attributes": { + "MATCHING": { + "controller" : "amsterdam" + }, + "RULE": { + "templateName": "ClosedLoopControlName", + "closedLoopControlName": "ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b", + "controlLoopYaml": "controlLoop%3A%0D%0A++version%3A+2.0.0%0D%0A++controlLoopName%3A+ControlLoop-VOLTE-2179b738-fd36-4843-a71a-a8c24c70c55b%0D%0A++trigger_policy%3A+unique-policy-id-1-restart%0D%0A++timeout%3A+3600%0D%0A++abatement%3A+false%0D%0A+%0D%0Apolicies%3A%0D%0A++-+id%3A+unique-policy-id-1-restart%0D%0A++++name%3A+Restart+the+VM%0D%0A++++description%3A%0D%0A++++actor%3A+VFC%0D%0A++++recipe%3A+Restart%0D%0A++++target%3A%0D%0A++++++type%3A+VM%0D%0A++++retry%3A+3%0D%0A++++timeout%3A+1200%0D%0A++++success%3A+final_success%0D%0A++++failure%3A+final_failure%0D%0A++++failure_timeout%3A+final_failure_timeout%0D%0A++++failure_retries%3A+final_failure_retries%0D%0A++++failure_exception%3A+final_failure_exception%0D%0A++++failure_guard%3A+final_failure_guard" + } + } +} \ No newline at end of file -- cgit 1.2.3-korg