Multiple constants define linux interface maximum length

Bug #1332571 reported by Cedric Brandily
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Cedric Brandily

Bug Description

Multiple constants define linux interface maximum length (15):
* neutron.agent.linux.utils: DEVICE_NAME_LEN in get_interface_mac (=15)
* neutron.agent.linux.ip_lib: VETH_MAX_NAME_LENGTH (=15)
* neutron.plugins.common.constants: MAX_DEV_NAME_LEN (=16 incorrect value)

They should be replaced by a unique constant equals to 15 to ensure consistency.

description: updated
description: updated
Changed in neutron:
assignee: nobody → Cedric Brandily (cbrandily)
status: New → In Progress
Revision history for this message
Cedric Brandily (cbrandily) wrote :
Kyle Mestery (mestery)
Changed in neutron:
milestone: none → juno-2
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/101567
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=e299349b3be240d799822daedfa2730fd96839d3
Submitter: Jenkins
Branch: master

commit e299349b3be240d799822daedfa2730fd96839d3
Author: Cedric Brandily <email address hidden>
Date: Fri Jun 20 16:41:22 2014 +0200

    Merge multiple constants defining linux interface maximum length

    DEVICE_NAME_MAX_LEN constant in neutron.common.constants replaces
    and correct multiple constants defining linux interface maximum
    length.

    Closes-Bug: #1332571
    Change-Id: I63f760a21e17dcd57b3685b1e71c913d2722e097

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.