Network: Show parent interfaces in lxc network show
#14424
Labels
Improvement
Improve to current situation
lxc network show
#14424
latest/edge
on Ubuntu 24.04Issue description
A network's
parent
interface is present in thenetworks_config
table but isn't displayed bylxc network show
(akaGET /networks/{name}
).parent
is a required config key when creating a new OVNUPLINK
, but since it's cluster-member specific (each cluster member gets a different row in the DB forparent
) it's not clear how it should be fetched via API/displayed to the user.The parent is at least included in
lxc network info
, but it isn't the first place I thought to go.I found this initially confusing when trying to figure out how a MicroCloud deployment is put together; it makes
UPLINK
look like magic rather than clearly showing the relationships between system ifaces and LXD physical networks.Steps to reproduce
Deploy a single-node microcloud:
The text was updated successfully, but these errors were encountered: