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