Add Neutron tests improvements
[openstack-build/neutron-build.git] / debian / patches / fix-quantum-configuration.patch
index a23b9dfe2202c640aedcf4aa50deb96c008f3719..4b4780b7f6bb4f90449f3b8e6441054c37387021 100644 (file)
@@ -1,39 +1,37 @@
-diff -Naurp neutron-2013.2.a125.g4b15f10.orig/etc/neutron.conf neutron-2013.2.a125.g4b15f10/etc/neutron.conf
---- neutron-2013.2.a125.g4b15f10.orig/etc/neutron.conf 2013-07-31 16:46:21.000000000 +0000
-+++ neutron-2013.2.a125.g4b15f10/etc/neutron.conf      2013-07-31 18:57:31.867679844 +0000
+--- a/etc/neutron.conf
++++ b/etc/neutron.conf
 @@ -7,7 +7,7 @@
+
  # Where to store Neutron state files.  This directory must be writable by the
  # user executing the agent.
 -# state_path = /var/lib/neutron
 +state_path = /var/lib/neutron
+
  # Where to store lock files
  lock_path = $state_path/lock
-@@ -45,7 +45,7 @@ bind_port = 9696
- # api_extensions_path =
- # Neutron plugin provider module
+@@ -50,7 +50,7 @@
+ # previous versions, the class name of a plugin can be specified instead of its
+ # entrypoint name.
+ #
 -# core_plugin =
 +core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2
- # Advanced service modules
- # service_plugins =
-@@ -294,7 +294,7 @@ notification_topics = notifications
- # Use "sudo neutron-rootwrap /etc/neutron/rootwrap.conf" to use the real
+ # Example: core_plugin = ml2
+
+ # (ListOpt) List of service plugin entrypoints to be loaded from the
+@@ -490,6 +490,7 @@
  # root filter facility.
  # Change to "sudo" to skip the filtering and just run the comand directly
--# root_helper = sudo
+ # root_helper = sudo
 +root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
+
  # =========== items for agent management extension =============
- # seconds between nodes reporting state to server, should be less than
-@@ -324,7 +324,7 @@ signing_dir = $state_path/keystone-signi
+ # seconds between nodes reporting state to server; should be less than
+@@ -512,7 +513,7 @@
  # connection = mysql://root:pass@127.0.0.1:3306/neutron
  # Replace 127.0.0.1 above with the IP address of the database used by the
  # main neutron server. (Leave it as is if the database runs on this host.)
 -# connection = sqlite://
 +connection = sqlite:////var/lib/neutron/neutron.sqlite
- # The SQLAlchemy connection string used to connect to the slave database
- # slave_connection =
+ # NOTE: In deployment the [database] section and its connection attribute may
+ # be set in the corresponding core plugin '.ini' file. However, it is suggested
+ # to put the [database] section and its connection attribute in this