vagrant@stack:/opt/stack/neutron$ python3
Python 3.6.9 (default, Apr 18 2020, 01:56:04)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from neutron_lib.plugins import directory
>>> directory.get_plugin('segments') is None
True
>>>
vagrant@ stack:/ opt/stack/ neutron$ python3 get_plugin( 'segments' ) is None
Python 3.6.9 (default, Apr 18 2020, 01:56:04)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from neutron_lib.plugins import directory
>>> directory.
True
>>>