← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1636277] [NEW] neutron-lib validate_subnetpool_id doesn't use valid_values kwarg

 

Public bug reported:

neutron_lib.api.validator validate_subnetpool_id [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#L628
[2] https://github.com/openstack/neutron-lib/commit/abeb5c4de0f50bba23cbc9750a095b9423dd33d5

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


** Tags: lib

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

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

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

Status in neutron:
  New

Bug description:
  neutron_lib.api.validator validate_subnetpool_id [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#L628
  [2] https://github.com/openstack/neutron-lib/commit/abeb5c4de0f50bba23cbc9750a095b9423dd33d5

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


Follow ups