git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovs-bugtool: Add iptables output for all tables.
[sliver-openvswitch.git]
/
utilities
/
bugtool
/
ovs-bugtool.in
diff --git
a/utilities/bugtool/ovs-bugtool.in
b/utilities/bugtool/ovs-bugtool.in
index
19b3378
..
ffaf753
100755
(executable)
--- a/
utilities/bugtool/ovs-bugtool.in
+++ b/
utilities/bugtool/ovs-bugtool.in
@@
-549,7
+549,8
@@
exclude those logs from the archive.
cmd_output(CAP_NETWORK_STATUS, [NETSTAT, '-an'])
for dir in DHCP_LEASE_DIR:
tree_output(CAP_NETWORK_STATUS, dir)
cmd_output(CAP_NETWORK_STATUS, [NETSTAT, '-an'])
for dir in DHCP_LEASE_DIR:
tree_output(CAP_NETWORK_STATUS, dir)
- cmd_output(CAP_NETWORK_STATUS, [IPTABLES, '-nL'])
+ for table in ['filter', 'nat', 'mangle', 'raw', 'security']:
+ cmd_output(CAP_NETWORK_STATUS, [IPTABLES, '-t', table, '-nL'])
for p in os.listdir('/sys/class/net/'):
try:
f = open('/sys/class/net/%s/type' % p, 'r')
for p in os.listdir('/sys/class/net/'):
try:
f = open('/sys/class/net/%s/type' % p, 'r')