sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0_0 |
| 2 | topology_template: |
| 3 | policies: |
| 4 | - testPolicy: |
| 5 | type: onap.policies.controlloop.Operational |
| 6 | version: 1.0.0 |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 7 | metadata: |
| 8 | policy-id: testPolicy |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 9 | properties: |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 10 | controlLoop: |
| 11 | controlLoopName: control loop |
| 12 | version: 2.0.0 |
| 13 | trigger_policy: new1 |
| 14 | timeout: '30' |
| 15 | abatement: 'true' |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 16 | policies: |
| 17 | - id: new1 |
| 18 | recipe: Rebuild |
| 19 | retry: '10' |
| 20 | timeout: '20' |
| 21 | actor: SO |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 22 | 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"}]' |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 25 | success: new2 |
| 26 | failure: new2 |
| 27 | failure_timeout: new2 |
| 28 | failure_retries: new2 |
| 29 | failure_exception: new2 |
| 30 | failure_guard: new2 |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 31 | target: |
| 32 | type: VFC |
| 33 | resourceTargetId: test |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 34 | - id: new2 |
| 35 | recipe: Migrate |
| 36 | retry: '30' |
| 37 | timeout: '40' |
| 38 | actor: SDNC |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 39 | payload: '' |
| 40 | target: |
| 41 | type: VFC |
| 42 | resourceTargetId: test |