summaryrefslogtreecommitdiffstats
path: root/robot/assets/templates/policy/vFirewall_policy_operational_content.yaml
diff options
context:
space:
mode:
authorBrian Freeman <bf1936@att.com>2019-05-17 17:46:56 -0500
committerBrian Freeman <bf1936@att.com>2019-05-17 22:58:58 +0000
commit88fbb99d3a5c919db31cee1d0f151f9329a21e39 (patch)
tree6afdf7c0332c2272839e30f85ace443c6198ec05 /robot/assets/templates/policy/vFirewall_policy_operational_content.yaml
parente8941da13d2bf245a147ebdcbee938eae1e1648c (diff)
Use policy yaml and encode it
Leaving old urlencoded tempalte in case we need to revert Issue-ID: POLICY-1685 Change-Id: I25bbf86193863ff0787b0b6e9987227360ed6a88 Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'robot/assets/templates/policy/vFirewall_policy_operational_content.yaml')
-rw-r--r--robot/assets/templates/policy/vFirewall_policy_operational_content.yaml25
1 files changed, 25 insertions, 0 deletions
diff --git a/robot/assets/templates/policy/vFirewall_policy_operational_content.yaml b/robot/assets/templates/policy/vFirewall_policy_operational_content.yaml
new file mode 100644
index 00000000..f5ae3bc5
--- /dev/null
+++ b/robot/assets/templates/policy/vFirewall_policy_operational_content.yaml
@@ -0,0 +1,25 @@
+controlLoop:
+ version: 2.0.0
+ controlLoopName: ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a
+ trigger_policy: unique-policy-id-1-modifyConfig
+ timeout: 1200
+ abatement: false
+policies:
+ - id: unique-policy-id-1-modifyConfig
+ name: modify_packet_gen_config
+ description:
+ actor: APPC
+ recipe: ModifyConfig
+ target:
+ resourceID: __RESOURCE_ID__
+ type: VNF
+ payload:
+ streams: '{"active-streams":5}'
+ retry: 0
+ timeout: 300
+ success: final_success
+ failure: final_failure
+ failure_timeout: final_failure_timeout
+ failure_retries: final_failure_retries
+ failure_exception: final_failure_exception
+ failure_guard: final_failure_guard