← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1615088] [NEW] neutron-lib validators don't use valid_values

 

Public bug reported:

A number of out neturon_lib.api.validators functions defined the
valid_values kwarg, but don't use it at all. For (one of many) example
[1].

We should either add support for valid_values in these functions, or
remove the kwarg to clearly indicate it's not used.


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

** Affects: neutron
     Importance: Undecided
     Assignee: Boden R (boden)
         Status: New


** Tags: lib

** Changed in: neutron
     Assignee: (unassigned) => Boden R (boden)

** Tags added: lib

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

Title:
  neutron-lib validators don't use valid_values

Status in neutron:
  New

Bug description:
  A number of out neturon_lib.api.validators functions defined the
  valid_values kwarg, but don't use it at all. For (one of many) example
  [1].

  We should either add support for valid_values in these functions, or
  remove the kwarg to clearly indicate it's not used.

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

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


Follow ups