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:
parent
1c717716c9
commit
59005a0a78
0
neutron_lib/tests/unit/api/validators/__init__.py
Normal file
0
neutron_lib/tests/unit/api/validators/__init__.py
Normal 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.
|
Loading…
Reference in New Issue
Block a user