neutron/neutron/services
Kevin Benton bf4b614b5d LB Trunk: Stop matching MAC of subport to port model
Matching the MAC of the tap interface on the hypervisor
to the MAC that the VM will actually use to send traffic
through the tap causes the following error messages:

brq9e974900-cd: received packet on tapa8a6ce4a-e8 with
own address as source address

This is triggering a warning because there are now two
forwarding entries on the bridge, a static one from the
tap device, and a learned one from the packets received.[1]

Due to the presence of a static MAC entry, this will break
things like allowed_address_pair use cases that allow a MAC
to be used by multiple ports.

This patch removes all of the logic to set the MAC
address on the TAP device because it didn't serve any
other purpose than easy to correlate output from
ip link show commands and neutron port MAC addresses.

TAP devices will now just get whatever MAC address the kernel
selects for them.


1. https://lists.linuxfoundation.org/pipermail/bridge/2004-January/003740.html



Closes-Bug: #1668209
(cherry picked from commit 1fae7ad108)
Change-Id: I0ff46f9550a79f486063a8e2810ed3b1140a4769
2017-03-04 01:35:39 +00:00
..
auto_allocate Merge "Make DHCP notifier use core resource events" 2016-09-14 21:11:53 +00:00
externaldns Refactoring config options for services opts 2016-08-11 01:21:41 +00:00
flavors Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
l3_router Defer setting 'ha'/'distributed' flags in L3 code 2016-09-09 18:47:38 -07:00
metering DVR: Fix IPtables driver for metering with DVR routers 2017-01-24 13:27:32 -08:00
network_ip_availability Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
qos Add QoS minimum bandwidth rule for instance egress traffic 2016-08-27 17:08:18 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Add common way to extend standard attribute models 2016-09-16 18:16:29 +00:00
segments Add missing revises_on_change attribute 2017-01-16 08:18:18 -08:00
tag Remove unused LOG 2016-07-05 15:22:13 +08:00
timestamp Include timezone in timestamp fields 2016-09-16 11:19:12 -07:00
trunk LB Trunk: Stop matching MAC of subport to port model 2017-03-04 01:35:39 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Only emit deprecation warning when deprecated value read 2016-10-18 13:37:57 +11:00
service_base.py Adding the appropriate log hints where needed 2016-06-30 07:35:24 +00:00