blob: e4a06947f91d14fbee34489c8d1a1335decd59d0 [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 policy-version: 1
11 properties:
12 controlLoop:
13 version: 2.0.0
14 controlLoopName: ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e
15 trigger_policy: unique-policy-id-1-restart
16 timeout: 3600
17 abatement: true
18
19 policies:
20 - id: unique-policy-id-1-restart
21 name: Restart the VM
22 description:
23 actor: APPC
24 recipe: Restart
25 target:
26 type: VM
27 retry: 3
28 timeout: 1200
29 success: final_success
30 failure: final_failure
31 failure_timeout: final_failure_timeout
32 failure_retries: final_failure_retries
33 failure_exception: final_failure_exception
34 failure_guard: final_failure_guard