blob: 321f49c67b11c7c5fb43a1438149a5005a48933c [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
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
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
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.
15
16
Kailash Khalasiab480912017-03-20 13:14:51 -070017---
18# mock-ecord xos container sanity tests
19
20- name: Add xos onboarded containers to inventory to test
21 hosts: head
22 roles:
23 - xos-onboard-test-hosts
24
25- name: Include vars
26 hosts: all
27 tasks:
28 - name: Include variables
29 include_vars: "{{ item }}"
30 with_items:
31 - "{{ playbook_dir }}/profile_manifests/{{ cord_profile }}.yml"
32 - "{{ playbook_dir }}/profile_manifests/local_vars.yml"
33
34- name: Check UI Container
35 hosts: xos-ui
36 connection: docker
37 roles:
38 - xos-container-test-ui
39
40- name: Check GUI Container
41 hosts: xos-spa-gui
42 connection: docker
43 roles:
44 - xos-container-test-spa-gui
45
46- name: Check REST GW Container
47 hosts: xos-rest-gateway
48 connection: docker
49 roles:
50 - xos-container-test-restgw
51
52- name: Check Chameleon Container
53 hosts: xos_chameleon
54 connection: docker
55 roles:
56 - xos-container-test-chameleon
57
58- name: Check XOS Core Synchronizer Container
59 hosts: xos_core
60 connection: docker
61 roles:
62 - xos-container-test-core
63
64- name: Check XOS ONOS Synchronizer Container
65 hosts: xos_onos_synchronizer
66 connection: docker
67 roles:
68 - xos-container-test-onos
69
70- name: Check XOS OPENSTACK Synchronizer Container
71 hosts: xos_openstack_synchronizer
72 connection: docker
73 roles:
74 - xos-container-test-openstack
75
76- name: Check XOS VTN Synchronizer Container
77 hosts: xos_vtn_synchronizer
78 connection: docker
79 roles:
80 - xos-container-test-vtn
81
82- name: Check XOS Fabric Synchronizer Container
83 hosts: xos_fabric_synchronizer
84 connection: docker
85 roles:
86 - xos-container-test-fabric
87
88- name: Check XOS VROUTER Synchronizer Container
89 hosts: xos_vrouter_synchronizer
90 connection: docker
91 roles:
92 - xos-container-test-vrouter
93
94- name: Check XOS VEG Synchronizer Container
95 hosts: xos_veg_synchronizer
96 connection: docker
97 roles:
98 - xos-container-test-veg
99
100- name: Check XOS VNOD Synchronizer Container
101 hosts: xos_vnod_synchronizer
102 connection: docker
103 roles:
104 - xos-container-test-vnod
105
106- name: Check XOS VEE Synchronizer Container
107 hosts: xos_vee_synchronizer
108 connection: docker
109 roles:
110 - xos-container-test-vee