Add IPv6 route information to worlddump
The "ip route" command only outputs IPv4 routes, add a command to also show IPv6 route information. Drop output from "ip link" as that information is contained within the "ip addr" output already. Change-Id: Iae87f43c4b1c57f07de041e823da9d350c670389
This commit is contained in:
parent
6e68add275
commit
0545b48f3b
@ -165,7 +165,7 @@ def network_dump():
|
|||||||
|
|
||||||
_dump_cmd("bridge link")
|
_dump_cmd("bridge link")
|
||||||
_dump_cmd("ip link show type bridge")
|
_dump_cmd("ip link show type bridge")
|
||||||
ip_cmds = ["neigh", "addr", "link", "route"]
|
ip_cmds = ["neigh", "addr", "route", "route -6"]
|
||||||
for cmd in ip_cmds + ['netns']:
|
for cmd in ip_cmds + ['netns']:
|
||||||
_dump_cmd("ip %s" % cmd)
|
_dump_cmd("ip %s" % cmd)
|
||||||
for netns_ in _netns_list():
|
for netns_ in _netns_list():
|
||||||
|
Loading…
Reference in New Issue
Block a user