blob: 2478ff07aafa959c5705b88d01e4c1f9675eec75 [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.scaleout": {
7 "type": "onap.policies.controlloop.Operational",
8 "version": "1.0.0",
9 "metadata": {
10 "policy-id": "operational.scaleout",
11 "policy-version": 1
12 },
13 "properties": null,
14 "controlLoop": {
15 "version": "2.0.0",
16 "controlLoopName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
17 "trigger_policy": "unique-policy-id-1-scale-up",
18 "timeout": 1200,
19 "abatement": false
20 },
21 "policies": [
22 {
23 "id": "unique-policy-id-1-scale-up",
24 "name": "Create a new VF Module",
25 "description": null,
26 "actor": "SO",
27 "recipe": "VF Module Create",
28 "target": {
29 "type": "VNF"
30 },
31 "payload": {
32 "requestParameters": "{\"usePreload\":true,\"userParams\":[]}",
33 "configurationParameters": "[{\"ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[9]\",\"oam-ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[16]\",\"enabled\":\"$.vf-module-topology.vf-module-parameters.param[23]\"}]"
34 },
35 "retry": 0,
36 "timeout": 1200,
37 "success": "final_success",
38 "failure": "final_failure",
39 "failure_timeout": "final_failure_timeout",
40 "failure_retries": "final_failure_retries",
41 "failure_exception": "final_failure_exception",
42 "failure_guard": "final_failure_guard"
43 }
44 ]
45 }
46 }
47 ]
48 }
49}