blob: baf17b0ae17344bb1d7cb0aa7e8dcc5e733941c9 [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-rcord xos container sanity tests
19
20#- include: "{{ playbook_dir }}/add-onboard-containers-playbook.yml"
21
22- name: Add xos onboarded containers to inventory to test
23 hosts: head
24 roles:
25 - xos-onboard-test-hosts
26
27- name: Include vars
28 hosts: all
29 tasks:
30 - name: Include variables
31 include_vars: "{{ item }}"
32 with_items:
33 - "{{ playbook_dir }}/profile_manifests/{{ cord_profile }}.yml"
34 - "{{ playbook_dir }}/profile_manifests/local_vars.yml"
35
36- name: Check UI Container
37 hosts: xos-ui
38 connection: docker
39 roles:
40 - xos-container-test-ui
41
42- name: Check GUI Container
43 hosts: xos-spa-gui
44 connection: docker
45 roles:
46 - xos-container-test-spa-gui
47
48- name: Check REST GW Container
49 hosts: xos-rest-gateway
50 connection: docker
51 roles:
52 - xos-container-test-restgw
53
54- name: Check Chameleon Container
55 hosts: xos_chameleon
56 connection: docker
57 roles:
58 - xos-container-test-chameleon
59
60- name: Check XOS Core Synchronizer Container
61 hosts: xos_core
62 connection: docker
63 roles:
64 - xos-container-test-core
65
66- name: Check XOS ONOS Synchronizer Container
67 hosts: xos_onos_synchronizer
68 connection: docker
69 roles:
70 - xos-container-test-onos
71
72- name: Check XOS Fabric Synchronizer Container
73 hosts: xos_fabric_synchronizer
74 connection: docker
75 roles:
76 - xos-container-test-fabric
77
78- name: Check XOS VROUTER Synchronizer Container
79 hosts: xos_vrouter_synchronizer
80 connection: docker
81 roles:
82 - xos-container-test-vrouter
83
84- name: Check XOS VSG Synchronizer Container
85 hosts: xos_vsg_synchronizer
86 connection: docker
87 roles:
88 - xos-container-test-vsg
89
90- name: Check XOS VTR Synchronizer Container
91 hosts: xos_vtr_synchronizer
92 connection: docker
93 roles:
94 - xos-container-test-vtr