loop all ebtables tables

ebtables has 3 built in tables, if we don't call them out we only get
'filter' (per man page).

Change-Id: I52360cbb3b910cb492b61e2314848cc29dcd8266
This commit is contained in:
Sean Dague 2015-11-09 14:08:15 -05:00
parent fff4d8ef9d
commit 5c5e08669c

View File

@ -86,8 +86,10 @@ def disk_space():
def ebtables_dump():
tables = ['filter', 'nat', 'broute']
_header("EB Tables Dump")
_dump_cmd("sudo ebtables -L")
for table in tables:
_dump_cmd("sudo ebtables -t %s -L" % table)
def iptables_dump():