network graph [feature request]

14 views
Skip to first unread message

haaber

unread,
Jun 27, 2019, 7:45:29 PM6/27/19
to qubes-users
Hi, by running qvm-ls a directed graph of which qubes depends on which
other as netVM can be obtained. I thought that this would be nice to
have the network graph visualized in the qubes widget (or in
network-manager, which is more natural, but maybe harder to fiddle in
the code).

The graph is flat, loop-free, and easy to organise: on top go VM's
without netvm, from there we branch childs. In general, 5 layers will
suffice. The only question is whether that would need extra python
libraries to be brought into dom0 (like networkx, pyplot which probably
is not wanted) ... anyways, I though I throw the idea in the ring. Have
a good one, Bernhard

Andrew David Wong

unread,
Jun 27, 2019, 9:15:38 PM6/27/19
to haaber, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Something like this has already been implemented. I remember seeing it
in Qubes OS. I can't seem to find it now, though, so either:

1. It was in 3.2 but not carried over to 4.0, or
2. It's accessed from Qubes Global Settings, which is currently broken.

There's also this open issue:

https://github.com/QubesOS/qubes-issues/issues/2575

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAl0VaiMACgkQ203TvDlQ
MDCWHg//aGjM3pGJzrjjIMZhYkMPp/NOMrgGb8/DCp80DoIuD6VNFA7EXP4cwWX+
HfpYEx0CvlyrOdi9r2w1GT+/7s8FHhr1GOKJTwEFzKBRoGH5k+cLmbjYwzg7/nPv
6Jq4JYd8OeZepaIds7YpQ5xe/KPmtQaguhHXLCSLJYs/xOssPTbwXjedu3zqRUlj
ZGgcUt6GLytR0Cjhg7Fi++outjfmSA+dExMEvkt+fnFift4Ou5yA45bwQYVdcT/S
c76Ljl6FRy0OyPgF7NmXC4eQSz2PB7TvM+SGHTuyQ3Joq38tXSOXAdvwaTCChU4h
5P4sGyoudyR4r3cSrq1QneC6p5SXY1HAi8YSwRykY8sIP8nuVjVBIEM+oHUxiQTH
00qrvpA/vSYJ6Elqm6rpw+In/petxBJhBKal1gAE3MXLJfVLAl/4CWYMg7+IOswr
JE/u+5q7+Jfxjeaq4G7b7LfMk65NCzADkSrxpJGEx2ZRNrABsD/FXP+CjFDvMmX2
c6dxMjqMHy+mrGLqy/2VmNltxYve90rGNFJos1ByjOUyk5UgMKAsMrJUZHo+SGrQ
zzKzr3gyFEhjxqgjBrSNMVKqUvNIK3rHLfDmDBS0VTf1LEI1JQtJP0HvIYZd6ePp
TuWyM9voyUhbbrNjnHpf9HgvbtV46ZcXz6lex6U1ilEvXMbUR9o=
=XZ7H
-----END PGP SIGNATURE-----

Andrew David Wong

unread,
Jun 27, 2019, 9:18:48 PM6/27/19
to haaber, qubes-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 27/06/2019 8.15 PM, Andrew David Wong wrote:
> On 27/06/2019 6.44 PM, haaber wrote:
>> Hi, by running qvm-ls a directed graph of which qubes depends on
>> which other as netVM can be obtained. I thought that this would
>> be nice to have the network graph visualized in the qubes widget
>> (or in network-manager, which is more natural, but maybe harder
>> to fiddle in the code).
>
>> The graph is flat, loop-free, and easy to organise: on top go
>> VM's without netvm, from there we branch childs. In general, 5
>> layers will suffice. The only question is whether that would need
>> extra python libraries to be brought into dom0 (like networkx,
>> pyplot which probably is not wanted) ... anyways, I though I
>> throw the idea in the ring. Have a good one, Bernhard
>
>
> Something like this has already been implemented. I remember seeing
> it in Qubes OS. I can't seem to find it now, though, so either:
>
> 1. It was in 3.2 but not carried over to 4.0, or 2. It's accessed
> from Qubes Global Settings, which is currently broken.
>

The Qubes Global Settings fix is in testing, by the way:

https://github.com/QubesOS/qubes-issues/issues/4988

> There's also this open issue:
>
> https://github.com/QubesOS/qubes-issues/issues/2575
>

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEZQ7rCYX0j3henGH1203TvDlQMDAFAl0VauYACgkQ203TvDlQ
MDB0BRAAqVHjluh7Rmet6PwIa+Ku+yYcUrckYpMdH9houYem+67/fAZvv6jok8oa
rbgZICJCWcX4DEkboYCRZUhcjFxB89uOMNi7NoI6UoNZSRsWLiG+lC0oDxOjXMrM
f+f7gg/J63xO2WHYZ8EJUzo3w1xkHz8bYrgtIdEqbuR1M4iTroGWavuxU59HxfC2
+W71f2xk2LuKJKBfCY8dOLM7XPffDwWaLQBeFQ+uGKMDs5Qgb+8rXDDuprCDkEje
yiRawynK6+rH0jDpmmi8iPcFc0uoL7dHno0M0yZCweAG5sFaE9UzYnkKDUdJK1EK
/6qAQW/5mqBFMp1+cF3nIyMi5Mhqh3t0lpYYjzeM0Lwd/Pue+8A8S+eAU2L9h9wO
E477ghXDUsQpiRVarPluGiiG78hpH1/d+1W83NSYw71VSQXkhBrUnkHk3lynDRta
BuGm9I8B4UJD/PZjYN4ficuoTMCyPndcqiRY2XDwzwl97SBOlFkY31q0MD8y1v8c
3PNGyPR0tHS9VcapTzY2VSNXt4oTz2L3WlJt11YGlIKJOMC9GNlN/jJXseNtYUbd
ywZtrlwi5DAbL8V/eOvrfp3xznxNc73GOUoHRiMltvaIjVsBg41IFZJCOC8LdfZK
mOA7BYtQRXuJf9Su3xHNnLznE58cAw06wHzcMu98pQzGjNpfU7E=
=Vopo
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages