The configuration settings for the quantum services are found in /etc/quantum/quantum.conf
.
Table B.1. Debugging Options
Configuration option=Default value |
(Type) Description |
debug=False |
(BoolOpt) Print debugging output |
verbose=False |
(BoolOpt) Print more verbose output |
Table B.2. Logging Options
Configuration option=Default value |
(Type) Description |
log_config= |
(StrOpt) If this option is specified, the
logging configuration file specified is
used and overrides any other logging
options specified. Please see the Python
logging module documentation for details
on logging configuration files. Print
debugging output |
log_format=%(asctime)s %(levelname)8s
[%(name)s] %(message)s |
(StrOpt) A logging.Formatter log message
format string which may use any of the
available logging.LogRecord attributes.
|
log_date_format=%Y-%m-%d %H:%M:%S |
(StrOpt) Format string for %(asctime)s in
log records. |
log_file= |
(StrOpt) (Optional) Name of log file to
output to. If not set, logging will go to
stdout. |
log_dir= |
(StrOpt) (Optional) The directory to keep
log files in (will be prepended to
--logfile). |
use_syslog=False |
(BoolOpt) Use syslog for logging. |
syslog_log_facility=LOG_USER |
(StrOpt) syslog facility to receive log
lines |
Table B.3. Service Options
Configuration option=Default value |
(Type) Description |
bind_host=0.0.0.0 |
(StrOpt) Server listening IP. |
bind_port=9696 |
(IntOpt) Server listening port. |
api_paste_config=api-paste.ini |
(StrOpt) The paste configuration file.
This is used to configure the WSGI
application. |
api_extensions_path= |
(StrOpt) Enables custom addition to be
made to the above configuration. |
policy_file=policy.json |
(StrOpt) JSON file representing policies
to access and view data. The usage and
format is discussed in more detail in the
Authentication and Authorization section.
|
auth_strategy=keystone |
(StrOpt) The strategy used for
authentication. The supported values are
‘keystone’ and ‘noauth’. |
core_plugin=quantum.plugins.sample.SamplePlugin.FakePlugin |
(StrOpt) The plugin to be loaded by the
service. |
Table B.4. Base Plugin Options
Configuration option=Default value |
(Type) Description |
base_mac=fa:16:3e:00:00:00 |
(StrOpt) MAC addresses for a port are
generated. The first 3 octets will remain
unchanged. If the 4h octet is not 00, it
will also used. The others will be
randomly generated. |
mac_generation_retries=16 |
(IntOpt) The number of times the plugin
attempts to generate a unique MAC address.
|
allow_bulk=True |
(BoolOpt) Enable or disable bulk
create/update/delete operations. |
max_dns_nameservers=5 |
(IntOpt) The maximum amount of DNS
nameservers that can be configured per
subnet. |
max_subnet_host_routes=20 |
(IntOpt) The maximum amount of host routes
that can be configured per subnet. |
state_path=. |
(StrOpt) Top level directory for
configuration files. |
dhcp_lease_duration=120 |
(IntOpt) The default expiration time for a
DHCP address. This is in seconds. |
Table B.5. Common RPC Message Options
Configuration option=Default value |
(Type) Description |
control_exchange=quantum |
(StrOpt) AMQP exchange to connect to if
using RabbitMQ or QPID |
rpc_back_end=quantum.openstack.common.rpc.impl_kombu |
(StrOpt) The messaging module to use,
defaults to kombu. For qpid, make use of
quantum.openstack.common.rpc.impl_qpid
|
rpc_thread_pool_size=64 |
(IntOpt) Size of RPC thread pool. |
rpc_conn_pool_size=30 |
(IntOpt) Size of RPC connection pool.
|
rpc_response_timeout=60 |
(IntOpt) Seconds to wait for a response
from call or multicall |
allowed_rpc_exception_modules='quantum.openstack.common.exception',
'nova.exception' |
(ListOpt) Modules of exceptions that are
permitted to be recreated upon receiving
exception data from an rpc call. |
fake_rabbit=False |
(BoolOpt) If passed, use a fake RabbitMQ
provider |
Table B.6. Rabbit RPC Options
Configuration option=Default value |
(Type) Description |
kombu_ssl_version= |
(StrOpt) SSL version to use (valid only if
SSL enabled). |
kombu_ssl_keyfile= |
(StrOpt) SSL key file (valid only if SSL
enabled) |
kombu_ssl_certfile= |
(StrOpt) SSL cert file (valid only if SSL
enabled) |
kombu_ssl_ca_certs= |
(StrOpt) SSL certification authority file
(valid only if SSL enabled) |
rabbit_host=localhost |
(StrOpt) IP address of the RabbitMQ
installation |
rabbit_password=guest |
Password of the RabbitMQ
server |
rabbit_port=5672 |
(IntOpt) Port where RabbitMQ server is
running/listening |
rabbit_userid=guest |
(StrOpt) User ID used for RabbitMQ
connections |
rabbit_virtual_host=/ |
(StrOpt) Location of a virtual RabbitMQ
installation. |
rabbit_max_retries=0 |
(IntOpt) Maximum retries with trying to
connect to RabbitMQ. The default of 0
implies an infinite retry count |
rabbit_retry_interval=1 |
(IntOpt) RabbitMQ connection retry
interval |
Table B.7. QPID RPC Options
Configuration option=Default value |
(Type) Description |
qpid_hostname=localhost |
(StrOpt) Qpid broker hostname |
qpid_port=5672 |
(IntOpt) Qpid broker port |
qpid_username= |
(StrOpt) Username for qpid connection
|
qpid_password= |
(StrOpt) Password for qpid connection
|
qpid_sasl_mechanisms= |
(StrOpt) Space separated list of SASL
mechanisms to use for auth |
qpid_reconnect=True |
(BoolOpt) Automatically reconnect |
qpid_reconnect_timeout=0 |
(IntOpt) The number of seconds to wait
before deciding that a reconnect attempt
has failed |
qpid_reconnect_limit=0 |
(IntOpt) The limit for the number of times
to reconnect before considering the
connection to be failed. |
qpid_reconnect_interval_min=0 |
(IntOpt) Minimum seconds between
reconnection attempts |
qpid_reconnect_interval_max=0 |
(IntOpt) Maximum seconds between
reconnection attempts |
qpid_reconnect_interval=0 |
(IntOpt) Equivalent to setting max and min
to the same value |
qpid_heartbeat=60 |
(IntOpt) Seconds between connection
keepalive heartbeats |
qpid_protocol=tcp |
(StrOpt) Transport to use, either 'tcp' or
'ssl' |
qpid_tcp_nodelay=True |
(BoolOpt) Disable Nagle algorithm |
Table B.8. Notification Options
Configuration option=Default value |
(Type) Description |
notification_driver=quantum.openstack.common.notifier.list_notifier |
(MultiStrOpt) Driver or drivers to handle
sending notifications. The default is set
as notifier as the DHCP agent makes use of
the notifications. |
default_notification_level=INFO |
(StrOpt) Default notification level for
outgoing notifications |
default_publisher_id=$host |
(StrOpt) Default publisher_id for outgoing
notifications |
list_notifier_drivers='quantum.openstack.common.notifier.no_op_notifier' |
(MultiStrOpt) List of drivers to send
notifications |
notification_topics='notifications' |
(ListOpt) AMQP topic used for openstack
notifications |
Table B.9. Quota Options
Configuration option=Default value |
(Type) Description |
quota_driver=quantum.quota.ConfDriver |
(StrOpt) Default driver to use for quota
checks. If the default driver is used then
the configuration values below are in
effect. To limit quotas per tenant then
use:
quantum.extensions._quotav2_driver.DbQuotaDriver
|
quota_items=network,subnet,port |
(ListOpt) Resource names that are
supported by the Quotas feature. |
default_quota=-1 |
(IntOpt) Default number of resources
allowed per tenant, minus for unlimited
|
quota_network=10 |
(IntOpt) Number of networks allowed per
tenant, and minus means unlimited |
quota_subnet=10 |
(IntOpt) Number of subnets allowed per
tenant, and minus means unlimited |
quota_port=50 |
(IntOpt) Number of ports allowed per
tenant, and minus means unlimited |