https://github.com/argilo/bbhn-utils
Utilities that may be useful for Broadband-Hamnet nodes
https://github.com/argilo/bbhn-utils
amateur-radio hacktoberfest
Last synced: about 1 year ago
JSON representation
Utilities that may be useful for Broadband-Hamnet nodes
- Host: GitHub
- URL: https://github.com/argilo/bbhn-utils
- Owner: argilo
- License: gpl-3.0
- Created: 2014-12-31T21:21:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-21T12:59:13.000Z (about 7 years ago)
- Last Synced: 2025-04-13T12:10:01.283Z (about 1 year ago)
- Topics: amateur-radio, hacktoberfest
- Language: Python
- Homepage:
- Size: 105 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
```
# Copyright 2014-2016 Clayton Smith
#
# This file is part of bbhn-utils
#
# bbhn-utils is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# bbhn-utils is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with bbhn-utils; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
```
bbhn-utils
==========
Author: Clayton Smith (VE3IRR)
Email:
This repository contains utilities that may be of interest to operators
of Broadband-Hamnet nodes. For information about Broadband-Hamnet,
refer to http://www.broadband-hamnet.org/.
The first utility is a Python script (topology.py) that generates mesh
topology diagrams. Sample output can be seen here:
http://ve2zaz.net/BBHN-Ottawa_www/
Each mesh node appears in an oval. Arrows between nodes indicate the
link cost (i.e. expected number of transmissions required per packet).
Solid lines between nodes indicate Ethernet links. Nodes beginning with
the same call sign are grouped together.
The Python script connects to a mesh node on port 2006 to fetch
topology data, then produces a Graphviz DOT file as output. A sample
shell script (topology.sh) demonstrates how to convert the resulting
DOT file to a PNG image. It also adds the current UTC time to the PNG
using ImageMagick and publishes the result to local web server and an
Amazon S3 bucket.
Requirements:
* Python 3
* Graphviz
* ImageMagick (optional)
* Amazon AWS CLI (optional)