blob: 553a8afd42c9d7996914bb79232464275e51c3bd [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:
sebdetf9e2cee2019-08-09 18:36:09 +020011 timeout: '0'
12 abatement: 'True'
13 trigger_policy: policy1
14 controlLoopName: LOOP_ASJOy_v1_0_ResourceInstanceName1_tca
sebdetdfa86ca2019-04-05 15:15:31 +020015 policies:
sebdetf9e2cee2019-08-09 18:36:09 +020016 - id: policy1
sebdetf9e2cee2019-08-09 18:36:09 +020017 retry: '0'
18 timeout: '0'
sebdetf9e2cee2019-08-09 18:36:09 +020019 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)785b1772019-05-28 11:54:27 +020025 target:
sebdetf9e2cee2019-08-09 18:36:09 +020026 type: VNF
27 resourceID: vLoadBalancerMS
Vidyashree-Huawei3121b5b2020-03-04 19:22:08 +053028 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"}]'
sebdetf9e2cee2019-08-09 18:36:09 +020033 - id: policy2
sebdetf9e2cee2019-08-09 18:36:09 +020034 retry: '0'
35 timeout: '0'
sebdetf9e2cee2019-08-09 18:36:09 +020036 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)785b1772019-05-28 11:54:27 +020042 target:
sebdetf9e2cee2019-08-09 18:36:09 +020043 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-Huawei3121b5b2020-03-04 19:22:08 +053050 actor: SO
51 recipe: VF Module Create
52 payload: ''