Advertisement
bigmstone

Controller - quantum.conf

Sep 25th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.05 KB | None | 0 0
  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 = True
  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. # core_plugin =
  49. core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
  50.  
  51. # Advanced service modules
  52. # service_plugins =
  53.  
  54. # Paste configuration file
  55. api_paste_config = /etc/quantum/api-paste.ini
  56.  
  57. # The strategy to be used for auth.
  58. # Supported values are 'keystone'(default), 'noauth'.
  59. # auth_strategy = keystone
  60.  
  61. # Base MAC address. The first 3 octets will remain unchanged. If the
  62. # 4h octet is not 00, it will also used. The others will be
  63. # randomly generated.
  64. # 3 octet
  65. # base_mac = fa:16:3e:00:00:00
  66. # 4 octet
  67. # base_mac = fa:16:3e:4f:00:00
  68.  
  69. # Maximum amount of retries to generate a unique MAC address
  70. # mac_generation_retries = 16
  71.  
  72. # DHCP Lease duration (in seconds)
  73. # dhcp_lease_duration = 120
  74.  
  75. # Allow sending resource operation notification to DHCP agent
  76. # dhcp_agent_notification = True
  77.  
  78. # Enable or disable bulk create/update/delete operations
  79. # allow_bulk = True
  80. # Enable or disable pagination
  81. # allow_pagination = False
  82. # Enable or disable sorting
  83. # allow_sorting = False
  84. # Enable or disable overlapping IPs for subnets
  85. # Attention: the following parameter MUST be set to False if Quantum is
  86. # being used in conjunction with nova security groups and/or metadata service.
  87. # allow_overlapping_ips = False
  88. # Ensure that configured gateway is on subnet
  89. # force_gateway_on_subnet = False
  90.  
  91.  
  92. # RPC configuration options. Defined in rpc __init__
  93. # The messaging module to use, defaults to kombu.
  94. # rpc_backend = quantum.openstack.common.rpc.impl_kombu
  95. # Size of RPC thread pool
  96. # rpc_thread_pool_size = 64,
  97. # Size of RPC connection pool
  98. # rpc_conn_pool_size = 30
  99. # Seconds to wait for a response from call or multicall
  100. # rpc_response_timeout = 60
  101. # Seconds to wait before a cast expires (TTL). Only supported by impl_zmq.
  102. # rpc_cast_timeout = 30
  103. # Modules of exceptions that are permitted to be recreated
  104. # upon receiving exception data from an rpc call.
  105. # allowed_rpc_exception_modules = quantum.openstack.common.exception, nova.exception
  106. # AMQP exchange to connect to if using RabbitMQ or QPID
  107. control_exchange = quantum
  108.  
  109. # If passed, use a fake RabbitMQ provider
  110. # fake_rabbit = False
  111.  
  112. # Configuration options if sending notifications via kombu rpc (these are
  113. # the defaults)
  114. # SSL version to use (valid only if SSL enabled)
  115. # kombu_ssl_version =
  116. # SSL key file (valid only if SSL enabled)
  117. # kombu_ssl_keyfile =
  118. # SSL cert file (valid only if SSL enabled)
  119. # kombu_ssl_certfile =
  120. # SSL certification authority file (valid only if SSL enabled)'
  121. # kombu_ssl_ca_certs =
  122. # IP address of the RabbitMQ installation
  123. # rabbit_host = localhost
  124. # Password of the RabbitMQ server
  125. rabbit_password = pass
  126. # Port where RabbitMQ server is running/listening
  127. # rabbit_port = 5672
  128. # RabbitMQ single or HA cluster (host:port pairs i.e: host1:5672, host2:5672)
  129. # rabbit_hosts is defaulted to '$rabbit_host:$rabbit_port'
  130. # rabbit_hosts = localhost:5672
  131. # User ID used for RabbitMQ connections
  132. # rabbit_userid = guest
  133. # Location of a virtual RabbitMQ installation.
  134. # rabbit_virtual_host = /
  135. # Maximum retries with trying to connect to RabbitMQ
  136. # (the default of 0 implies an infinite retry count)
  137. # rabbit_max_retries = 0
  138. # RabbitMQ connection retry interval
  139. # rabbit_retry_interval = 1
  140. # Use HA queues in RabbitMQ (x-ha-policy: all).You need to
  141. # wipe RabbitMQ database when changing this option. (boolean value)
  142. # rabbit_ha_queues = false
  143.  
  144. # QPID
  145. # rpc_backend=quantum.openstack.common.rpc.impl_qpid
  146. # Qpid broker hostname
  147. # qpid_hostname = localhost
  148. # Qpid broker port
  149. # qpid_port = 5672
  150. # Qpid single or HA cluster (host:port pairs i.e: host1:5672, host2:5672)
  151. # qpid_hosts is defaulted to '$qpid_hostname:$qpid_port'
  152. # qpid_hosts = localhost:5672
  153. # Username for qpid connection
  154. # qpid_username = ''
  155. # Password for qpid connection
  156. # qpid_password = ''
  157. # Space separated list of SASL mechanisms to use for auth
  158. # qpid_sasl_mechanisms = ''
  159. # Seconds between connection keepalive heartbeats
  160. # qpid_heartbeat = 60
  161. # Transport to use, either 'tcp' or 'ssl'
  162. # qpid_protocol = tcp
  163. # Disable Nagle algorithm
  164. # qpid_tcp_nodelay = True
  165.  
  166. # ZMQ
  167. # rpc_backend=quantum.openstack.common.rpc.impl_zmq
  168. # ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
  169. # The "host" option should point or resolve to this address.
  170. # rpc_zmq_bind_address = *
  171.  
  172. # ============ Notification System Options =====================
  173.  
  174. # Notifications can be sent when network/subnet/port are create, updated or deleted.
  175. # There are three methods of sending notifications: logging (via the
  176. # log_file directive), rpc (via a message queue) and
  177. # noop (no notifications sent, the default)
  178.  
  179. # Notification_driver can be defined multiple times
  180. # Do nothing driver
  181. # notification_driver = quantum.openstack.common.notifier.no_op_notifier
  182. # Logging driver
  183. # notification_driver = quantum.openstack.common.notifier.log_notifier
  184. # RPC driver. DHCP agents needs it.
  185. notification_driver = quantum.openstack.common.notifier.rpc_notifier
  186.  
  187. # default_notification_level is used to form actual topic name(s) or to set logging level
  188. default_notification_level = INFO
  189.  
  190. # default_publisher_id is a part of the notification payload
  191. # host = myhost.com
  192. # default_publisher_id = $host
  193.  
  194. # Defined in rpc_notifier, can be comma separated values.
  195. # The actual topic names will be %s.%(default_notification_level)s
  196. notification_topics = notifications
  197.  
  198. # Default maximum number of items returned in a single response,
  199. # value == infinite and value < 0 means no max limit, and value must
  200. # greater than 0. If the number of items requested is greater than
  201. # pagination_max_limit, server will just return pagination_max_limit
  202. # of number of items.
  203. # pagination_max_limit = -1
  204.  
  205. # Maximum number of DNS nameservers per subnet
  206. # max_dns_nameservers = 5
  207.  
  208. # Maximum number of host routes per subnet
  209. # max_subnet_host_routes = 20
  210.  
  211. # Maximum number of fixed ips per port
  212. # max_fixed_ips_per_port = 5
  213.  
  214. # =========== items for agent management extension =============
  215. # Seconds to regard the agent as down.
  216. # agent_down_time = 5
  217. # =========== end of items for agent management extension =====
  218.  
  219. # =========== items for agent scheduler extension =============
  220. # Driver to use for scheduling network to DHCP agent
  221. # network_scheduler_driver = quantum.scheduler.dhcp_agent_scheduler.ChanceScheduler
  222. # Driver to use for scheduling router to a default L3 agent
  223. # router_scheduler_driver = quantum.scheduler.l3_agent_scheduler.ChanceScheduler
  224.  
  225. # Allow auto scheduling networks to DHCP agent. It will schedule non-hosted
  226. # networks to first DHCP agent which sends get_active_networks message to
  227. # quantum server
  228. # network_auto_schedule = True
  229.  
  230. # Allow auto scheduling routers to L3 agent. It will schedule non-hosted
  231. # routers to first L3 agent which sends sync_routers message to quantum server
  232. # router_auto_schedule = True
  233. # =========== end of items for agent scheduler extension =====
  234.  
  235. [QUOTAS]
  236. # resource name(s) that are supported in quota features
  237. # quota_items = network,subnet,port
  238.  
  239. # default number of resource allowed per tenant, minus for unlimited
  240. # default_quota = -1
  241.  
  242. # number of networks allowed per tenant, and minus means unlimited
  243. # quota_network = 10
  244.  
  245. # number of subnets allowed per tenant, and minus means unlimited
  246. # quota_subnet = 10
  247.  
  248. # number of ports allowed per tenant, and minus means unlimited
  249. # quota_port = 50
  250.  
  251. # number of security groups allowed per tenant, and minus means unlimited
  252. # quota_security_group = 10
  253.  
  254. # number of security group rules allowed per tenant, and minus means unlimited
  255. # quota_security_group_rule = 100
  256.  
  257. # default driver to use for quota checks
  258. # quota_driver = quantum.quota.ConfDriver
  259.  
  260. [DEFAULT_SERVICETYPE]
  261. # Description of the default service type (optional)
  262. # description = "default service type"
  263. # Enter a service definition line for each advanced service provided
  264. # by the default service type.
  265. # Each service definition should be in the following format:
  266. # <service>:<plugin>[:driver]
  267.  
  268. [AGENT]
  269. # Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real
  270. # root filter facility.
  271. # Change to "sudo" to skip the filtering and just run the comand directly
  272. # root_helper = sudo
  273. root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf
  274.  
  275. # =========== items for agent management extension =============
  276. # seconds between nodes reporting state to server, should be less than
  277. # agent_down_time
  278. # report_interval = 4
  279.  
  280. # =========== end of items for agent management extension =====
  281.  
  282. [keystone_authtoken]
  283. auth_host = 127.0.0.1
  284. auth_port = 35357
  285. auth_protocol = http
  286. admin_tenant_name = service
  287. admin_user = quantum
  288. admin_password = pass
  289. signing_dir = /var/lib/quantum/keystone-signing
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement