neutron/neutron/tests/common
Assaf Muller 1a1ccb8c94 Uniquely identify tunnel interfaces for fullstack tests
OVS agent tunnel interfaces are named via:
'%s-%s' % (tunnel_type, destination_ip)

This means that the tunnel interface name is not unique if
two OVS agents on the same machine try to form a tunnel with a
third agent. This happens during full stack tests that start
multiple copies of the OVS agent on the test machine.

Thus, for full stack tests, to make sure that the tunnel
interface names created by ovs agents are globally unique, they
will have the following format :
'%s-%s-%s' % (tunnel_type, hash of source IP, hash of dest IP)

Since this patch centralizes the formation of the tunnel interface
name in a dedicated method that is monkey patched by the full stack
framework, a unit test has been added for this method.

Co-Authored-By: Mathieu Rohon <mathieu.rohon@gmail.com>
Closes-Bug: #1467633
Change-Id: I991af6a5f982746cc297f0248454f803dfbb2daf
2016-01-28 15:12:40 -05:00
..
agents Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
__init__.py Test HA router failover 2014-11-24 12:05:09 +02:00
base.py Override opportunistic database tests to PyMySQL 2015-06-23 21:04:06 +02:00
config_fixtures.py Move ConfigDict and ConfigFileFixture to neutron.tests.common 2015-09-24 20:47:44 +02:00
conn_testers.py Add firewall blink + remote SG functional tests 2015-12-23 16:52:02 +00:00
helpers.py Merge "Make sure we return unicode strings for process output" 2015-11-24 05:13:18 +00:00
l3_test_common.py Fix module's import order 2016-01-22 06:38:42 -08:00
machine_fixtures.py Make fullstack test_connectivity tests more forgiving 2015-11-20 16:50:31 -05:00
net_helpers.py Add firewall blink + remote SG functional tests 2015-12-23 16:52:02 +00:00