]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
IPv6 display suitable message when MTU is invalid on iface
authorsridhargaddam <sridhar.gaddam@enovance.com>
Mon, 3 Aug 2015 11:16:37 +0000 (11:16 +0000)
committersridhargaddam <sridhar.gaddam@enovance.com>
Fri, 21 Aug 2015 07:09:18 +0000 (07:09 +0000)
commit9750ab79c67f0f5b24cbbb9b7f2c499d4b911283
treeea7de07da58024d5075c08ed2171926551032726
parent40576ae09ca0b54a665516215e2774a5c04bc90a
IPv6 display suitable message when MTU is invalid on iface

IPv6 protocol requires a minimum MTU of 1280 bytes on the interface
to configure an IPv6 address to the interface. This patch logs an
appropriate error message and exits the agent if ipv6 is enabled and
network_device_mtu is less than the minimum value.

DocImpact

Closes-Bug: #1475015
Change-Id: I13666de4e6f5f6775ad26342e513c3c17a003b8e
neutron/agent/linux/interface.py
neutron/common/constants.py
neutron/tests/unit/agent/common/test_utils.py
neutron/tests/unit/agent/linux/test_interface.py