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