Kevin Carter cbb9700447 Disable offloading in test by default
We disable offloading in test for ubuntu this change does the same for
suse and cent. This should help resolve network stability issues and
kernel traces we've been seeing in the gate.

Depends-On: Ia4856f36b2d106d987e3c774f31493e25a23d4b5
Change-Id: I6e8eaf7a668f140c1de4f541a414d13caf7d8b61
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-11-30 13:37:13 +00:00
2017-11-20 12:37:56 +00:00
2017-11-02 17:06:46 +08:00
2017-10-17 13:40:52 +01:00
2017-11-24 11:47:28 +00:00
2017-06-07 09:28:52 +01:00
2017-09-12 08:52:26 -06:00
2016-05-26 11:33:41 +01:00
2016-11-25 16:28:20 +01:00
2017-03-02 11:52:36 +00:00
2017-08-02 15:02:02 -05:00
2016-05-20 14:53:54 +01:00
2017-10-25 10:59:40 +01:00
2017-10-16 18:08:05 +01:00

Team and repository tags

image

OpenStack-Ansible testing

This is the openstack-ansible-tests repository, providing a framework and consolidation of testing configuration and playbooks. This can be used to integrate new projects, and ensure that code duplication is minimized whilst allowing the addition of new testing scenarios with greater ease.

Role Integration

To enable the openstack-ansible-tests repository, ensure that the tox.ini configuration in the role repository matches the galera_client repository tox.ini with the exception of the value for ROLE_NAME. A more advanced configuration which implements multiple functional test scenarios is available in the neutron role tox.ini.

To override variables you can create a ${rolename}-overrides.yml file inside the role's tests folder. This variable file can be includes in the functional tox target configuration in tox.ini as demonstrated in the following extract:

ansible-playbook -i {toxinidir}/tests/inventory \
                 -e @{toxinidir}/tests/${rolename}-overrides.yml \
                 {toxinidir}/tests/test.yml -vvvv

In your repositories tests/test.yml file, you can call any of the included playbooks, for example:

- include: common/test-prepare-keys.yml

Network Settings

The networking can be configured and setup using the bridges variable.

The base option, when only 1 interface is required is to specify just a single base - this is only for backwards compatibility with existing test setup and will default to br-mgmt with an IP of 10.1.0.1.

bridges:
  - "br-mgmt"

To allow a more complicated network setup we can specify ip_addr: The IP address on the interface. netmask: Netmask of the interface (defaults to 255.255.255.0) name: Name of the interface veth_peer: Set up a veth peer for the interface alias: Add an alias IP address

For example, a Nova setup may look like this:

bridges:
  - name: "br-mgmt"
    ip_addr: "10.1.0.1"
  - name: "br-vxlan"
    ip_addr: "10.1.1.1"
  - name: "br-vlan"
    ip_addr: "10.1.2.200"
    veth_peer: "eth12"
    alias: "10.1.2.1"
Description
DEPRECATED, Common testing content for OpenStack-Ansible
Readme 11 MiB