components/openstack/neutron/files/quantum.conf
changeset 1944 56ac2df1785b
parent 1943 1a27f000029f
child 1945 3dc1935a2189
equal deleted inserted replaced
1943:1a27f000029f 1944:56ac2df1785b
     1 [DEFAULT]
       
     2 # Default log level is INFO
       
     3 # verbose and debug has the same result.
       
     4 # One of them will set DEBUG log level output
       
     5 # debug = False
       
     6 # verbose = False
       
     7 
       
     8 # Where to store Quantum state files.  This directory must be writable by the
       
     9 # user executing the agent.
       
    10 # state_path = /var/lib/quantum
       
    11 
       
    12 # Where to store lock files
       
    13 lock_path = $state_path/lock
       
    14 
       
    15 # log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
       
    16 # log_date_format = %Y-%m-%d %H:%M:%S
       
    17 
       
    18 # use_syslog                           -> syslog
       
    19 # log_file and log_dir                 -> log_dir/log_file
       
    20 # (not log_file) and log_dir           -> log_dir/{binary_name}.log
       
    21 # use_stderr                           -> stderr
       
    22 # (not user_stderr) and (not log_file) -> stdout
       
    23 # publish_errors                       -> notification system
       
    24 
       
    25 # use_syslog = False
       
    26 # syslog_log_facility = LOG_USER
       
    27 
       
    28 # use_stderr = True
       
    29 # log_file =
       
    30 # log_dir =
       
    31 
       
    32 # publish_errors = False
       
    33 
       
    34 # Address to bind the API server
       
    35 bind_host = 0.0.0.0
       
    36 
       
    37 # Port the bind the API server to
       
    38 bind_port = 9696
       
    39 
       
    40 # Path to the extensions.  Note that this can be a colon-separated list of
       
    41 # paths.  For example:
       
    42 # api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions
       
    43 # The __path__ of quantum.extensions is appended to this, so if your
       
    44 # extensions are in there you don't need to specify them here
       
    45 # api_extensions_path =
       
    46 
       
    47 # Quantum plugin provider module
       
    48 # The EVSQuantumPluginV2 Neutron plugin connects to the Solaris Elastic
       
    49 # Virtual Switch framework to provide virtual networking between Solaris
       
    50 # Zones.
       
    51 core_plugin = quantum.plugins.evs.plugin.EVSQuantumPluginV2
       
    52 
       
    53 # Advanced service modules
       
    54 # service_plugins =
       
    55 
       
    56 # Paste configuration file
       
    57 api_paste_config = api-paste.ini
       
    58 
       
    59 # The strategy to be used for auth.
       
    60 # Supported values are 'keystone'(default), 'noauth'.
       
    61 # auth_strategy = keystone
       
    62 
       
    63 # Base MAC address. The first 3 octets will remain unchanged. If the
       
    64 # 4h octet is not 00, it will also used. The others will be
       
    65 # randomly generated.
       
    66 # 3 octet
       
    67 # base_mac = fa:16:3e:00:00:00
       
    68 # 4 octet
       
    69 # base_mac = fa:16:3e:4f:00:00
       
    70 
       
    71 # Maximum amount of retries to generate a unique MAC address
       
    72 # mac_generation_retries = 16
       
    73 
       
    74 # DHCP Lease duration (in seconds)
       
    75 # dhcp_lease_duration = 120
       
    76 
       
    77 # Allow sending resource operation notification to DHCP agent
       
    78 # dhcp_agent_notification = True
       
    79 
       
    80 # Enable or disable bulk create/update/delete operations
       
    81 # allow_bulk = True
       
    82 # Enable or disable pagination
       
    83 # allow_pagination = False
       
    84 # Enable or disable sorting
       
    85 # allow_sorting = False
       
    86 # Enable or disable overlapping IPs for subnets
       
    87 # Attention: the following parameter MUST be set to False if Quantum is
       
    88 # being used in conjunction with nova security groups and/or metadata service.
       
    89 # allow_overlapping_ips = False
       
    90 # Ensure that configured gateway is on subnet
       
    91 # force_gateway_on_subnet = False
       
    92 
       
    93 
       
    94 # RPC configuration options. Defined in rpc __init__
       
    95 # The messaging module to use, defaults to kombu.
       
    96 # rpc_backend = quantum.openstack.common.rpc.impl_kombu
       
    97 # Size of RPC thread pool
       
    98 # rpc_thread_pool_size = 64,
       
    99 # Size of RPC connection pool
       
   100 # rpc_conn_pool_size = 30
       
   101 # Seconds to wait for a response from call or multicall
       
   102 # rpc_response_timeout = 60
       
   103 # Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.
       
   104 # rpc_cast_timeout = 30
       
   105 # Modules of exceptions that are permitted to be recreated
       
   106 # upon receiving exception data from an rpc call.
       
   107 # allowed_rpc_exception_modules = quantum.openstack.common.exception, nova.exception
       
   108 # AMQP exchange to connect to if using RabbitMQ or QPID
       
   109 control_exchange = quantum
       
   110 
       
   111 # If passed, use a fake RabbitMQ provider
       
   112 # fake_rabbit = False
       
   113 
       
   114 # Configuration options if sending notifications via kombu rpc (these are
       
   115 # the defaults)
       
   116 # SSL version to use (valid only if SSL enabled)
       
   117 # kombu_ssl_version =
       
   118 # SSL key file (valid only if SSL enabled)
       
   119 # kombu_ssl_keyfile =
       
   120 # SSL cert file (valid only if SSL enabled)
       
   121 # kombu_ssl_certfile =
       
   122 # SSL certification authority file (valid only if SSL enabled)'
       
   123 # kombu_ssl_ca_certs =
       
   124 # IP address of the RabbitMQ installation
       
   125 # rabbit_host = localhost
       
   126 # Password of the RabbitMQ server
       
   127 # rabbit_password = guest
       
   128 # Port where RabbitMQ server is running/listening
       
   129 # rabbit_port = 5672
       
   130 # RabbitMQ single or HA cluster (host:port pairs i.e: host1:5672, host2:5672)
       
   131 # rabbit_hosts is defaulted to '$rabbit_host:$rabbit_port'
       
   132 # rabbit_hosts = localhost:5672
       
   133 # User ID used for RabbitMQ connections
       
   134 # rabbit_userid = guest
       
   135 # Location of a virtual RabbitMQ installation.
       
   136 # rabbit_virtual_host = /
       
   137 # Maximum retries with trying to connect to RabbitMQ
       
   138 # (the default of 0 implies an infinite retry count)
       
   139 # rabbit_max_retries = 0
       
   140 # RabbitMQ connection retry interval
       
   141 # rabbit_retry_interval = 1
       
   142 # Use HA queues in RabbitMQ (x-ha-policy: all).You need to
       
   143 # wipe RabbitMQ database when changing this option. (boolean value)
       
   144 # rabbit_ha_queues = false
       
   145 
       
   146 # QPID
       
   147 # rpc_backend=quantum.openstack.common.rpc.impl_qpid
       
   148 # Qpid broker hostname
       
   149 # qpid_hostname = localhost
       
   150 # Qpid broker port
       
   151 # qpid_port = 5672
       
   152 # Qpid single or HA cluster (host:port pairs i.e: host1:5672, host2:5672)
       
   153 # qpid_hosts is defaulted to '$qpid_hostname:$qpid_port'
       
   154 # qpid_hosts = localhost:5672
       
   155 # Username for qpid connection
       
   156 # qpid_username = ''
       
   157 # Password for qpid connection
       
   158 # qpid_password = ''
       
   159 # Space separated list of SASL mechanisms to use for auth
       
   160 # qpid_sasl_mechanisms = ''
       
   161 # Seconds between connection keepalive heartbeats
       
   162 # qpid_heartbeat = 60
       
   163 # Transport to use, either 'tcp' or 'ssl'
       
   164 # qpid_protocol = tcp
       
   165 # Disable Nagle algorithm
       
   166 # qpid_tcp_nodelay = True
       
   167 
       
   168 # ZMQ
       
   169 # rpc_backend=quantum.openstack.common.rpc.impl_zmq
       
   170 # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
       
   171 # The "host" option should point or resolve to this address.
       
   172 # rpc_zmq_bind_address = *
       
   173 
       
   174 # ============ Notification System Options =====================
       
   175 
       
   176 # Notifications can be sent when network/subnet/port are create, updated or deleted.
       
   177 # There are three methods of sending notifications: logging (via the
       
   178 # log_file directive), rpc (via a message queue) and
       
   179 # noop (no notifications sent, the default)
       
   180 
       
   181 # Notification_driver can be defined multiple times
       
   182 # Do nothing driver
       
   183 # notification_driver = quantum.openstack.common.notifier.no_op_notifier
       
   184 # Logging driver
       
   185 # notification_driver = quantum.openstack.common.notifier.log_notifier
       
   186 # RPC driver. DHCP agents needs it.
       
   187 notification_driver = quantum.openstack.common.notifier.rpc_notifier
       
   188 
       
   189 # default_notification_level is used to form actual topic name(s) or to set logging level
       
   190 default_notification_level = INFO
       
   191 
       
   192 # default_publisher_id is a part of the notification payload
       
   193 # host = myhost.com
       
   194 # default_publisher_id = $host
       
   195 
       
   196 # Defined in rpc_notifier, can be comma separated values.
       
   197 # The actual topic names will be %s.%(default_notification_level)s
       
   198 notification_topics = notifications
       
   199 
       
   200 # Default maximum number of items returned in a single response,
       
   201 # value == infinite and value < 0 means no max limit, and value must
       
   202 # greater than 0. If the number of items requested is greater than
       
   203 # pagination_max_limit, server will just return pagination_max_limit
       
   204 # of number of items.
       
   205 # pagination_max_limit = -1
       
   206 
       
   207 # Maximum number of DNS nameservers per subnet
       
   208 # max_dns_nameservers = 5
       
   209 
       
   210 # Maximum number of host routes per subnet
       
   211 # max_subnet_host_routes = 20
       
   212 
       
   213 # Maximum number of fixed ips per port
       
   214 # max_fixed_ips_per_port = 5
       
   215 
       
   216 # =========== items for agent management extension =============
       
   217 # Seconds to regard the agent as down.
       
   218 # agent_down_time = 5
       
   219 # ===========  end of items for agent management extension =====
       
   220 
       
   221 # =========== items for agent scheduler extension =============
       
   222 # Driver to use for scheduling network to DHCP agent
       
   223 # network_scheduler_driver = quantum.scheduler.dhcp_agent_scheduler.ChanceScheduler
       
   224 # Driver to use for scheduling router to a default L3 agent
       
   225 # router_scheduler_driver = quantum.scheduler.l3_agent_scheduler.ChanceScheduler
       
   226 
       
   227 # Allow auto scheduling networks to DHCP agent. It will schedule non-hosted
       
   228 # networks to first DHCP agent which sends get_active_networks message to
       
   229 # quantum server
       
   230 # network_auto_schedule = True
       
   231 
       
   232 # Allow auto scheduling routers to L3 agent. It will schedule non-hosted
       
   233 # routers to first L3 agent which sends sync_routers message to quantum server
       
   234 # router_auto_schedule = True
       
   235 # ===========  end of items for agent scheduler extension =====
       
   236 
       
   237 [QUOTAS]
       
   238 # resource name(s) that are supported in quota features
       
   239 # quota_items = network,subnet,port
       
   240 
       
   241 # default number of resource allowed per tenant, minus for unlimited
       
   242 # default_quota = -1
       
   243 
       
   244 # number of networks allowed per tenant, and minus means unlimited
       
   245 # quota_network = 10
       
   246 
       
   247 # number of subnets allowed per tenant, and minus means unlimited
       
   248 # quota_subnet = 10
       
   249 
       
   250 # number of ports allowed per tenant, and minus means unlimited
       
   251 # quota_port = 50
       
   252 
       
   253 # number of security groups allowed per tenant, and minus means unlimited
       
   254 # quota_security_group = 10
       
   255 
       
   256 # number of security group rules allowed per tenant, and minus means unlimited
       
   257 # quota_security_group_rule = 100
       
   258 
       
   259 # default driver to use for quota checks
       
   260 # The default quota driver supports static quotas defined in the [QUOTAS]
       
   261 # section. The Elastic Virtual Switch plugin supports per-tenant quota
       
   262 # limits via the quota extension API. To enable per-tenant quotas, the
       
   263 # quota_driver should be set to
       
   264 # quantum.plugins.evs.db.quotas_db.EVSDbQuotaDriver.
       
   265 # quota_driver = quantum.quota.ConfDriver
       
   266 
       
   267 [DEFAULT_SERVICETYPE]
       
   268 # Description of the default service type (optional)
       
   269 # description = "default service type"
       
   270 # Enter a service definition line for each advanced service provided
       
   271 # by the default service type.
       
   272 # Each service definition should be in the following format:
       
   273 # <service>:<plugin>[:driver]
       
   274 
       
   275 [AGENT]
       
   276 # Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real
       
   277 # root filter facility.
       
   278 # Change to "sudo" to skip the filtering and just run the comand directly
       
   279 # root_helper = sudo
       
   280 
       
   281 # =========== items for agent management extension =============
       
   282 # seconds between nodes reporting state to server, should be less than
       
   283 # agent_down_time
       
   284 # report_interval = 4
       
   285 
       
   286 # ===========  end of items for agent management extension =====
       
   287 
       
   288 [keystone_authtoken]
       
   289 auth_host = 127.0.0.1
       
   290 auth_port = 35357
       
   291 auth_protocol = http
       
   292 admin_tenant_name = %SERVICE_TENANT_NAME%
       
   293 admin_user = %SERVICE_USER%
       
   294 admin_password = %SERVICE_PASSWORD%
       
   295 signing_dir = /var/lib/quantum/keystone-signing