[sos-devel] [PATCH] [plugins/openstack_neutron] Add netns dumps for DVR namespaces
Stephen Ma
sma102874 at gmail.com
Sat Nov 22 07:06:18 UTC 2014
The Neutron's Distributed Virtual Router (DVR) create new namespaces
(fip-<ext-net-id> and snat-<router-id> namespaces). This patch add
these namespaces to the namespace info dump.
Signed-off-by: Stephen Ma <stephen.ma at hp.com>
---
sos/plugins/openstack_neutron.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sos/plugins/openstack_neutron.py b/sos/plugins/openstack_neutron.py
index dba192e..44768ce 100644
--- a/sos/plugins/openstack_neutron.py
+++ b/sos/plugins/openstack_neutron.py
@@ -58,7 +58,7 @@ class Neutron(Plugin):
# plugin to run in different namespaces. There are a couple of options
# in the short term: create a local instance and "borrow" some of the
# functionality, or simply copy some of the functionality.
- prefixes = ["qdhcp", "qrouter"]
+ prefixes = ["qdhcp", "qrouter", "fip", "snat"]
ip_netns_result = self.call_ext_prog("ip netns")
if not (ip_netns_result['status'] == 0):
return
--
1.9.1
More information about the sos-devel
mailing list