If you want to visualise what your Qubes network looks like, I’ve thrown together a simple viewer.
Probably only useful if you have something more complex than the default, but still fun.
You can mouse over qubes for information, highlight qubes, change names, and hide qubes, if you want to share a view.
Here’s what it looks like:
Currently it suppresses template VMs without a netvm. If you just remove line 28 (if value['netvm'] != '-':) of manager.py, templates without netvm will be shown, too.
Just for fun, here is the network topology of my test machine:
It isn’t restricted to Templates, of course, but all qubes with no netvm.
I’ve added the capability to save and reload structures, as well as add
notes, but positioning those is not good.
If you run in a manager qube, then you can use many of the qube control
functions - start/stop/settings - Also right clock on a connector to
open the firewall tab.
I think this is a fair bit of overkill now.
Quick update on this -
./manager.py shows network connections.
./manager.py --all shows network connections, and templates/qubes
that are not network connected.
call it as ./manager.py --templates and you can see the connections
between templates and their AppVMs, with StandaloneVMs in blue - any
network connected Templates are highlighted, and the connection to netvm
shown.
This is already in the NodeToken class, but marked as blue, which
should make them stand out.
Just save and reload now, but I’m having problems with loading a
Template view after a network view, and vice versa.
I keep thinking it would be handy to have a drag and drop interface for daisy-chaining VMs along their path to Netvm. In music or video production it’s easy to draw strings between different blocks along a grid to assign parameters. Maybe harder to execute with multiple vms taking multiple paths, but on a 1:1 basis, could provide a more fool proof way of confirming the pathways you’ve established. Maybe with a prompt to check firewall rules after each remapping.