1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
2 # Modifications Copyright (C) 2019 Nordix Foundation.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 controlLoopName: ControlLoop-TEST-5dfa8fce-bd7a-4424-b60d-ee2ad2f254a3
19 - serviceName: Foo Service
21 - resourceName: Bar VNF
23 trigger_policy: unique-policy-id-1-restart
27 - id: unique-policy-id-1-restart
28 name: Restart Policy for Trigger Event
35 success: unique-policy-id-2-healthcheck-restart
36 failure: unique-policy-id-3-rebuild
37 failure_timeout: unique-policy-id-3-rebuild
38 failure_retries: unique-policy-id-3-rebuild
39 failure_exception: final_failure_exception
41 - id: unique-policy-id-2-healthcheck-restart
42 name: HealthCheck Policy
49 success: final_success
50 failure: unique-policy-id-3-rebuild
51 failure_timeout: unique-policy-id-3-rebuild
52 failure_retries: unique-policy-id-3-rebuild
53 failure_exception: final_failure_exception
55 - id: unique-policy-id-3-rebuild
63 success: unique-policy-id-4-healthcheck-rebuild
64 failure: unique-policy-id-5-migrate
65 failure_timeout: unique-policy-id-5-migrate
66 failure_retries: unique-policy-id-5-migrate
67 failure_exception: final_failure_exception
69 - id: unique-policy-id-4-healthcheck-rebuild
70 name: HealthCheck the Rebuild Policy
77 success: final_success
78 failure: unique-policy-id-5-migrate
79 failure_timeout: unique-policy-id-5-migrate
80 failure_retries: unique-policy-id-5-migrate
81 failure_exception: final_failure_exception
83 - id: unique-policy-id-5-migrate
91 success: unique-policy-id-6-healthcheck-migrate
92 failure: final_failure
93 failure_timeout: final_failure_timeout
94 failure_retries: final_failure_retries
95 failure_exception: final_failure_exception
97 - id: unique-policy-id-6-healthcheck-migrate
98 name: Healthcheck the Migrate Policy
105 success: final_success
106 failure: final_failure
107 failure_timeout: final_failure_timeout
108 failure_retries: final_failure_retries
109 failure_exception: final_failure_exception