Debian Codegraph @

releasenotes/notes/plugin-directory-55861f4098813ba6.yaml

raw
1 ---
2 features:
3 - |
4 Introduced neutron_lib.plugins.directory to get references
5 for loaded plugins in a neutron server process. For example:
6
7 .. code-block:: python
8
9 from neutron_lib import constants
10 from neutron_lib.plugins import directory
11
12 core_plugin = directory.get_plugin()
13 l3_plugin = directory.get_plugin(constants.L3)
14
15 For more examples, see: https://review.opendev.org/#/c/386845/