yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #16457
[Bug 1332571] [NEW] Multiple constants define linux interface maximum length
Public bug reported:
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.
** Affects: neutron
Importance: Undecided
Assignee: Cedric Brandily (cbrandily)
Status: In Progress
** Description changed:
- Multiple constants define linux interface maximum length:
- * neutron.agent.linux.utils: DEVICE_NAME_LEN in get_interface_mac
+ 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, it should be 15)
+ * neutron.plugins.common.constants: MAX_DEV_NAME_LEN (=16 incorrect value)
-
- We should replace them by a unique constant.
+ They should be replaced by a unique constant equals to 15.
** Description changed:
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.
+ They should be replaced by a unique constant equals to 15 to ensure
+ consistency.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1332571
Title:
Multiple constants define linux interface maximum length
Status in OpenStack Neutron (virtual network service):
In Progress
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1332571/+subscriptions
Follow ups
References