liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0_0 |
| 2 | topology_template: |
| 3 | policies: |
| 4 | - |
| 5 | operational.scaleout: |
| 6 | type: onap.policies.controlloop.Operational |
| 7 | version: 1.0.0 |
| 8 | metadata: |
| 9 | policy-id: operational.scaleout |
| 10 | policy-version: 1 |
| 11 | properties: |
| 12 | controlLoop: |
| 13 | version: 2.0.0 |
| 14 | controlLoopName: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3 |
| 15 | trigger_policy: unique-policy-id-1-scale-up |
| 16 | timeout: 1200 |
| 17 | abatement: false |
| 18 | policies: |
| 19 | - id: unique-policy-id-1-scale-up |
| 20 | name: Create a new VF Module |
| 21 | description: |
| 22 | actor: SO |
| 23 | recipe: VF Module Create |
| 24 | target: |
| 25 | type: VNF |
| 26 | payload: |
| 27 | requestParameters: '{"usePreload":true,"userParams":[]}' |
| 28 | 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]"}]' |
| 29 | retry: 0 |
| 30 | timeout: 1200 |
| 31 | success: final_success |
| 32 | failure: final_failure |
| 33 | failure_timeout: final_failure_timeout |
| 34 | failure_retries: final_failure_retries |
| 35 | failure_exception: final_failure_exception |
| 36 | failure_guard: final_failure_guard |