diff options
author | 2019-06-20 17:20:56 -0400 | |
---|---|---|
committer | 2019-07-09 17:54:25 -0400 | |
commit | 1a207a405ce7321347de1edc36c2076484700705 (patch) | |
tree | 7b44cfc8c4ccfb53ba10ad3b6be7ccc6c19d731d /tests/policy/engine/opspolicy_VFW_R1.jinja | |
parent | af20d99d3d140a9b3f5fe8710d75a0a463e22b76 (diff) |
remvoing json templater use
Issue-ID: TEST-158
Change-Id: I0ef42c20de50f9aebaf70056cc00d7a7aa61e712
Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'tests/policy/engine/opspolicy_VFW_R1.jinja')
-rw-r--r-- | tests/policy/engine/opspolicy_VFW_R1.jinja | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/policy/engine/opspolicy_VFW_R1.jinja b/tests/policy/engine/opspolicy_VFW_R1.jinja new file mode 100644 index 00000000..0a6977df --- /dev/null +++ b/tests/policy/engine/opspolicy_VFW_R1.jinja @@ -0,0 +1,16 @@ +{ + "policyConfigType": "BRMS_PARAM", + "policyName": "{{policy_name}}", + "policyDescription": "BRMS Param vFirewall policy", + "policyScope": "com", + "attributes": { + "MATCHING": { + "controller" : "amsterdam" + }, + "RULE": { + "templateName": "ClosedLoopControlName", + "closedLoopControlName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", + "controlLoopYaml": "controlLoop%3A%0D%0A++version%3A+2.0.0%0D%0A++controlLoopName%3A+ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a%0D%0A++trigger_policy%3A+unique-policy-id-1-modifyConfig%0D%0A++timeout%3A+1200%0D%0A++abatement%3A+false%0D%0A+%0D%0Apolicies%3A%0D%0A++-+id%3A+unique-policy-id-1-modifyConfig%0D%0A++++name%3A+modify+packet+gen+config%0D%0A++++description%3A%0D%0A++++actor%3A+APPC%0D%0A++++recipe%3A+ModifyConfig%0D%0A++++target%3A%0D%0A++++++%23+TBD+-+Cannot+be+known+until+instantiation+is+done%0D%0A++++++resourceID%3A+Eace933104d443b496b8.nodes.heat.vpg%0D%0A++++++type%3A+VNF%0D%0A++++retry%3A+0%0D%0A++++timeout%3A+300%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" + } + } +} |