]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Also patches dhcp_agent.ini
authorThomas Goirand <thomas@goirand.fr>
Sat, 7 Jun 2014 09:59:12 +0000 (17:59 +0800)
committerThomas Goirand <thomas@goirand.fr>
Sat, 7 Jun 2014 09:59:12 +0000 (17:59 +0800)
Change-Id: Icdadf7f68710987d97875e6758769631d46abdce

debian/changelog
debian/patches/sane-defaults-for-dhcp_agent.ini.patch [new file with mode: 0644]
debian/patches/series

index fc9ee4c67c6865adf24ab22bcf0da1ad48629135..6a522667206aec3f2dc2a97b86f30ef7545c36c6 100644 (file)
@@ -2,6 +2,7 @@ neutron (2014.1-8) unstable; urgency=medium
 
   * Added sane-defaults-for-ml2_conf.ini.patch.
   * Added missing dbconfig-common dependency.
+  * Also patches dhcp_agent.ini and dhcp_agent.ini for sane defaults.
 
  -- Thomas Goirand <zigo@debian.org>  Sat, 07 Jun 2014 17:27:55 +0800
 
diff --git a/debian/patches/sane-defaults-for-dhcp_agent.ini.patch b/debian/patches/sane-defaults-for-dhcp_agent.ini.patch
new file mode 100644 (file)
index 0000000..6f8001a
--- /dev/null
@@ -0,0 +1,40 @@
+Description: Sane defaults for dhcp_agent.ini
+ Otherwise it doesn't work by default, which is a pitty...
+Author: Thomas Goirand <zigo@debian.org>
+Forwarded: no
+Last-Update: 2014-06-07
+
+--- neutron-2014.1.orig/etc/dhcp_agent.ini
++++ neutron-2014.1/etc/dhcp_agent.ini
+@@ -9,26 +9,21 @@
+ # The DHCP agent requires an interface driver be set. Choose the one that best
+ # matches your plugin.
+-# interface_driver =
+-
+-# Example of interface_driver option for OVS based plugins(OVS, Ryu, NEC, NVP,
+-# BigSwitch/Floodlight)
+-# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
++# Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC, NVP, BigSwitch/Floodlight): interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
++# Example of interface_driver option for LinuxBridge: interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
++interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
+ # Name of Open vSwitch bridge to use
+-# ovs_integration_bridge = br-int
++ovs_integration_bridge = br-int
+ # Use veth for an OVS interface or not.
+ # Support kernels with limited namespace support
+ # (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
+ # ovs_use_veth = False
+-# Example of interface_driver option for LinuxBridge
+-# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver
+-
+ # The agent can use other DHCP drivers.  Dnsmasq is the simplest and requires
+ # no additional setup of the DHCP server.
+-# dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
++dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq
+ # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and
+ # iproute2 package that supports namespaces).
index dbac7db6d9701a53544233f47a57b5f86f2ce608..e40b8e9a0ad039404a130b0b802131efd9f71f19 100644 (file)
@@ -6,3 +6,4 @@ OVS_lib_defer_apply_doesn_t_handle_concurrency.patch
 Properly_apply_column_default_in_migration_pool_monitor_status.patch
 Install_SNAT_rules_for_ipv4_only.patch
 sane-defaults-for-ml2_conf.ini.patch
+sane-defaults-for-dhcp_agent.ini.patch