siemens / ghostwire

[Edgeshark] Virtual communication discovery in container hosts
https://ghostwire.siemens.io/
MIT License
20 stars 0 forks source link

rerun layout on discovery updates #31

Closed thediveo closed 10 months ago

thediveo commented 1 year ago

Currently, the breadboard component and its wiring component only (re)layout wires when either the wiring changes and/or the breadboard resizes. This leads to stale wiring especially when refreshing discovery changes and network interfaces change their positions, for instance, in result to additional containees appearing or vanishing in network namespaces.

A fix might be to also change the "layout token" when the netns property of the breadboard changes.