diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2015-05-04 10:26:40 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2015-05-04 10:26:40 +0200 |
commit | 0156e238b1b7a6d1c625a3185caa03a6504e7255 (patch) | |
tree | 143c87e63767cf772ff0b263be02b5c4b5e0fe60 /tools/dotnet.sh | |
parent | 018186eba522de5b96e5583dc9ddbef28da8e245 (diff) |
Add dotnet.sh support
Run ./dotnet.sh <ip> <community> and out comes a png with your network
topology.
Diffstat (limited to 'tools/dotnet.sh')
-rwxr-xr-x | tools/dotnet.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/dotnet.sh b/tools/dotnet.sh new file mode 100755 index 0000000..ccba503 --- /dev/null +++ b/tools/dotnet.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +DATE="$(date +%s)" +./lldpdiscover.pl $1 $2 | ./draw-neighbors.pl | dot -Tpng > ${DATE}.png |