User Tools

Site Tools


setups:topology:home

Network Topology

Network Topology is the arrangement of the elements (links, nodes, etc.) of a communication network.

Each have their pros and cons.

Current Topology

As of Nov 14, 2023, our network topology looks like this:

About the Diagram

There was three steps in creating the diagram above:

  1. Create a text file of the topology using a python script (quick).
  2. Import that text file into https://app.diagrams.net (quick).
  3. Format it so that the edges (links) do not intersect too much (not quick).

Python Script

This Python script loads the json files of all the nodes visible from a given station. Here is an example of what the json file looks like:

Once the script has all the nodes' json files in memory, it creates output text files that summarizes some of the information.

To run the script yourself, you can either:

  • Download the following four files in the same folder and run the .py file if you have Python installed on your computer, or
  • Download the zip file and run the exe.
aredn_info_v20231128.py Generates the output files.
lan_hostnames.txt Ignores known LAN Hostnames to speed up the process.
LICENSE.md This script is Libre and Open Source Software.
ReadMe.txt Of course we read the instructions. LOL
aredn_info_v20231128.zip (7.3 MB) Bundle of all four files above plus an exe file for Windows.

The script outputs these text files (Nov 14, 2023):

Diagrams_Net.txt Can be inputted into https://www.diagrams.net (AKA draw.io)
Node_Info.csv A spreadsheet of information about each node.
Topology.csv A spreadsheet of each connection.
Topology_List.txt A text file of each connection.

The latest version (Nov 14, 2023) loads a maximum of 100 pages at a time, which was found to minimize the overall download time. Individual pages have a timeout period of 30 seconds so the script can take anywhere from 5 seconds to 30 seconds to complete.

Patrick VA7FI 2023/11/14 18:48

diagrams.net AKA draw.io

From diagrams.net:

diagrams.net (previously draw.io) is a free and open source cross-platform graph drawing software developed in HTML5 and JavaScript.

diagrams.net is available as online as cross-browser web app, and as offline desktop application for Linux, macOS, and Windows. The web app does not require online login or registration, and can open from and save to the local hard drive.

To create a chart from the output of the python script:

  • Select Save diagrams to: Device
  • Create New Diagrams
  • Create a Blank Diagram
  • Click the + sign in the tool bar at the top
  • Select AdvancedFrom Text…
  • Select Diagram instead of List
  • Replace the example with the output from the script and click Insert
  • Click EditSelect Edges
  • On the right hand side, replace the arrows by lines.
setups/topology/home.txt · Last modified: 2024/11/09 13:22 by va7fi