Infrastructure diagram? No! In this homelab we refer to the infrastructure hyperdodecahedron.
truthfultemporarily@feddit.org 11 hours ago
Have you tried introducing unnecessary complexity?
InnerScientist@lemmy.world 9 hours ago
tal@lemmy.today 6 hours ago
It seems like a good time to learn graphviz’s dot format for the network layout diagrams, with automated layout.
chM5tZ8zMp@lemmy.sdf.org 2 hours ago
TIL. Thank you!
tal@lemmy.today 13 minutes ago
Sure. What that guy is using is actually not the most-interesting diagram style, IMHO, for automatic layout of network maps, if you want large-scale stuff, which is where the automatic layout gets more interesting. I have some scripts floating around somewhere that will generate very large network maps — run a bunch of traceroutes, geolocate IPs, dump the results into an sqlite database, and then generate an automatically laid-out Internet network map. I don’t want to go to the trouble of anonymizing the addresses and locations right now, but if you have a graphviz graph and want to try playing with it, I used:
goes looking
Ugh, it’s Python 2, a decade-and-a-half old, and never got ported. Lemme gin up an example for the non-hierarchical graphviz stuff:
graph.dot:
graph foo { a--b a--d b--c d--e c--e e--f b--d }
Processed with:
$ sfdp -Goverlap=prism -Gsep=+5 -Gesep=+4 -Gremincross -Gpack -Gsplines=true -Tpdf -o graph.pdf graph.dotGenerates something like this:
That’ll take a ton of graphviz edges and nicely lay them out, albeit not in that kind of hierachy shown. You can create massive network maps like this. Note that was last looking at graphviz’s automated layout stuff about 15 years ago, so it’s possible that they have better algorithms now, but this can deal with enormous numbers of nodes and will do reasonable things with them.
I just grabbed his example because it was the first graphviz network map example that came up.
non_burglar@lemmy.world 8 hours ago
Haha too right mate
irmadlad@lemmy.world 4 hours ago
unnecessary complexity?
I can help with that. It’s a skill I have. LOL
Zink@programming.dev 4 hours ago
This is just as true in my non-computer hobbies that involve physical systems instead of code and configs!
If I had to just barely meet the requirements using as little budget as possible while making it easy for other people to work on, that would be called “work.” My brain needs to indulge in some over-engineering and “I need to see it for myself” kind of design decisions.
Sabata11792@ani.social 10 hours ago
If you know how your setup works, then that’s a great time for another project that breaks everything.
cenzorrll@piefed.ca 7 hours ago
Saturday morning: “Incus and podman seem interesting. I bet I could swap everything over while the family is out this afternoon”
Sunday evening: “Dad, when will the lights work again?”
Sabata11792@ani.social 7 hours ago
As soon as selinux decides I have permission.
tal@lemmy.today 4 hours ago
The old lighting wasn’t that great anyway. If I were to just put lighting on a DMX512-controlled network, then all of it could be synchronized to whole-house audio…