21419906 sudo is being used to kill neutron proxy server s11-update
authorsaurabh.vyas@oracle.com
Tue, 14 Jul 2015 20:21:09 -0700
branchs11-update
changeset 4647 f1f27134bd1c
parent 4646 2bb9a036a5f2
child 4648 a4fe937e0c9d
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	Tue Jul 14 12:09:08 2015 -0700
+++ b/components/openstack/neutron/files/agent/evs_l3_agent.py	Tue Jul 14 20:21:09 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.