]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add tunneling support to full stack tests
authorAssaf Muller <amuller@redhat.com>
Tue, 16 Jun 2015 12:56:41 +0000 (08:56 -0400)
committerIhar Hrachyshka <ihrachys@redhat.com>
Thu, 10 Sep 2015 14:30:21 +0000 (14:30 +0000)
commita885c4075ad983b8d68c4843359fa3578c48b575
tree5d39aaa946ac30629baa034cf6a8f4ca6d053501
parentcd4d88937462903057609e798fa18b171a566f44
Add tunneling support to full stack tests

* EnvironmentDescription class now accepts 'network_type'.
  It sets the ML2 segmentation type, passes it to the OVS agents
  configuration files, and sets up the host configuration. If
  tunnelling type is selected, it sets up a veth pair with an IP
  address from the 240.0.0.1+ range. The addressed end of
  this pair is configured as the local_ip for tunneling purposes
  in each of the OVS agents. If network type is not tunnelled, it
  sets up provider bridges instead and interconnects them.
* For now we run the basic L3 HA test with VLANs and tunneling just
  so we have something to show for.
* I started using scenarios in fullstack tests to run the same test
  with VLANs or tunneling, and because test names are used for log
  dirs, and testscenarios changes test names to include characters
  that are not shell friendly (Space, parenthesis), I 'sanitized'
  some of those characters.

Change-Id: Ic45cc27396452111678cf85ab26b07275846ce44
doc/source/devref/fullstack_testing.rst
neutron/tests/base.py
neutron/tests/fullstack/resources/config.py
neutron/tests/fullstack/resources/environment.py
neutron/tests/fullstack/resources/process.py
neutron/tests/fullstack/test_connectivity.py
neutron/tests/fullstack/test_l3_agent.py