summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-03-03 18:41:02 -0500
committerTim Rozet <trozet@redhat.com>2017-03-03 18:41:02 -0500
commit6771c90051d36405b4bdd3f834a147061c8b7375 (patch)
treeea37ef90eb17377c6f8023f403381138924e1e74
parent0686d2b1c9f228e04f8b6e6ca4c5dadd3ee304fc (diff)
Fixes neutron L3 HA
We modify neutron code to allow FDIO to create regular tap ports in router namespaces. However, we did not add support for neutron L3 HA, which required this extra patch to work correctly. JIRA: APEX-393 Change-Id: I3eb7ccac046be45d48806cf5d1e64e1c7282284d Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r--build/neutron-patch-NSDriver.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/build/neutron-patch-NSDriver.patch b/build/neutron-patch-NSDriver.patch
index e015064c..d5889e38 100644
--- a/build/neutron-patch-NSDriver.patch
+++ b/build/neutron-patch-NSDriver.patch
@@ -203,6 +203,29 @@ index c2eb06e..80da16f 100644
class OVSInterfaceDriver(LinuxInterfaceDriver):
"""Driver for creating an internal interface on an OVS bridge."""
+diff --git a/neutron/agent/l3/ha_router.py b/usr/lib/python2.7/site-packages/neutron/agent/l3/ha_router.py
+index ca0e50d..2c4fdad 100644
+--- a/neutron/agent/l3/ha_router.py
++++ b/usr/lib/python2.7/site-packages/neutron/agent/l3/ha_router.py
+@@ -52,15 +52,14 @@ class HaRouterNamespace(namespaces.RouterNamespace):
+ class HaRouter(router.RouterInfo):
+ def __init__(self, state_change_callback, *args, **kwargs):
+ super(HaRouter, self).__init__(*args, **kwargs)
+-
+ self.ha_port = None
+ self.keepalived_manager = None
+ self.state_change_callback = state_change_callback
+
+ def create_router_namespace_object(
+- self, router_id, agent_conf, iface_driver, use_ipv6):
++ self, router_id, agent_conf, iface_driver, use_ipv6, ovs_driver):
+ return HaRouterNamespace(
+- router_id, agent_conf, iface_driver, use_ipv6)
++ router_id, agent_conf, iface_driver, use_ipv6, ovs_driver)
+
+ @property
+ def ha_priority(self):
+
--
2.9.3