You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
vivarium: segments as objects, so a link can carry its own settings #1326
A segment is only a string on an interface (vivarium.interfaces.<name>.segment). A property of the link itself has no place to live: MTU, capture, a forced hub, impairment (#858).
Want: a test-level segments.<name> option with mtu, hub and capture, and later impair. An interface still names its segment by string; a segment nobody declares gets the defaults, so no existing test changes.
netlab treats a link as an object with attributes (mtu, tc, prefix, pool) and assigns addresses from pools. Address pools stay out of core: every test here writes its addresses by hand (tests/segments, tests/routeros-bgp), and examples/frr-clos/clos.nix builds its own link names. A recipe in recipes/ can number a topology later, if a second example wants it.
segments.<name> landed with mtu and hub, in "vivarium: segments. sets a segment's MTU and hub". capture comes with the capture and cut issue (#1327), which closes this one.
MTU is now per interface in the spec and in every backend: UML vecN, QEMU host_mtu, krun's networkd link, the container tap.
A segment that an uplink joins refuses mtu, because the uplink is vivarium.mtu.
A declared segment that no guest joins fails evaluation.
reload refuses a changed segments.
checks.segment-mtu passes on UML, QEMU and krun in the sandbox, and on the container backend as a driver. It gives each guest one declared and one undeclared segment.
Activity
vivarium: each segment interface carries its own MTU
vivarium: segments.<name> sets a segment's MTU and hub
Lillecarl commentedon Nov 13, 2026
segments.<name>landed withmtuandhub, in "vivarium: segments. sets a segment's MTU and hub".capturecomes with the capture and cut issue (#1327), which closes this one.vecN, QEMUhost_mtu, krun's networkd link, the container tap.mtu, because the uplink isvivarium.mtu.reloadrefuses a changedsegments.checks.segment-mtupasses on UML, QEMU and krun in the sandbox, and on the container backend as a driver. It gives each guest one declared and one undeclared segment.Assisted-By: Claude Opus 5.5