0859ba8986b3c6acbcd4a565abc6df7d709347bb
[policy/models.git] / models-examples / src / main / resources / policies / vDNS.policy.operational.input.tosca.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 topology_template:
3     policies:
4     -   operational.scaleout:
5             type: onap.policies.controlloop.operational.common.Drools
6             type_version: 1.0.0
7             metadata:
8                 policy-id: operational.scaleout
9             properties:
10                 id: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
11                 timeout: 1200
12                 abatement: false
13                 trigger: unique-policy-id-1-scale-up
14                 operations:
15                 -   id: unique-policy-id-1-scale-up
16                     description: Create a new VF Module
17                     operation:
18                         actor: SO
19                         operation: VF Module Create
20                         target:
21                             targetType: VFMODULE
22                             entityIds:
23                                 modelInvariantId: e6130d03-56f1-4b0a-9a1d-e1b2ebc30e0e
24                                 modelVersionId: 94b18b1d-cc91-4f43-911a-e6348665f292
25                                 modelName: VfwclVfwsnkBbefb8ce2bde..base_vfw..module-0
26                                 modelVersion: 1
27                                 modelCustomizationId: 47958575-138f-452a-8c8d-d89b595f8164
28                         payload:
29                             requestParameters: '{"usePreload":true,"userParams":[]}'
30                             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]"}]'
31                     timeout: 1200
32                     retries: 0
33                     success: final_success
34                     failure: final_failure
35                     failure_timeout: final_failure_timeout
36                     failure_retries: final_failure_retries
37                     failure_exception: final_failure_exception
38                     failure_guard: final_failure_guard
39                 controllerName: usecases