1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 controlLoopName: ControlLoop-TEST-5dfa8fce-bd7a-4424-b60d-ee2ad2f254a3
18 - serviceName: Foo Service
20 - resourceName: Bar VNF
22 trigger_policy: unique-policy-id-1-restart
26 - id: unique-policy-id-1-restart
27 name: Restart Policy for Trigger Event
34 success: unique-policy-id-2-healthcheck-restart
35 failure: unique-policy-id-3-rebuild
36 failure_timeout: unique-policy-id-3-rebuild
37 failure_retries: unique-policy-id-3-rebuild
38 failure_exception: final_failure_exception
40 - id: unique-policy-id-2-healthcheck-restart
41 name: HealthCheck Policy
48 success: final_success
49 failure: unique-policy-id-3-rebuild
50 failure_timeout: unique-policy-id-3-rebuild
51 failure_retries: unique-policy-id-3-rebuild
52 failure_exception: final_failure_exception
54 - id: unique-policy-id-3-rebuild
62 success: unique-policy-id-4-healthcheck-rebuild
63 failure: unique-policy-id-5-migrate
64 failure_timeout: unique-policy-id-5-migrate
65 failure_retries: unique-policy-id-5-migrate
66 failure_exception: final_failure_exception
68 - id: unique-policy-id-4-healthcheck-rebuild
69 name: HealthCheck the Rebuild Policy
76 success: final_success
77 failure: unique-policy-id-5-migrate
78 failure_timeout: unique-policy-id-5-migrate
79 failure_retries: unique-policy-id-5-migrate
80 failure_exception: final_failure_exception
82 - id: unique-policy-id-5-migrate
90 success: unique-policy-id-6-healthcheck-migrate
91 failure: final_failure
92 failure_timeout: final_failure_timeout
93 failure_retries: final_failure_retries
94 failure_exception: final_failure_exception
96 - id: unique-policy-id-6-healthcheck-migrate
97 name: Healthcheck the Migrate Policy
104 success: final_success
105 failure: final_failure
106 failure_timeout: final_failure_timeout
107 failure_retries: final_failure_retries
108 failure_exception: final_failure_exception