Update specs to v. 2014.1.rc
[openstack-build/neutron-build.git] / debian / patches / fix-quantum-configuration.patch
1 Description: Fixes to neutron configuration for distribution.
2  Patch various bits of config to be more suitable for packaging.
3 Author: James Page <james.page@ubuntu.com>
4 Forwarded: not-needed
5
6 --- a/etc/neutron.conf
7 +++ b/etc/neutron.conf
8 @@ -7,7 +7,7 @@
9  
10  # Where to store Neutron state files.  This directory must be writable by the
11  # user executing the agent.
12 -# state_path = /var/lib/neutron
13 +state_path = /var/lib/neutron
14  
15  # Where to store lock files
16  lock_path = $state_path/lock
17 @@ -50,7 +50,7 @@ lock_path = $state_path/lock
18  # previous versions, the class name of a plugin can be specified instead of its
19  # entrypoint name.
20  #
21 -# core_plugin =
22 +core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin
23  # Example: core_plugin = ml2
24  
25  # (ListOpt) List of service plugin entrypoints to be loaded from the
26 @@ -380,7 +380,7 @@ notification_driver = neutron.openstack.
27  # Use "sudo neutron-rootwrap /etc/neutron/rootwrap.conf" to use the real
28  # root filter facility.
29  # Change to "sudo" to skip the filtering and just run the comand directly
30 -# root_helper = sudo
31 +root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
32  
33  # =========== items for agent management extension =============
34  # seconds between nodes reporting state to server; should be less than
35 @@ -404,7 +404,7 @@ signing_dir = $state_path/keystone-signi
36  # connection = mysql://root:pass@127.0.0.1:3306/neutron
37  # Replace 127.0.0.1 above with the IP address of the database used by the
38  # main neutron server. (Leave it as is if the database runs on this host.)
39 -# connection = sqlite://
40 +connection = sqlite:////var/lib/neutron/neutron.sqlite
41  
42  # The SQLAlchemy connection string used to connect to the slave database
43  # slave_connection =