blob: e64d3fe1c56a784ca1e7151049543675b8bf0c4b [file] [log] [blame]
Andy Bavierd730b6d2017-11-17 08:52:07 -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
17---
Andy Bavier8f20e442017-11-29 13:41:47 -070018# mcord-ng40-test-playbook.yml
Andy Bavierd730b6d2017-11-17 08:52:07 -070019# Tests CiaB cord-pod XOS configuration
20
21- name: Include vars
22 hosts: all
23 tasks:
24 - name: Include variables
25 include_vars: "{{ item }}"
26 with_items:
27 - "profile_manifests/{{ cord_profile }}.yml"
28 - profile_manifests/local_vars.yml
29
30- name: Run base M-CORD tests
31 hosts: head
32 become: no
33 # These variables could be elevated to the profile. Think about
34 # doing this after the E2E test framework is complete.
35 vars:
36 test_networks:
37 - management
38 - sgi_network
39 - s11_network
40 - spgw_network
41 test_services:
42 - venb
43 - vspgwc
44 - vspgwu
45 test_ports:
46 - { vm: venb, network: management }
47 - { vm: venb, network: s11_network }
48 - { vm: venb, network: sgi_network }
49 - { vm: venb, network: s1u_network }
50 - { vm: vspgwc, network: management }
51 - { vm: vspgwc, network: s11_network }
52 - { vm: vspgwc, network: spgw_network }
53 - { vm: vspgwu, network: management }
54 - { vm: vspgwu, network: s1u_network }
55 - { vm: vspgwu, network: sgi_network }
56 - { vm: vspgwu, network: spgw_network }
57 roles:
58 - test-mcord-base