Public bug reported:
neutron-lib contains a number of API validators. If a new feature needs
a new validator, there are two options available today:
a) contribute the validator to neutron-lib/api and pull it down: this makes
sense only if the validator can be useful across a number of projects;
b) contribute the validator locally to the project of interest and modify the
module variable neutron_lib.api.validators.validators with the local validator
reference. This is definitely hack-ish and should be frowned upon.
For this reason, it would be nice to have a registration mechanism for
local validators.
** Affects: neutron
Importance: Wishlist
Status: Confirmed
** Tags: lib low-hanging-fruit
** Changed in: neutron
Status: New => Confirmed
** Tags added: lib
** Changed in: neutron
Importance: Undecided => Wishlist
** Tags added: low-hanging-fruit
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1584237
Title:
Support local validators
Status in neutron:
Confirmed
Bug description:
neutron-lib contains a number of API validators. If a new feature
needs a new validator, there are two options available today:
a) contribute the validator to neutron-lib/api and pull it down: this makes
sense only if the validator can be useful across a number of projects;
b) contribute the validator locally to the project of interest and modify the
module variable neutron_lib.api.validators.validators with the local validator
reference. This is definitely hack-ish and should be frowned upon.
For this reason, it would be nice to have a registration mechanism for
local validators.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1584237/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp