blob: f8b0ffd38363d46e69c2181c560a808eac777e43 [file] [log] [blame]
Kailash Khalasibe96fc52017-09-29 12:42:30 -07001# Copyright 2017-present Open Networking Foundation
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
17- name: Include vars
18 hosts: all
19 tasks:
20 - name: Include variables
21 include_vars: "{{ item }}"
22 with_items:
23 - "{{ playbook_dir }}/profile_manifests/{{ cord_profile }}.yml"
24 - "{{ playbook_dir }}/profile_manifests/local_vars.yml"
25 tags:
26 - rcord
27 - ecord
28 - ecord-global
29 - mcord
30
31- name: Add xos onboarded containers to inventory to test
32 hosts: head
33 roles:
34 - xos-onboard-hosts
35 tags:
36 - rcord
37 - ecord
38 - ecord-global
39 - mcord
40
41- name: Check UI Container
42 hosts: xos_ui
43 connection: docker
44 roles:
45 - xos-container-test-ui
46 tags:
47 - rcord
48 - ecord
49 - ecord-global
50 - mcord
51
52- name: Check Chameleon Container
53 hosts: xos_chameleon
54 connection: docker
55 roles:
56 - xos-container-test-chameleon
57 tags:
58 - rcord
59 - ecord
60 - ecord-global
61 - mcord
62
63- name: Check XOS Core Container
64 hosts: xos_core
65 connection: docker
66 roles:
67 - xos-container-test-core
68 tags:
69 - rcord
70 - ecord
71 - ecord-global
72 - mcord
73
74- name: Check XOS WS Container
75 hosts: xos_ws
76 connection: docker
77 roles:
78 - xos-container-test-ws
79 tags:
80 - rcord
81 - ecord
82 - ecord-global
83
84- name: Check XOS DB Container
85 hosts: xos_db
86 connection: docker
87 roles:
88 - xos-container-test-postgres
89 tags:
90 - rcord
91 - ecord
92 - ecord-global
93 - mcord
94
95- name: Check XOS Openstack Synchronizer Container
96 hosts: openstack-synchronizer
97 connection: docker
98 roles:
99 - xos-container-test-openstack
100 tags:
101 - rcord
102 - ecord
103 - ecord-global
104 - mcord
105
106- name: Check XOS ONOS Synchronizer Container
107 hosts: onos-synchronizer
108 connection: docker
109 roles:
110 - xos-container-test-onos
111 tags:
112 - rcord
113 - ecord
114 - ecord-global
115 - mcord
116
117- name: Check XOS Fabric Synchronizer Container
118 hosts: fabric-synchronizer
119 connection: docker
120 roles:
121 - xos-container-test-fabric
122 tags:
123 - rcord
124 - ecord
125 - ecord-global
126 - mcord
127
128- name: Check XOS VROUTER Synchronizer Container
129 hosts: vrouter-synchronizer
130 connection: docker
131 roles:
132 - xos-container-test-vrouter
133 tags:
134 - rcord
135 - ecord
136
137- name: Check XOS VOLT Synchronizer Container
138 hosts: volt-synchronizer
139 connection: docker
140 roles:
141 - xos-container-test-volt
142 tags:
143 - rcord
144
145- name: Check XOS VSG Synchronizer Container
146 hosts: vsg-synchronizer
147 connection: docker
148 roles:
149 - xos-container-test-vsg
150 tags:
151 - rcord
152
153- name: Check XOS VTR Synchronizer Container
154 hosts: vtr-synchronizer
155 connection: docker
156 roles:
157 - xos-container-test-vtr
158 tags:
159 - rcord
160
161- name: Check XOS AddressManager Synchronizer Container
162 hosts: addressmanager-synchronizer
163 connection: docker
164 roles:
165 - xos-container-test-addressmanager
166 tags:
167 - rcord
168
169- name: Check XOS VTN Synchronizer Container
170 hosts: vtn-synchronizer
171 connection: docker
172 roles:
173 - xos-container-test-vtn
174 tags:
175 - rcord
176 - ecord
177
178- name: Check XOS VEG Synchronizer Container
179 hosts: veg-synchronizer
180 connection: docker
181 roles:
182 - xos-container-test-veg
183 tags:
184 - ecord
185
186- name: Check XOS VNOD Synchronizer Container
187 hosts: vnod-synchronizer
188 connection: docker
189 roles:
190 - xos-container-test-vnod
191 tags:
192 - ecord
193
194- name: Check XOS VEE Synchronizer Container
195 hosts: vee-synchronizer
196 connection: docker
197 roles:
198 - xos-container-test-vee
199 tags:
200 - ecord
201
202- name: Check XOS VNAAS Synchronizer Container
203 hosts: vnaas-synchronizer
204 connection: docker
205 roles:
206 - xos-container-test-vnaas
207 tags:
208 - ecord-global