output "network_id" {
description = "libvirt network id for this link -- for wiring into the OPNsense edge VMs' interfaces once the domain/VM module is authored (see opentofu/README.md)."
value = libvirt_network.link.id
}
# A "bridge_name" output (the OS-level bridge interface backing this network,
# needed by whatever applies `tc netem` to it) is deliberately NOT included
# here: `bridge` is documented as a configurable input block (delay,
# mac_table_manager, name, stp, zone), and this resource does not set it, so
# whether `libvirt_network.link.bridge` reads back a provider-assigned name
# when left unset is unverified from this session. Confirm with
# `tofu show -json` after a real apply before relying on it.