108a598252
This patch rehomes neutron.db._model_query into neutron-lib. While our longer term goal is to use OVO rather than queries and tables, this module is provided as a stepping stone (as mentioned in release note herein). The patch also includes a few other APIs that are required for the rehome including some utils and an exception class. For more details see the spec on [1]. Also a sample consumption patch can be found on [2]. While it won't work as-is with the depends on approach (it needs to be rebased on multiple other DNMs in neutron) I tested it locally. In addition this change was tested locally with a sample vmware-nsx consumption patch [3]. [1] https://review.openstack.org/#/c/473531/ [2] https://review.openstack.org/#/c/557786/ [3] https://review.openstack.org/#/c/557788/ Change-Id: I3e4b38aa3b6460ce916091c020adedd4ed2c4d26
15 lines
776 B
YAML
15 lines
776 B
YAML
---
|
|
features:
|
|
- The public functions of ``neutron.db._model_query`` are now available in
|
|
``neutron_lib.db.model_query`` with the same name. While these modules can
|
|
be used, forward looking projects should start moving to versioned objects
|
|
and after which point we can remove this module.
|
|
- A new fixture named ``DBQueryHooksFixture`` is provided for testing
|
|
purposes allowing consumers to patch-out the model_query filter hooks.
|
|
- The ``make_weak_ref`` and ``resolve_ref`` functions from neutron are now
|
|
available in ``neutron_lib.utils.helpers``.
|
|
- The ``TenantIdProjectIdFilterConflict`` exception is now available in
|
|
``neutron_lib.exceptions``.
|
|
- The ``neutron.objects.utils`` module is now available in
|
|
``neutron_lib.objects.utils``.
|