neutron/neutron/tests/unit/plugins/ml2/drivers
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
..
l2pop Fix module's import order 2016-01-22 06:38:42 -08:00
linuxbridge Merge "Remove LinuxBridge manager get_local_ip_device arg" 2016-01-26 11:36:32 +00:00
mech_sriov Merge "sriov-mech: Introduce a new VIF type for PF vnic type" 2016-01-27 18:46:26 +00:00
openvswitch Uniquely identify tunnel interfaces for fullstack tests 2016-01-28 15:12:40 -05:00
__init__.py Reorganize unit test tree 2015-04-06 23:28:31 +00:00
base_type_tunnel.py Fix hostname roaming for ml2 tunnel endpoints. 2015-09-21 12:50:00 +02:00
ext_test.py Fix module's import order 2016-01-22 06:38:42 -08:00
mech_fake_agent.py Trival: Remove unused logging import 2015-12-26 12:49:56 +08:00
mechanism_logger.py Use _ from neutron._i18n 2015-12-06 19:39:04 +09:00
mechanism_test.py Add network to SubnetContext 2015-08-17 05:35:20 +00:00
test_helpers.py Adopt oslotest BaseTestCase as a base class for DietTestCase 2016-01-07 15:08:54 +01:00
test_type_flat.py Make '*' the default ml2 flat_networks configuration 2015-11-06 14:16:32 +00:00
test_type_geneve.py Add Geneve type driver support to ML2 2015-08-27 20:04:35 +03:00
test_type_gre.py Abstract sync_allocations 2015-06-25 09:12:54 +00:00
test_type_local.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_type_vlan.py Reorganize plugin test modules 2015-04-07 00:55:25 +00:00
test_type_vxlan.py Remove extra indent in testcases 2015-06-02 17:35:44 -07:00