Repository URL to install this package:
Version:
4.2.64.8 ▾
|
# Copyright 2020 TrilioData Inc.
# All Rights Reserved.
from oslo_config import cfg
transport_opts = [
cfg.StrOpt('dmapi_transport_url',
default="rabbit://",
secret=True,
help='The network address and optional user credentials for '
'connecting to the messaging backend, in URL format. The '
'expected format is:\n\n'
'driver://[user:pass@]host:port[,[userN:passN@]hostN:'
'portN]/virtual_host?query\n\n'
'Example: rabbit://rabbitmq:password@127.0.0.1:5672//\n\n'
'For full details on the fields in the URL see the '
'documentation of oslo_messaging.TransportURL at '
'https://docs.openstack.org/oslo.messaging/latest/'
'reference/transport.html'),
cfg.StrOpt('nova_transport_url',
default="rabbit://",
secret=True,
help='The network address and optional user credentials for '
'connecting to the messaging backend, in URL format. The '
'expected format is:\n\n'
'driver://[user:pass@]host:port[,[userN:passN@]hostN:'
'portN]/virtual_host?query\n\n'
'Example: rabbit://rabbitmq:password@127.0.0.1:5672//\n\n'
'For full details on the fields in the URL see the '
'documentation of oslo_messaging.TransportURL at '
'https://docs.openstack.org/oslo.messaging/latest/'
'reference/transport.html'),
cfg.StrOpt('control_exchange',
default='contego',
help='The default exchange under which topics are scoped. May '
'be overridden by an exchange name specified in the '
'transport_url option.'),
]
def register_opts(conf):
conf.register_opts(transport_opts)
def list_opts():
return {'DEFAULT': transport_opts}