tincctl: add node colors and edge weight to graph dump.

This commit is contained in:
Guus Sliepen 2012-10-14 16:07:35 +02:00
parent 40ed0c07dd
commit 368727c3da
3 changed files with 84 additions and 63 deletions

View file

@ -2213,6 +2213,9 @@ Dump a list of all meta connections with ourself.
@item dump graph | digraph
Dump a graph of the VPN in dotty format.
Nodes are colored according to their reachability:
red nodes are unreachable, orange nodes are indirectly reachable, green nodes are directly reachable.
Black nodes are either directly or indirectly reachable, but direct reachability has not been tried yet.
@item info @var{node} | @var{subnet} | @var{address}
Show information about a particular @var{node}, @var{subnet} or @var{address}.

View file

@ -128,6 +128,9 @@ Dump a list of all meta connections with ourself.
Dump a graph of the VPN in
.Xr dotty 1
format.
Nodes are colored according to their reachability:
red nodes are unreachable, orange nodes are indirectly reachable, green nodes are directly reachable.
Black nodes are either directly or indirectly reachable, but direct reachability has not been tried yet.
.It info Ar node | subnet | address
Show information about a particular node, subnet or address.
If an address is given, any matching subnet will be shown.