yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40527
[Bug 1510149] [NEW] Constrain exception handling in neutron.api.v2.attributes._validate_subnet
Public bug reported:
Exception handling in the function _validate_subnet in
neutron/api/v2/attributes.py is overly broad. It should handle
exceptions specifically in the call to netaddr, and it should handle
only certain exception types. Instead, it handles all exceptions
(except Exception) and it handles not just the netaddr call but several
additional lines.
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1510149
Title:
Constrain exception handling in
neutron.api.v2.attributes._validate_subnet
Status in neutron:
New
Bug description:
Exception handling in the function _validate_subnet in
neutron/api/v2/attributes.py is overly broad. It should handle
exceptions specifically in the call to netaddr, and it should handle
only certain exception types. Instead, it handles all exceptions
(except Exception) and it handles not just the netaddr call but
several additional lines.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1510149/+subscriptions
Follow ups