blob: 7505db07e21f41e36a3298c0890bbfbdfed48267 [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
# mcord-ng40-test-playbook.yml
# Tests CiaB cord-pod XOS configuration
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- "profile_manifests/{{ cord_profile }}.yml"
- profile_manifests/local_vars.yml
- name: Run base M-CORD tests
hosts: head
become: no
# These variables could be elevated to the profile. Think about
# doing this after the E2E test framework is complete.
vars:
test_networks:
- management
- sgi_network
- s11_network
- spgw_network
test_services:
- venb
- vspgwc
- vspgwu
test_ports:
- { vm: venb, network: management }
- { vm: venb, network: s11_network }
- { vm: venb, network: sgi_network }
- { vm: venb, network: s1u_network }
- { vm: vspgwc, network: management }
- { vm: vspgwc, network: s11_network }
- { vm: vspgwc, network: spgw_network }
- { vm: vspgwu, network: management }
- { vm: vspgwu, network: s1u_network }
- { vm: vspgwu, network: sgi_network }
- { vm: vspgwu, network: spgw_network }
epc_blueprint: build
epc_sync_objects:
- vspgwu/vspgwutenants
- vspgwc/vspgwctenants
- venb/venbserviceinstances
roles:
- create-epc
- test-mcord-base
- epc-synced
- run-ng40