neutron/neutron
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
..
agent Merge "Increase default IPv6 router advertisement interval" 2016-01-28 12:47:32 +00:00
api Merge "Decorate methods in ExtensionDescriptor with abstractmethod" 2016-01-27 12:44:20 +00:00
callbacks Add L3 Notifications To Enable BGP Dynamic Routing 2016-01-20 16:37:49 +00:00
cmd Make neutron pecan server an option instead of binary 2016-01-14 18:25:13 -08:00
common Merge "Fix module's import order" 2016-01-23 07:46:22 +00:00
core_extensions Forbid attaching rules if policy isn't accessible 2015-08-12 09:52:33 +00:00
db Merge "create_object should not add an ID if not present in the DB model" 2016-01-28 12:50:16 +00:00
debug Make neutron-debug command follow cliff command convention 2016-01-09 03:38:19 +09:00
extensions Merge "Fix module's import order" 2016-01-23 07:46:22 +00:00
hacking Unify using assertIsInstance 2016-01-15 00:06:03 +08:00
ipam Fix module's import order 2016-01-22 06:38:42 -08:00
locale Imported Translations from Zanata 2016-01-19 06:21:49 +00:00
notifiers Add option for nova endpoint type 2015-12-10 08:40:36 +00:00
objects db_api: handle db objects that don't have 'id' as primary key 2016-01-21 19:23:14 +00:00
openstack Fix module's import order 2016-01-22 06:38:42 -08:00
pecan_wsgi Pecan: remove deprecated warning 2016-01-22 18:23:20 -08:00
plugins Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
quota ML2: Add tests to validate quota usage tracking 2015-12-09 15:17:23 -08:00
scheduler Don't call add_ha_port inside a transaction 2015-12-24 09:55:06 -08:00
server Fix module's import order 2016-01-22 06:38:42 -08:00
services External DNS driver reference implementation 2016-01-21 21:55:08 +00:00
tests Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
__init__.py Deprecate _ builtin translation function 2015-12-06 19:39:20 +09:00
_i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
auth.py Consume ConfigurableMiddleware from oslo_middleware 2015-10-08 17:59:43 +00:00
context.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
i18n.py Move i18n to _i18n, as per oslo_i18n guidelines 2015-12-01 19:29:10 -07:00
manager.py Pecan controller loads service plugins 2016-01-12 12:28:54 -08:00
neutron_plugin_base_v2.py Fix module's import order 2016-01-22 06:38:42 -08:00
opts.py Register RA and PD config options in l3-agent 2016-01-12 21:03:54 -05:00
policy.py Raise RetryRequest on policy parent not found 2016-01-27 05:23:38 -08:00
service.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
version.py
worker.py Some minor misspellings in comment block. 2015-11-24 00:01:21 -06:00
wsgi.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00