blob: 3381c4b10e15c875437e94205f4c989724eb73cf [file] [log] [blame]
Pamela Dragosh172b8dc2020-03-05 07:55:57 -05001tosca_definitions_version: tosca_simple_yaml_1_1_0
liamfallon8fdf84c2019-03-15 12:36:38 +00002topology_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:
Pamela Dragosha8074292020-02-12 11:35:07 -050026 targetType: VM
liamfallon8fdf84c2019-03-15 12:36:38 +000027 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