57062a47ace594cfdfdd761adc540d1d00640cd7
[policy/drools-applications.git] /
1 # Copyright 2018 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
15 #
16 # This YAML must be slightly different from test.yaml.
17 #
18 controlLoop:
19   version: 3.0.0
20   controlLoopName: ControlLoop-Event-Cleanup-Test
21   services:
22     - serviceInvariantUUID: 5cfe6f4a-41bc-4247-8674-ebd4b98e35cc
23       serviceUUID: 0f40bba5-986e-4b3c-803f-ddd1b7b25f24
24       serviceName: 57e66ea7-0ed6-45c7-970f
25   trigger_policy: unique-policy-id-1-modifyConfig
26   timeout: 60
27   abatement: true
28  
29 policies:
30   - id: unique-policy-id-1-modifyConfig
31     name: modify packet gen config
32     description:
33     actor: APPC
34     recipe: ModifyConfig
35     target:
36       resourceID: Eace933104d443b496b8.nodes.heat.vpg
37       type: VNF
38     retry: 0
39     timeout: 30
40     success: final_success
41     failure: final_failure
42     failure_timeout: final_failure_timeout
43     failure_retries: final_failure_retries
44     failure_exception: final_failure_exception
45     failure_guard: final_failure_guard