summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile6
-rw-r--r--graph.dot152
3 files changed, 102 insertions, 57 deletions
diff --git a/.gitignore b/.gitignore
index e653629..52919d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
+graph.in
graph.png
diff --git a/Makefile b/Makefile
index a2fab8f..8e7ea8a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
-%.png: %.dot
+%.in: %.dot
+ sed "$(shell sed 's/^#DEFINE \(\S\+\) \(.*\)$$/s@\1@\2@g/; t; d' "$<")" "$<" > "$@"
+
+%.png: %.in
dot -Tpng -o$@ $<
all: graph.png
.PHONY: all
-
diff --git a/graph.dot b/graph.dot
index e5b7f52..f1d80b3 100644
--- a/graph.dot
+++ b/graph.dot
@@ -1,59 +1,101 @@
+#DEFINE SHAPE "none"
+
digraph rechner {
- "szilassi" [label="szilassi.eckner.net", fontcolor="#008000"];
-
- "aquarus" [label="aquarus\n192.168.0.11\n192.168.1.11\n10.0.0.18", fontcolor="#008000"];
- "aries" [label="aries\n141.35.49.219\n10.0.0.6", fontcolor="#008000"];
- "kosan" [label="kosan\n10.0.0.10", fontcolor="#008000"];
- "nlopc43" [label="nlopc43\n141.35.50.156\n10.0.0.14", fontcolor="#008000"];
- "taurus" [label="taurus\n10.0.0.18", fontcolor="#008000"];
-
- "router" [label="router\n10.0.0.x\n10.x.y.z\n192.168.0.13\n192.168.1.13\n192.168.255.1", fontcolor="#008000"];
- "musik" [label="musik\n192.168.0.4", fontcolor="#008000"];
- "banpi" [label="banpi\n192.168.0.5", fontcolor="#008000"];
- "switch5" [label="switch5\n192.168.0.7", fontcolor="#008000"];
- "switch8" [label="switch8\n192.168.0.8", fontcolor="#008000"];
- "raspi" [label="raspi\n192.168.0.9", fontcolor="#008000"];
- "desk" [label="desk\n192.168.0.12", fontcolor="#008000"];
- "fileserver" [label="fileserver\n192.168.0.15", fontcolor="#008000"];
- "raspi0" [label="raspi0\n192.168.1.2", fontcolor="#008000"];
- "rpi3" [label="rpi3\n10.255.0.0\n192.168.1.3", fontcolor="#008000"];
-
- "banpi cryptdev" [label="/mnt/cryptedTB", fontcolor="#808000"];
- "desk cryptdev" [label="/home", fontcolor="#808000"];
- "fileserver cryptdev" [label="/var/ftp (mdadm)", fontcolor="#808000"];
- "musik cryptdev" [label="/home/musix", fontcolor="#808000"];
- "raspi cryptdev" [label="/mnt/key", fontcolor="#808000"];
-
- "raspi banpi key" [label="key-file", fontcolor="#800000"];
- "raspi desk key" [label="key-file", fontcolor="#800000"];
- "raspi fileserver key" [label="key-file", fontcolor="#800000"];
- "raspi musik key" [label="key-file", fontcolor="#800000"];
-
- "banpi desk key" [label="key-file", fontcolor="#800000"];
- "banpi fileserver key" [label="key-file", fontcolor="#800000"];
- "banpi musik key" [label="key-file", fontcolor="#800000"];
- "banpi raspi key" [label="key-file", fontcolor="#800000"];
-
- "banpi pw" [label="Passwort", fontcolor="#c00000"];
- "raspi pw" [label="Passwort", fontcolor="#c00000"];
-
- "aquarus tasks" [label="alter Laptop Stefanie", fontcolor="#000080", shape=box];
- "aries tasks" [label="Bureaurechner Stefanie", fontcolor="#000080", shape=box];
- "kosan tasks" [label="Rudolstadt", fontcolor="#000080", shape=box];
- "nlopc43 tasks" [label="Bureaurechner Erich", fontcolor="#000080", shape=box];
- "taurus tasks" [label="Laptop Stefanie", fontcolor="#000080", shape=box];
-
- "banpi tasks" [label="cGit,\nKey-Backup,\nWebserver", fontcolor="#000080", shape=box];
- "desk tasks" [label="Desktop Erich", fontcolor="#000080", shape=box];
- "fileserver tasks" [label="Datengrab", fontcolor="#000080", shape=box];
- "musik tasks" [label="Musik", fontcolor="#000080", shape=box];
- "raspi tasks" [label="Keys", fontcolor="#000080", shape=box];
- "raspi0 tasks" [label="Anzeige", fontcolor="#000080", shape=box];
- "router tasks" [label="Debian Repo,\nDHCP,\nDNS (forward),\nNAT64,\nRouting,\nVPN,\nWLAN", fontcolor="#000080", shape=box];
- "rpi3 tasks" [label="tor,\ntorDNS", fontcolor="#000080", shape=box];
- "switch5 tasks" [label="Switch am Fileserver", fontcolor="#000080", shape=box];
- "switch8 tasks" [label="GBit-Switch", fontcolor="#000080", shape=box];
- "szilassi tasks" [label="DNS (authoritativ),\nEmail,\nWebsite", fontcolor="#000080", shape=box];
+
+ subgraph "cluster aquarus" {
+ "aquarus" [label="aquarus\n192.168.0.11\n192.168.1.11\n10.0.0.18", fontcolor="#008000", shape=SHAPE];
+ "aquarus tasks" [label="alter Laptop Stefanie", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster aries" {
+ "aries" [label="aries\n141.35.49.219\n10.0.0.6", fontcolor="#008000", shape=SHAPE];
+ "aries tasks" [label="Bureaurechner Stefanie", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster banpi" {
+ "banpi" [label="banpi\n192.168.0.5", fontcolor="#008000", shape=SHAPE];
+ "banpi cryptdev" [label="/mnt/cryptedTB", fontcolor="#808000", shape=SHAPE];
+ "banpi desk key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "banpi fileserver key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "banpi musik key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "banpi raspi key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "banpi pw" [label="Passwort", fontcolor="#c00000", shape=SHAPE];
+ "banpi tasks" [label="cGit,\nKey-Backup,\nWebserver", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster desk" {
+ "desk" [label="desk\n192.168.0.12", fontcolor="#008000", shape=SHAPE];
+ "desk cryptdev" [label="/home", fontcolor="#808000", shape=SHAPE];
+ "desk tasks" [label="Desktop Erich", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster fileserver" {
+ "fileserver" [label="fileserver\n192.168.0.15", fontcolor="#008000", shape=SHAPE];
+ "fileserver cryptdev" [label="/var/ftp (mdadm)", fontcolor="#808000", shape=SHAPE];
+ "fileserver tasks" [label="Datengrab", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster kosan" {
+ "kosan" [label="kosan\n10.0.0.10", fontcolor="#008000", shape=SHAPE];
+ "kosan tasks" [label="Rudolstadt", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster musik" {
+ "musik" [label="musik\n192.168.0.4", fontcolor="#008000", shape=SHAPE];
+ "musik cryptdev" [label="/home/musix", fontcolor="#808000", shape=SHAPE];
+ "musik tasks" [label="Musik", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster nlopc43" {
+ "nlopc43" [label="nlopc43\n141.35.50.156\n10.0.0.14", fontcolor="#008000", shape=SHAPE];
+ "nlopc43 tasks" [label="Bureaurechner Erich", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster raspi" {
+ "raspi" [label="raspi\n192.168.0.9", fontcolor="#008000", shape=SHAPE];
+ "raspi cryptdev" [label="/mnt/key", fontcolor="#808000", shape=SHAPE];
+ "raspi banpi key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "raspi desk key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "raspi fileserver key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "raspi musik key" [label="key-file", fontcolor="#800000", shape=SHAPE];
+ "raspi pw" [label="Passwort", fontcolor="#c00000", shape=SHAPE];
+ "raspi tasks" [label="Keys", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster raspi0" {
+ "raspi0" [label="raspi0\n192.168.1.2", fontcolor="#008000", shape=SHAPE];
+ "raspi0 tasks" [label="Anzeige", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster router" {
+ "router" [label="router\n10.0.0.x\n10.x.y.z\n192.168.0.13\n192.168.1.13\n192.168.255.1", fontcolor="#008000", shape=SHAPE];
+ "router tasks" [label="Debian Repo,\nDHCP,\nDNS (forward),\nNAT64,\nRouting,\nVPN,\nWLAN", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster rpi3" {
+ "rpi3" [label="rpi3\n10.255.0.0\n192.168.1.3", fontcolor="#008000", shape=SHAPE];
+ "rpi3 tasks" [label="tor,\ntorDNS", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster switch5" {
+ "switch5" [label="switch5\n192.168.0.7", fontcolor="#008000", shape=SHAPE];
+ "switch5 tasks" [label="Switch am Fileserver", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster switch8" {
+ "switch8" [label="switch8\n192.168.0.8", fontcolor="#008000", shape=SHAPE];
+ "switch8 tasks" [label="GBit-Switch", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster szilassi" {
+ "szilassi" [label="szilassi.eckner.net", fontcolor="#008000", shape=SHAPE];
+ "szilassi tasks" [label="DNS (authoritativ),\nEmail,\nWebsite", fontcolor="#000080", shape=SHAPE];
+ };
+
+ subgraph "cluster taurus" {
+ "taurus" [label="taurus\n10.0.0.18", fontcolor="#008000", shape=SHAPE];
+ "taurus tasks" [label="Laptop Stefanie", fontcolor="#000080", shape=SHAPE];
+ };
"aquarus" -> "router" [dir=back];
"aries" -> "router" [dir=back];