← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1636279] Re: neutron-lib validate_non_negative doesn't use valid_values kwarg

 

** Changed in: neutron
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1636279

Title:
  neutron-lib validate_non_negative doesn't use valid_values kwarg

Status in neutron:
  Won't Fix

Bug description:
  neutron_lib.api.validator validate_non_negative [1], defines the
  valid_values kwarg, but does nothing with it.

  We can leverage the work done in [2] to add some basic verification of
  this kwarg.

  [1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/validators.py#L804
  [2] https://github.com/openstack/neutron-lib/commit/abeb5c4de0f50bba23cbc9750a095b9423dd33d5

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1636279/+subscriptions


References