blob: c3a6b5c23b6fe52b35dbb216356ad965e17a639d [file] [log] [blame]
sebdetdfa86ca2019-04-05 15:15:31 +02001tosca_definitions_version: tosca_simple_yaml_1_0_0
2topology_template:
3 policies:
4 - testPolicy:
5 type: onap.policies.controlloop.Operational
6 version: 1.0.0
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +02007 metadata:
8 policy-id: testPolicy
sebdetdfa86ca2019-04-05 15:15:31 +02009 properties:
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020010 controlLoop:
11 controlLoopName: control loop
12 version: 2.0.0
13 trigger_policy: new1
14 timeout: '30'
15 abatement: 'true'
sebdetdfa86ca2019-04-05 15:15:31 +020016 policies:
17 - id: new1
18 recipe: Rebuild
19 retry: '10'
20 timeout: '20'
21 actor: SO
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020022 payload:
23 requestParameters: '{"usePreload":true,"userParams":[]}'
24 configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]'
sebdetdfa86ca2019-04-05 15:15:31 +020025 success: new2
26 failure: new2
27 failure_timeout: new2
28 failure_retries: new2
29 failure_exception: new2
30 failure_guard: new2
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020031 target:
32 type: VFC
33 resourceTargetId: test
sebdetdfa86ca2019-04-05 15:15:31 +020034 - id: new2
35 recipe: Migrate
36 retry: '30'
37 timeout: '40'
38 actor: SDNC
Determe, Sebastien (sd378r)785b1772019-05-28 11:54:27 +020039 payload: ''
40 target:
41 type: VFC
42 resourceTargetId: test