pub fn machine_commands(
spec: &Spec,
m: &Machine,
t: &Trunk,
address: impl Fn(&str, u8) -> Ipv4Addr,
gateway: impl Fn(&str) -> Ipv4Addr,
) -> Vec<String>Expand description
The machine’s end, first thing its network sidecar does: the link named after the LAN, and
its addresses on <lan>.<id>. With no other way out, the default route goes through a VLAN
with internet (Docker’s gateway on it, reached through the switch).