]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
lb-agent: ensure tap mtu is the same as physical device
authorDarragh O'Reilly <darragh.oreilly@hp.com>
Thu, 16 Apr 2015 18:21:03 +0000 (18:21 +0000)
committerDarragh O'Reilly <darragh.oreilly@hp.com>
Tue, 21 Apr 2015 06:27:11 +0000 (06:27 +0000)
commit6cf92011143eb55adda180ffac91886566fc7826
tree56cb872402ed60f7ee9f79a9bdbd0f6251109713
parentcc020dc930d88ae0419a650ad0c268b23f9e9ebe
lb-agent: ensure tap mtu is the same as physical device

On compute-nodes, Nova creates the bridge with the tap before
the physical is in the bridge. This causes the tap to have the
default 1500 MTU which may be different to what is on the physical.
With this patch the linuxbridge agent ensures that the MTU on the
tap device is the same as what is on the physical device.

Change-Id: Id1a4f662ec33ca0333c15eb210366bc850d0d54c
Closes-Bug: 1443607
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/tests/unit/plugins/linuxbridge/agent/test_linuxbridge_neutron_agent.py