blob: dda0169f1dcf0ad1355dd1d8f6c3c066ef64f6fc [file] [log] [blame]
liamfallon8fdf84c2019-03-15 12:36:38 +00001tosca_definitions_version: tosca_simple_yaml_1_0_0
2topology_template:
3 policies:
4 -
5 operational.restart:
6 type: onap.policies.controlloop.Operational
7 version: 1.0.0
8 metadata:
9 policy-id: operational.restart
10 properties:
11 controlLoop:
12 version: 2.0.0
13 controlLoopName: ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e
14 trigger_policy: unique-policy-id-1-restart
15 timeout: 3600
16 abatement: true
17
18 policies:
19 - id: unique-policy-id-1-restart
20 name: Restart the VM
21 description:
22 actor: APPC
23 recipe: Restart
24 target:
25 type: VM
26 retry: 3
27 timeout: 1200
28 success: final_success
29 failure: final_failure
30 failure_timeout: final_failure_timeout
31 failure_retries: final_failure_retries
32 failure_exception: final_failure_exception
33 failure_guard: final_failure_guard