Advertisement
Guest User

Untitled

a guest
Dec 9th, 2014
476
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.43 KB | None | 0 0
  1. root@controller:~# cat /etc/neutron/plugins/ml2/ml2_conf.ini
  2. [ml2]
  3. # (ListOpt) List of network type driver entrypoints to be loaded from
  4. # the neutron.ml2.type_drivers namespace.
  5. #
  6. # type_drivers = local,flat,vlan,gre,vxlan
  7. # Example: type_drivers = flat,vlan,gre,vxlan
  8. #type_drivers = flat,gre
  9. type_drivers = vlan
  10.  
  11. # (ListOpt) Ordered list of network_types to allocate as tenant
  12. # networks. The default value 'local' is useful for single-box testing
  13. # but provides no connectivity between hosts.
  14. #
  15. # tenant_network_types = local
  16. # Example: tenant_network_types = vlan,gre,vxlan
  17. #tenant_network_types = gre
  18. tenant_network_types = vlan
  19.  
  20. # (ListOpt) Ordered list of networking mechanism driver entrypoints
  21. # to be loaded from the neutron.ml2.mechanism_drivers namespace.
  22. mechanism_drivers = openvswitch,sriovnicswitch
  23. # Example: mechanism_drivers = openvswitch,mlnx
  24. # Example: mechanism_drivers = arista
  25. # Example: mechanism_drivers = cisco,logger
  26. # Example: mechanism_drivers = openvswitch,brocade
  27. # Example: mechanism_drivers = linuxbridge,brocade
  28.  
  29. # (ListOpt) Ordered list of extension driver entrypoints
  30. # to be loaded from the neutron.ml2.extension_drivers namespace.
  31. # extension_drivers =
  32. # Example: extension_drivers = anewextensiondriver
  33.  
  34. [ml2_type_flat]
  35. # (ListOpt) List of physical_network names with which flat networks
  36. # can be created. Use * to allow flat networks with arbitrary
  37. # physical_network names.
  38. #
  39. #flat_networks = physnet1,physnet2 25-11-2014
  40. flat_networks = physnet1
  41. # Example:flat_networks = physnet1,physnet2
  42. # Example:flat_networks = *
  43.  
  44. [ml2_type_vlan]
  45. # (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
  46. # specifying physical_network names usable for VLAN provider and
  47. # tenant networks, as well as ranges of VLAN tags on each
  48. # physical_network available for allocation as tenant networks.
  49. #
  50. #network_vlan_ranges =physnet1:1000:2999,physnet2:500:600 25-11-2014
  51. #network_vlan_ranges =physnet1:2:100,physnet3:200:300
  52. network_vlan_ranges =physnet1:2:100
  53. # Example: network_vlan_ranges = physnet1:1000:2999,physnet2
  54.  
  55. [ml2_type_gre]
  56. # (ListOpt) Comma-separated list of <tun_min>:<tun_max> tuples enumerating ranges of GRE tunnel IDs that are available for tenant network allocation
  57. tunnel_id_ranges = 1:1000
  58.  
  59. [ml2_type_vxlan]
  60. # (ListOpt) Comma-separated list of <vni_min>:<vni_max> tuples enumerating
  61. # ranges of VXLAN VNI IDs that are available for tenant network allocation.
  62. #
  63. # vni_ranges =
  64.  
  65. # (StrOpt) Multicast group for the VXLAN interface. When configured, will
  66. # enable sending all broadcast traffic to this multicast group. When left
  67. # unconfigured, will disable multicast VXLAN mode.
  68. #
  69. # vxlan_group =
  70. # Example: vxlan_group = 239.1.1.1
  71.  
  72. [securitygroup]
  73. # Controls if neutron security group is enabled or not.
  74. # It should be false when you use nova security group.
  75. enable_security_group = True
  76.  
  77. # Use ipset to speed-up the iptables security groups. Enabling ipset support
  78. # requires that ipset is installed on L2 agent node.
  79. enable_ipset = True
  80. firewall_driver = neutron.agent.firewall.NoopFirewallDriver
  81. #firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
  82.  
  83. [ovs]
  84. local_ip = 172.160.100.1
  85. tunnel_type = gre
  86. enable_tunneling = True
  87. bridge_mappings = physnet2:br-ex
  88.  
  89. [agent]
  90. tunnel_types = gre
  91. root@controller:~# cat /etc/neutron/plugins/ml2/ml2_conf_sriov.ini
  92. # Defines configuration options for SRIOV NIC Switch MechanismDriver
  93. # and Agent
  94.  
  95. [ml2_sriov]
  96. # (ListOpt) Comma-separated list of
  97. # supported Vendor PCI Devices, in format vendor_id:product_id
  98. #
  99. # supported_pci_vendor_devs = 15b3:1004, 8086:10c9
  100. # Example: supported_pci_vendor_devs = 15b3:1004
  101. #
  102. # (BoolOpt) Requires running SRIOV neutron agent for port binding
  103. agent_required = True
  104.  
  105. [sriov_nic]
  106. # (ListOpt) Comma-separated list of <physical_network>:<network_device>
  107. # tuples mapping physical network names to the agent's node-specific
  108. # physical network device interfaces of SR-IOV physical function to be used
  109. # for VLAN networks. All physical networks listed in network_vlan_ranges on
  110. # the server should have mappings to appropriate interfaces on each agent.
  111. #
  112. # physical_device_mappings =
  113. #physical_device_mappings = physnet2:p2p2
  114. #
  115. # (ListOpt) Comma-separated list of <network_device>:<vfs__to_exclude>
  116. # tuples, mapping network_device to the agent's node-specific list of virtual
  117. # functions that should not be used for virtual networking.
  118. # vfs_to_exclude is a semicolon-separated list of virtual
  119. # functions to exclude from network_device. The network_device in the
  120. # mapping should appear in the physical_device_mappings list.
  121. # exclude_devices =
  122. # Example: exclude_devices = eth1:0000:07:00.2; 0000:07:00.3
  123.  
  124. root@controller:~# cat /etc/neutron/neutron.conf
  125. [DEFAULT]
  126. # Print more verbose output (set logging level to INFO instead of default WARNING level).
  127. verbose = True
  128.  
  129. # =========Start Global Config Option for Distributed L3 Router===============
  130. # Setting the "router_distributed" flag to "True" will default to the creation
  131. # of distributed tenant routers. The admin can override this flag by specifying
  132. # the type of the router on the create request (admin-only attribute). Default
  133. # value is "False" to support legacy mode (centralized) routers.
  134. #
  135. # router_distributed = False
  136. #
  137. # ===========End Global Config Option for Distributed L3 Router===============
  138.  
  139. # Print debugging output (set logging level to DEBUG instead of default WARNING level).
  140. debug = True
  141.  
  142. # Where to store Neutron state files. This directory must be writable by the
  143. # user executing the agent.
  144. # state_path = /var/lib/neutron
  145.  
  146. # Where to store lock files
  147. lock_path = $state_path/lock
  148.  
  149. # log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s
  150. # log_date_format = %Y-%m-%d %H:%M:%S
  151.  
  152. # use_syslog -> syslog
  153. # log_file and log_dir -> log_dir/log_file
  154. # (not log_file) and log_dir -> log_dir/{binary_name}.log
  155. # use_stderr -> stderr
  156. # (not user_stderr) and (not log_file) -> stdout
  157. # publish_errors -> notification system
  158.  
  159. # use_syslog = False
  160. # syslog_log_facility = LOG_USER
  161.  
  162. # use_stderr = True
  163. # log_file =
  164. # log_dir =
  165.  
  166. # publish_errors = False
  167.  
  168. # Address to bind the API server to
  169. # bind_host = 0.0.0.0
  170.  
  171. # Port the bind the API server to
  172. # bind_port = 9696
  173.  
  174. # Path to the extensions. Note that this can be a colon-separated list of
  175. # paths. For example:
  176. # api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions
  177. # The __path__ of neutron.extensions is appended to this, so if your
  178. # extensions are in there you don't need to specify them here
  179. # api_extensions_path =
  180.  
  181. # (StrOpt) Neutron core plugin entrypoint to be loaded from the
  182. # neutron.core_plugins namespace. See setup.cfg for the entrypoint names of the
  183. # plugins included in the neutron source distribution. For compatibility with
  184. # previous versions, the class name of a plugin can be specified instead of its
  185. # entrypoint name.
  186. #
  187. core_plugin = ml2
  188. # Example: core_plugin = ml2
  189.  
  190. # (ListOpt) List of service plugin entrypoints to be loaded from the
  191. # neutron.service_plugins namespace. See setup.cfg for the entrypoint names of
  192. # the plugins included in the neutron source distribution. For compatibility
  193. # with previous versions, the class name of a plugin can be specified instead
  194. # of its entrypoint name.
  195. #
  196. service_plugins = router
  197. # Example: service_plugins = router,firewall,lbaas,vpnaas,metering
  198.  
  199. # Paste configuration file
  200. # api_paste_config = api-paste.ini
  201.  
  202. # The strategy to be used for auth.
  203. # Supported values are 'keystone'(default), 'noauth'.
  204. auth_strategy = keystone
  205.  
  206. # Base MAC address. The first 3 octets will remain unchanged. If the
  207. # 4h octet is not 00, it will also be used. The others will be
  208. # randomly generated.
  209. # 3 octet
  210. # base_mac = fa:16:3e:00:00:00
  211. # 4 octet
  212. # base_mac = fa:16:3e:4f:00:00
  213.  
  214. # DVR Base MAC address. The first 3 octets will remain unchanged. If the
  215. # 4th octet is not 00, it will also be used. The others will be randomly
  216. # generated. The 'dvr_base_mac' *must* be different from 'base_mac' to
  217. # avoid mixing them up with MAC's allocated for tenant ports.
  218. # A 4 octet example would be dvr_base_mac = fa:16:3f:4f:00:00
  219. # The default is 3 octet
  220. # dvr_base_mac = fa:16:3f:00:00:00
  221.  
  222. # Maximum amount of retries to generate a unique MAC address
  223. # mac_generation_retries = 16
  224.  
  225. # DHCP Lease duration (in seconds). Use -1 to
  226. # tell dnsmasq to use infinite lease times.
  227. # dhcp_lease_duration = 86400
  228.  
  229. # Allow sending resource operation notification to DHCP agent
  230. # dhcp_agent_notification = True
  231.  
  232. # Enable or disable bulk create/update/delete operations
  233. # allow_bulk = True
  234. # Enable or disable pagination
  235. # allow_pagination = False
  236. # Enable or disable sorting
  237. # allow_sorting = False
  238. # Enable or disable overlapping IPs for subnets
  239. # Attention: the following parameter MUST be set to False if Neutron is
  240. # being used in conjunction with nova security groups
  241. allow_overlapping_ips = True
  242. # Ensure that configured gateway is on subnet. For IPv6, validate only if
  243. # gateway is not a link local address. Deprecated, to be removed during the
  244. # K release, at which point the check will be mandatory.
  245. # force_gateway_on_subnet = True
  246.  
  247. # Default maximum number of items returned in a single response,
  248. # value == infinite and value < 0 means no max limit, and value must
  249. # be greater than 0. If the number of items requested is greater than
  250. # pagination_max_limit, server will just return pagination_max_limit
  251. # of number of items.
  252. # pagination_max_limit = -1
  253.  
  254. # Maximum number of DNS nameservers per subnet
  255. # max_dns_nameservers = 5
  256.  
  257. # Maximum number of host routes per subnet
  258. # max_subnet_host_routes = 20
  259.  
  260. # Maximum number of fixed ips per port
  261. # max_fixed_ips_per_port = 5
  262.  
  263. # Maximum number of routes per router
  264. # max_routes = 30
  265.  
  266. # =========== items for agent management extension =============
  267. # Seconds to regard the agent as down; should be at least twice
  268. # report_interval, to be sure the agent is down for good
  269. # agent_down_time = 75
  270. # =========== end of items for agent management extension =====
  271.  
  272. # =========== items for agent scheduler extension =============
  273. # Driver to use for scheduling network to DHCP agent
  274. # network_scheduler_driver = neutron.scheduler.dhcp_agent_scheduler.ChanceScheduler
  275. # Driver to use for scheduling router to a default L3 agent
  276. # router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler
  277. # Driver to use for scheduling a loadbalancer pool to an lbaas agent
  278. # loadbalancer_pool_scheduler_driver = neutron.services.loadbalancer.agent_scheduler.ChanceScheduler
  279.  
  280. # Allow auto scheduling networks to DHCP agent. It will schedule non-hosted
  281. # networks to first DHCP agent which sends get_active_networks message to
  282. # neutron server
  283. # network_auto_schedule = True
  284.  
  285. # Allow auto scheduling routers to L3 agent. It will schedule non-hosted
  286. # routers to first L3 agent which sends sync_routers message to neutron server
  287. # router_auto_schedule = True
  288.  
  289. # Allow automatic rescheduling of routers from dead L3 agents with
  290. # admin_state_up set to True to alive agents.
  291. # allow_automatic_l3agent_failover = False
  292.  
  293. # Number of DHCP agents scheduled to host a network. This enables redundant
  294. # DHCP agents for configured networks.
  295. # dhcp_agents_per_network = 1
  296.  
  297. # =========== end of items for agent scheduler extension =====
  298.  
  299. # =========== items for l3 extension ==============
  300. # Enable high availability for virtual routers.
  301. # l3_ha = False
  302. #
  303. # Maximum number of l3 agents which a HA router will be scheduled on. If it
  304. # is set to 0 the router will be scheduled on every agent.
  305. # max_l3_agents_per_router = 3
  306. #
  307. # Minimum number of l3 agents which a HA router will be scheduled on. The
  308. # default value is 2.
  309. # min_l3_agents_per_router = 2
  310. #
  311. # CIDR of the administrative network if HA mode is enabled
  312. # l3_ha_net_cidr = 169.254.192.0/18
  313. # =========== end of items for l3 extension =======
  314.  
  315. # =========== WSGI parameters related to the API server ==============
  316. # Number of separate worker processes to spawn. The default, 0, runs the
  317. # worker thread in the current process. Greater than 0 launches that number of
  318. # child processes as workers. The parent process manages them.
  319. # api_workers = 0
  320.  
  321. # Number of separate RPC worker processes to spawn. The default, 0, runs the
  322. # worker thread in the current process. Greater than 0 launches that number of
  323. # child processes as RPC workers. The parent process manages them.
  324. # This feature is experimental until issues are addressed and testing has been
  325. # enabled for various plugins for compatibility.
  326. # rpc_workers = 0
  327.  
  328. # Sets the value of TCP_KEEPIDLE in seconds to use for each server socket when
  329. # starting API server. Not supported on OS X.
  330. # tcp_keepidle = 600
  331.  
  332. # Number of seconds to keep retrying to listen
  333. # retry_until_window = 30
  334.  
  335. # Number of backlog requests to configure the socket with.
  336. # backlog = 4096
  337.  
  338. # Max header line to accommodate large tokens
  339. # max_header_line = 16384
  340.  
  341. # Enable SSL on the API server
  342. # use_ssl = False
  343.  
  344. # Certificate file to use when starting API server securely
  345. # ssl_cert_file = /path/to/certfile
  346.  
  347. # Private key file to use when starting API server securely
  348. # ssl_key_file = /path/to/keyfile
  349.  
  350. # CA certificate file to use when starting API server securely to
  351. # verify connecting clients. This is an optional parameter only required if
  352. # API clients need to authenticate to the API server using SSL certificates
  353. # signed by a trusted CA
  354. # ssl_ca_file = /path/to/cafile
  355. # ======== end of WSGI parameters related to the API server ==========
  356.  
  357.  
  358. # ======== neutron nova interactions ==========
  359. # Send notification to nova when port status is active.
  360. notify_nova_on_port_status_changes = True
  361.  
  362. # Send notifications to nova when port data (fixed_ips/floatingips) change
  363. # so nova can update it's cache.
  364. notify_nova_on_port_data_changes = True
  365.  
  366. # URL for connection to nova (Only supports one nova region currently).
  367. nova_url = http://controller:8774/v2
  368.  
  369. # Name of nova region to use. Useful if keystone manages more than one region
  370. nova_region_name = regionOne
  371.  
  372. # Username for connection to nova in admin context
  373. nova_admin_username = admin
  374.  
  375. # The uuid of the admin nova tenant
  376. nova_admin_tenant_id = 32bb085e0a064307b0e590cb31d36ed2
  377.  
  378. # Password for connection to nova in admin context.
  379. nova_admin_password = password
  380.  
  381. # Authorization URL for connection to nova in admin context.
  382. nova_admin_auth_url = http://controller:35357/v2.0
  383.  
  384. # CA file for novaclient to verify server certificates
  385. # nova_ca_certificates_file =
  386.  
  387. # Boolean to control ignoring SSL errors on the nova url
  388. # nova_api_insecure = False
  389.  
  390. # Number of seconds between sending events to nova if there are any events to send
  391. # send_events_interval = 2
  392.  
  393. # ======== end of neutron nova interactions ==========
  394.  
  395. #
  396. # Options defined in oslo.messaging
  397. #
  398.  
  399. # Use durable queues in amqp. (boolean value)
  400. # Deprecated group/name - [DEFAULT]/rabbit_durable_queues
  401. #amqp_durable_queues=false
  402.  
  403. # Auto-delete queues in amqp. (boolean value)
  404. #amqp_auto_delete=false
  405.  
  406. # Size of RPC connection pool. (integer value)
  407. #rpc_conn_pool_size=30
  408.  
  409. # Qpid broker hostname. (string value)
  410. #qpid_hostname=localhost
  411.  
  412. # Qpid broker port. (integer value)
  413. #qpid_port=5672
  414.  
  415. # Qpid HA cluster host:port pairs. (list value)
  416. #qpid_hosts=$qpid_hostname:$qpid_port
  417.  
  418. # Username for Qpid connection. (string value)
  419. #qpid_username=
  420.  
  421. # Password for Qpid connection. (string value)
  422. #qpid_password=
  423.  
  424. # Space separated list of SASL mechanisms to use for auth.
  425. # (string value)
  426. #qpid_sasl_mechanisms=
  427.  
  428. # Seconds between connection keepalive heartbeats. (integer
  429. # value)
  430. #qpid_heartbeat=60
  431.  
  432. # Transport to use, either 'tcp' or 'ssl'. (string value)
  433. #qpid_protocol=tcp
  434.  
  435. # Whether to disable the Nagle algorithm. (boolean value)
  436. #qpid_tcp_nodelay=true
  437.  
  438. # The qpid topology version to use. Version 1 is what was
  439. # originally used by impl_qpid. Version 2 includes some
  440. # backwards-incompatible changes that allow broker federation
  441. # to work. Users should update to version 2 when they are
  442. # able to take everything down, as it requires a clean break.
  443. # (integer value)
  444. #qpid_topology_version=1
  445.  
  446. # SSL version to use (valid only if SSL enabled). valid values
  447. # are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some
  448. # distributions. (string value)
  449. #kombu_ssl_version=
  450.  
  451. # SSL key file (valid only if SSL enabled). (string value)
  452. #kombu_ssl_keyfile=
  453.  
  454. # SSL cert file (valid only if SSL enabled). (string value)
  455. #kombu_ssl_certfile=
  456.  
  457. # SSL certification authority file (valid only if SSL
  458. # enabled). (string value)
  459. #kombu_ssl_ca_certs=
  460.  
  461. # How long to wait before reconnecting in response to an AMQP
  462. # consumer cancel notification. (floating point value)
  463. #kombu_reconnect_delay=1.0
  464.  
  465. # The RabbitMQ broker address where a single node is used.
  466. # (string value)
  467. rabbit_host=controller
  468.  
  469. # The RabbitMQ broker port where a single node is used.
  470. # (integer value)
  471. #rabbit_port=5672
  472.  
  473. # RabbitMQ HA cluster host:port pairs. (list value)
  474. #rabbit_hosts=$rabbit_host:$rabbit_port
  475.  
  476. # Connect over SSL for RabbitMQ. (boolean value)
  477. #rabbit_use_ssl=false
  478.  
  479. # The RabbitMQ userid. (string value)
  480. #rabbit_userid=guest
  481.  
  482. # The RabbitMQ password. (string value)
  483. rabbit_password=password
  484.  
  485. # the RabbitMQ login method (string value)
  486. #rabbit_login_method=AMQPLAIN
  487.  
  488. # The RabbitMQ virtual host. (string value)
  489. #rabbit_virtual_host=/
  490.  
  491. # How frequently to retry connecting with RabbitMQ. (integer
  492. # value)
  493. #rabbit_retry_interval=1
  494.  
  495. # How long to backoff for between retries when connecting to
  496. # RabbitMQ. (integer value)
  497. #rabbit_retry_backoff=2
  498.  
  499. # Maximum number of RabbitMQ connection retries. Default is 0
  500. # (infinite retry count). (integer value)
  501. #rabbit_max_retries=0
  502.  
  503. # Use HA queues in RabbitMQ (x-ha-policy: all). If you change
  504. # this option, you must wipe the RabbitMQ database. (boolean
  505. # value)
  506. #rabbit_ha_queues=false
  507.  
  508. # If passed, use a fake RabbitMQ provider. (boolean value)
  509. #fake_rabbit=false
  510.  
  511. # ZeroMQ bind address. Should be a wildcard (*), an ethernet
  512. # interface, or IP. The "host" option should point or resolve
  513. # to this address. (string value)
  514. #rpc_zmq_bind_address=*
  515.  
  516. # MatchMaker driver. (string value)
  517. #rpc_zmq_matchmaker=oslo.messaging._drivers.matchmaker.MatchMakerLocalhost
  518.  
  519. # ZeroMQ receiver listening port. (integer value)
  520. #rpc_zmq_port=9501
  521.  
  522. # Number of ZeroMQ contexts, defaults to 1. (integer value)
  523. #rpc_zmq_contexts=1
  524.  
  525. # Maximum number of ingress messages to locally buffer per
  526. # topic. Default is unlimited. (integer value)
  527. #rpc_zmq_topic_backlog=<None>
  528.  
  529. # Directory for holding IPC sockets. (string value)
  530. #rpc_zmq_ipc_dir=/var/run/openstack
  531.  
  532. # Name of this node. Must be a valid hostname, FQDN, or IP
  533. # address. Must match "host" option, if running Nova. (string
  534. # value)
  535. #rpc_zmq_host=oslo
  536.  
  537. # Seconds to wait before a cast expires (TTL). Only supported
  538. # by impl_zmq. (integer value)
  539. #rpc_cast_timeout=30
  540.  
  541. # Heartbeat frequency. (integer value)
  542. #matchmaker_heartbeat_freq=300
  543.  
  544. # Heartbeat time-to-live. (integer value)
  545. #matchmaker_heartbeat_ttl=600
  546.  
  547. # Size of RPC greenthread pool. (integer value)
  548. #rpc_thread_pool_size=64
  549.  
  550. # Driver or drivers to handle sending notifications. (multi
  551. # valued)
  552. #notification_driver=
  553.  
  554. # AMQP topic used for OpenStack notifications. (list value)
  555. # Deprecated group/name - [rpc_notifier2]/topics
  556. #notification_topics=notifications
  557.  
  558. # Seconds to wait for a response from a call. (integer value)
  559. #rpc_response_timeout=60
  560.  
  561. # A URL representing the messaging driver to use and its full
  562. # configuration. If not set, we fall back to the rpc_backend
  563. # option and driver specific configuration. (string value)
  564. #transport_url=<None>
  565.  
  566. # The messaging driver to use, defaults to rabbit. Other
  567. # drivers include qpid and zmq. (string value)
  568. rpc_backend=rabbit
  569.  
  570. # The default exchange under which topics are scoped. May be
  571. # overridden by an exchange name specified in the
  572. # transport_url option. (string value)
  573. #control_exchange=openstack
  574.  
  575.  
  576. [matchmaker_redis]
  577.  
  578. #
  579. # Options defined in oslo.messaging
  580. #
  581.  
  582. # Host to locate redis. (string value)
  583. #host=127.0.0.1
  584.  
  585. # Use this port to connect to redis host. (integer value)
  586. #port=6379
  587.  
  588. # Password for Redis server (optional). (string value)
  589. #password=<None>
  590.  
  591.  
  592. [matchmaker_ring]
  593.  
  594. #
  595. # Options defined in oslo.messaging
  596. #
  597.  
  598. # Matchmaker ring file (JSON). (string value)
  599. # Deprecated group/name - [DEFAULT]/matchmaker_ringfile
  600. #ringfile=/etc/oslo/matchmaker_ring.json
  601.  
  602. [quotas]
  603. # Default driver to use for quota checks
  604. # quota_driver = neutron.db.quota_db.DbQuotaDriver
  605.  
  606. # Resource name(s) that are supported in quota features
  607. # quota_items = network,subnet,port
  608.  
  609. # Default number of resource allowed per tenant. A negative value means
  610. # unlimited.
  611. # default_quota = -1
  612.  
  613. # Number of networks allowed per tenant. A negative value means unlimited.
  614. # quota_network = 10
  615.  
  616. # Number of subnets allowed per tenant. A negative value means unlimited.
  617. # quota_subnet = 10
  618.  
  619. # Number of ports allowed per tenant. A negative value means unlimited.
  620. # quota_port = 50
  621.  
  622. # Number of security groups allowed per tenant. A negative value means
  623. # unlimited.
  624. # quota_security_group = 10
  625.  
  626. # Number of security group rules allowed per tenant. A negative value means
  627. # unlimited.
  628. # quota_security_group_rule = 100
  629.  
  630. # Number of vips allowed per tenant. A negative value means unlimited.
  631. # quota_vip = 10
  632.  
  633. # Number of pools allowed per tenant. A negative value means unlimited.
  634. # quota_pool = 10
  635.  
  636. # Number of pool members allowed per tenant. A negative value means unlimited.
  637. # The default is unlimited because a member is not a real resource consumer
  638. # on Openstack. However, on back-end, a member is a resource consumer
  639. # and that is the reason why quota is possible.
  640. # quota_member = -1
  641.  
  642. # Number of health monitors allowed per tenant. A negative value means
  643. # unlimited.
  644. # The default is unlimited because a health monitor is not a real resource
  645. # consumer on Openstack. However, on back-end, a member is a resource consumer
  646. # and that is the reason why quota is possible.
  647. # quota_health_monitor = -1
  648.  
  649. # Number of routers allowed per tenant. A negative value means unlimited.
  650. # quota_router = 10
  651.  
  652. # Number of floating IPs allowed per tenant. A negative value means unlimited.
  653. # quota_floatingip = 50
  654.  
  655. # Number of firewalls allowed per tenant. A negative value means unlimited.
  656. # quota_firewall = 1
  657.  
  658. # Number of firewall policies allowed per tenant. A negative value means
  659. # unlimited.
  660. # quota_firewall_policy = 1
  661.  
  662. # Number of firewall rules allowed per tenant. A negative value means
  663. # unlimited.
  664. # quota_firewall_rule = 100
  665.  
  666. [agent]
  667. # Use "sudo neutron-rootwrap /etc/neutron/rootwrap.conf" to use the real
  668. # root filter facility.
  669. # Change to "sudo" to skip the filtering and just run the comand directly
  670. root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
  671.  
  672. # =========== items for agent management extension =============
  673. # seconds between nodes reporting state to server; should be less than
  674. # agent_down_time, best if it is half or less than agent_down_time
  675. # report_interval = 30
  676.  
  677. # =========== end of items for agent management extension =====
  678.  
  679. [keystone_authtoken]
  680.  
  681. auth_uri = http://controller:5000/v2.0
  682. identity_uri = http://controller:35357
  683. admin_tenant_name = service
  684. admin_user = neutron
  685. admin_password = password
  686.  
  687.  
  688. #auth_host = 127.0.0.1
  689. #auth_port = 35357
  690. #auth_protocol = http
  691. #admin_tenant_name = %SERVICE_TENANT_NAME%
  692. #admin_user = %SERVICE_USER%
  693. #admin_password = %SERVICE_PASSWORD%
  694.  
  695. [database]
  696. # This line MUST be changed to actually run the plugin.
  697. # Example:
  698. # connection = mysql://root:pass@127.0.0.1:3306/neutron
  699. # Replace 127.0.0.1 above with the IP address of the database used by the
  700. # main neutron server. (Leave it as is if the database runs on this host.)
  701.  
  702.  
  703. #connection = sqlite:////var/lib/neutron/neutron.sqlite
  704. connection = mysql://neutron:password@controller/neutron
  705.  
  706. # NOTE: In deployment the [database] section and its connection attribute may
  707. # be set in the corresponding core plugin '.ini' file. However, it is suggested
  708. # to put the [database] section and its connection attribute in this
  709. # configuration file.
  710.  
  711. # Database engine for which script will be generated when using offline
  712. # migration
  713. # engine =
  714.  
  715. # The SQLAlchemy connection string used to connect to the slave database
  716. # slave_connection =
  717.  
  718. # Database reconnection retry times - in event connectivity is lost
  719. # set to -1 implies an infinite retry count
  720. # max_retries = 10
  721.  
  722. # Database reconnection interval in seconds - if the initial connection to the
  723. # database fails
  724. # retry_interval = 10
  725.  
  726. # Minimum number of SQL connections to keep open in a pool
  727. # min_pool_size = 1
  728.  
  729. # Maximum number of SQL connections to keep open in a pool
  730. # max_pool_size = 10
  731.  
  732. # Timeout in seconds before idle sql connections are reaped
  733. # idle_timeout = 3600
  734.  
  735. # If set, use this value for max_overflow with sqlalchemy
  736. # max_overflow = 20
  737.  
  738. # Verbosity of SQL debugging information. 0=None, 100=Everything
  739. # connection_debug = 0
  740.  
  741. # Add python stack traces to SQL as comment strings
  742. # connection_trace = False
  743.  
  744. # If set, use this value for pool_timeout with sqlalchemy
  745. # pool_timeout = 10
  746.  
  747. [service_providers]
  748. # Specify service providers (drivers) for advanced services like loadbalancer, VPN, Firewall.
  749. # Must be in form:
  750. # service_provider=<service_type>:<name>:<driver>[:default]
  751. # List of allowed service types includes LOADBALANCER, FIREWALL, VPN
  752. # Combination of <service type> and <name> must be unique; <driver> must also be unique
  753. # This is multiline option, example for default provider:
  754. # service_provider=LOADBALANCER:name:lbaas_plugin_driver_path:default
  755. # example of non-default provider:
  756. # service_provider=FIREWALL:name2:firewall_driver_path
  757. # --- Reference implementations ---
  758. service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
  759. service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default
  760. # In order to activate Radware's lbaas driver you need to uncomment the next line.
  761. # If you want to keep the HA Proxy as the default lbaas driver, remove the attribute default from the line below.
  762. # Otherwise comment the HA Proxy line
  763. # service_provider = LOADBALANCER:Radware:neutron.services.loadbalancer.drivers.radware.driver.LoadBalancerDriver:default
  764. # uncomment the following line to make the 'netscaler' LBaaS provider available.
  765. # service_provider=LOADBALANCER:NetScaler:neutron.services.loadbalancer.drivers.netscaler.netscaler_driver.NetScalerPluginDriver
  766. # Uncomment the following line (and comment out the OpenSwan VPN line) to enable Cisco's VPN driver.
  767. # service_provider=VPN:cisco:neutron.services.vpn.service_drivers.cisco_ipsec.CiscoCsrIPsecVPNDriver:default
  768. # Uncomment the line below to use Embrane heleos as Load Balancer service provider.
  769. # service_provider=LOADBALANCER:Embrane:neutron.services.loadbalancer.drivers.embrane.driver.EmbraneLbaas:default
  770. # Uncomment the line below to use the A10 Networks LBaaS driver. Requires 'pip install a10-neutron-lbaas'.
  771. #service_provider = LOADBALANCER:A10Networks:neutron.services.loadbalancer.drivers.a10networks.driver_v1.ThunderDriver:default
  772. # Uncomment the following line to test the LBaaS v2 API _WITHOUT_ a real backend
  773. # service_provider = LOADBALANCER:LoggingNoop:neutron.services.loadbalancer.drivers.logging_noop.driver.LoggingNoopLoadBalancerDriver:default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement