Add payload to vFW policy yaml
[policy/drools-applications.git] / controlloop / templates / archetype-cl-amsterdam / src / main / resources / archetype-resources / src / main / config / vFW.yaml
1 # Copyright 2018-2019 AT&T Intellectual Property. All rights reserved
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #         http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 controlLoop:
15   version: 2.0.0
16   controlLoopName: ${closedLoopControlName}
17   trigger_policy: unique-policy-id-1-modifyConfig
18   timeout: 3600
19   abatement: false
20
21 policies:
22   - id: unique-policy-id-1-modifyConfig
23     name: modify packet gen config
24     description:
25     actor: APPC
26     recipe: ModifyConfig
27     target:
28       resourceID: Eace933104d443b496b8.nodes.heat.vpg
29       type: VNF
30     payload:
31       streams: '{"active-streams":5}'
32     retry: 2
33     timeout: 1200
34     success: final_success
35     failure: final_failure
36     failure_timeout: final_failure_timeout
37     failure_retries: final_failure_retries
38     failure_exception: final_failure_exception
39     failure_guard: final_failure_guard