
Register a oslo.messaging entry point in the oslo.config.opts namespace which, when called, returns a list of the configuration options which may be registered by the library at runtime. The idea here is that the sample config file generator can query this and include the returned options in the sample config file of any applications which use the library. Some sample code for fetching available options: import pkg_resources for ep in pkg_resources.iter_entry_points('oslo.config.opts'): if ep.name == "oslo.messaging": list_opts = ep.load() for g, opts in list_opts(): opts.sort(key=lambda x: x.name) print "[%s]" % g for o in opts: print "%s = %s" % (o.name, o.default) print Related-Bug: #1241566 Change-Id: Ic28351258652d2ea38974e2f4d1aa6b1d3dd7192
62 lines
1.8 KiB
INI
62 lines
1.8 KiB
INI
[metadata]
|
|
name = oslo.messaging
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
summary = Oslo Messaging API
|
|
description-file =
|
|
README.rst
|
|
home-page = https://launchpad.net/oslo
|
|
classifier =
|
|
Development Status :: 4 - Beta
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2.6
|
|
Programming Language :: Python :: 2.7
|
|
|
|
[files]
|
|
packages =
|
|
oslo
|
|
namespace_packages =
|
|
oslo
|
|
|
|
[entry_points]
|
|
console_scripts =
|
|
oslo-messaging-zmq-receiver = oslo.messaging._cmd.zmq_receiver:main
|
|
|
|
oslo.messaging.drivers =
|
|
rabbit = oslo.messaging._drivers.impl_rabbit:RabbitDriver
|
|
qpid = oslo.messaging._drivers.impl_qpid:QpidDriver
|
|
zmq = oslo.messaging._drivers.impl_zmq:ZmqDriver
|
|
|
|
# To avoid confusion
|
|
kombu = oslo.messaging._drivers.impl_rabbit:RabbitDriver
|
|
|
|
# This is just for internal testing
|
|
fake = oslo.messaging._drivers.impl_fake:FakeDriver
|
|
|
|
oslo.messaging.executors =
|
|
blocking = oslo.messaging._executors.impl_blocking:BlockingExecutor
|
|
eventlet = oslo.messaging._executors.impl_eventlet:EventletExecutor
|
|
|
|
oslo.messaging.notify.drivers =
|
|
messagingv2 = oslo.messaging.notify._impl_messaging:MessagingV2Driver
|
|
messaging = oslo.messaging.notify._impl_messaging:MessagingDriver
|
|
log = oslo.messaging.notify._impl_log:LogDriver
|
|
test = oslo.messaging.notify._impl_test:TestDriver
|
|
noop = oslo.messaging.notify._impl_noop:NoOpDriver
|
|
|
|
oslo.config.opts =
|
|
oslo.messaging = oslo.messaging.opts:list_opts
|
|
|
|
[build_sphinx]
|
|
source-dir = doc/source
|
|
build-dir = doc/build
|
|
all_files = 1
|
|
|
|
[upload_sphinx]
|
|
upload-dir = doc/build/html
|