Guest User

Untitled

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