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: |
sebdet | 897a3e0 | 2020-02-28 06:03:51 -0800 | [diff] [blame^] | 4 | - testPolicy.legacy: |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 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: |
sebdet | 897a3e0 | 2020-02-28 06:03:51 -0800 | [diff] [blame^] | 8 | policy-id: testPolicy.legacy |
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: |
sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 11 | timeout: '0' |
| 12 | abatement: 'True' |
| 13 | trigger_policy: policy1 |
| 14 | controlLoopName: LOOP_ASJOy_v1_0_ResourceInstanceName1_tca |
sebdet | dfa86ca | 2019-04-05 15:15:31 +0200 | [diff] [blame] | 15 | policies: |
sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 16 | - id: policy1 |
| 17 | recipe: Restart |
| 18 | retry: '0' |
| 19 | timeout: '0' |
| 20 | actor: APPC |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 21 | payload: |
| 22 | requestParameters: '{"usePreload":true,"userParams":[]}' |
| 23 | 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 | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 24 | success: final_success |
| 25 | failure: policy2 |
| 26 | failure_timeout: final_failure_timeout |
| 27 | failure_retries: final_failure_retries |
| 28 | failure_exception: final_failure_exception |
| 29 | failure_guard: final_failure_guard |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 30 | target: |
sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 31 | type: VNF |
| 32 | resourceID: vLoadBalancerMS |
| 33 | - id: policy2 |
| 34 | recipe: VF Module Create |
| 35 | retry: '0' |
| 36 | timeout: '0' |
| 37 | actor: SO |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 38 | payload: '' |
sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 39 | success: final_success |
| 40 | failure: final_failure |
| 41 | failure_timeout: final_failure_timeout |
| 42 | failure_retries: final_failure_retries |
| 43 | failure_exception: final_failure_exception |
| 44 | failure_guard: final_failure_guard |
Determe, Sebastien (sd378r) | 785b177 | 2019-05-28 11:54:27 +0200 | [diff] [blame] | 45 | target: |
sebdet | f9e2cee | 2019-08-09 18:36:09 +0200 | [diff] [blame] | 46 | type: VFMODULE |
| 47 | resourceID: Vloadbalancerms..vpkg..module-1 |
| 48 | modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043 |
| 49 | modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc |
| 50 | modelName: Vloadbalancerms..vpkg..module-1 |
| 51 | modelVersion: '1' |
| 52 | modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52 |