1 # Copyright 2018 AT&T Intellectual Property. All rights reserved
2 # Modifications Copyright (C) 2019-2020 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
36 success: unique-policy-id-2-healthcheck-restart
37 failure: unique-policy-id-3-rebuild
38 failure_timeout: unique-policy-id-3-rebuild
39 failure_retries: unique-policy-id-3-rebuild
40 failure_exception: final_failure_exception
42 - id: unique-policy-id-2-healthcheck-restart
43 name: HealthCheck Policy
51 success: final_success
52 failure: unique-policy-id-3-rebuild
53 failure_timeout: unique-policy-id-3-rebuild
54 failure_retries: unique-policy-id-3-rebuild
55 failure_exception: final_failure_exception
57 - id: unique-policy-id-3-rebuild
66 success: unique-policy-id-4-healthcheck-rebuild
67 failure: unique-policy-id-5-migrate
68 failure_timeout: unique-policy-id-5-migrate
69 failure_retries: unique-policy-id-5-migrate
70 failure_exception: final_failure_exception
72 - id: unique-policy-id-4-healthcheck-rebuild
73 name: HealthCheck the Rebuild Policy
81 success: final_success
82 failure: unique-policy-id-5-migrate
83 failure_timeout: unique-policy-id-5-migrate
84 failure_retries: unique-policy-id-5-migrate
85 failure_exception: final_failure_exception
87 - id: unique-policy-id-5-migrate
96 success: unique-policy-id-6-healthcheck-migrate
97 failure: final_failure
98 failure_timeout: final_failure_timeout
99 failure_retries: final_failure_retries
100 failure_exception: final_failure_exception
102 - id: unique-policy-id-6-healthcheck-migrate
103 name: Healthcheck the Migrate Policy
111 success: final_success
112 failure: final_failure
113 failure_timeout: final_failure_timeout
114 failure_retries: final_failure_retries
115 failure_exception: final_failure_exception