neutron/neutron/tests
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
..
api Fix module's import order 2016-01-22 06:38:42 -08:00
common Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
contrib Fixed qos devstack service name (should be q-qos) for -plus gate hook 2016-01-19 14:19:20 +00:00
etc Fix Neutron flavor framework 2015-11-19 11:27:05 -08:00
fullstack Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
functional Merge "Introduce new queries to return DVR routers for a host" 2016-01-27 04:22:19 +00:00
retargetable Avoid duplicating tenant check when creating resources 2016-01-05 14:18:41 +00:00
tempest Merge "LBaaS tests code removal" 2016-01-09 07:49:54 +00:00
unit Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Adopt oslotest BaseTestCase as a base class for DietTestCase 2016-01-07 15:08:54 +01:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py Fix module's import order 2016-01-22 06:38:42 -08:00