21419906 sudo is being used to kill neutron proxy server
authorGirish Moodalbail <Girish.Moodalbail@oracle.COM>
Fri, 10 Jul 2015 11:02:29 -0700
changeset 4624 45b5c64ab5bf
parent 4623 02fd00d17535
child 4632 8152228598dc
21419906 sudo is being used to kill neutron proxy server
components/openstack/neutron/files/agent/evs_l3_agent.py
--- a/components/openstack/neutron/files/agent/evs_l3_agent.py	Fri Jul 10 10:30:17 2015 -0700
+++ b/components/openstack/neutron/files/agent/evs_l3_agent.py	Fri Jul 10 11:02:29 2015 -0700
@@ -28,6 +28,7 @@
 
 from neutron.agent.common import config
 from neutron.agent import l3_agent
+from neutron.agent.linux import external_process
 from neutron.agent.linux import utils
 from neutron.agent.solaris import interface
 from neutron.agent.solaris import net_lib
@@ -81,6 +82,13 @@
 
         del self.router_info[router_id]
 
+    def _get_metadata_proxy_process_manager(self, router_id, ns_name):
+        return external_process.ProcessManager(
+            self.conf,
+            router_id,
+            root_helper=None,
+            namespace=ns_name)
+
     def _get_metadata_proxy_callback(self, router_id):
         """Need to override this since we need to pass the absolute
         path to neutron-ns-metadata-proxy binary.