Add validators package

Extension specific validators should be isolated from general
validators[1]. The existing validators are moved from
neutron_lib.api.validators to neutron_lib.api.validators.__init__
so that it doesn't affect existing consumers importing them.

[1]: https://review.openstack.org/#/c/459782/

Change-Id: I3434f9d7f504b78aca707e4fc8caad99c7af8dfc
This commit is contained in:
Hirofumi Ichihara 2017-05-23 22:25:21 +09:00
parent 1c717716c9
commit 59005a0a78
4 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
---
features:
- A new ``neutron_lib.validators`` package is now available where the
existing definitions from the ``validators`` module are now in
``neutron_lib.validators.__init__`` and subsequent per-component
validators can be created in their own validators sub-module.