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
galactic-nat reports bond members instead of its uplinks in transport diagnostics #1547
In the #1405 lab run on the epic branch (cell C1), galactic-nat reported its bond members eth1, eth2, eth3 and eth4 as unassigned sides in galactic_transport_side_info and its log. galactic-gateway reported the logical interfaces bond0 and bond1 correctly.
Expected
Contract §8 (Diagnostics) and acceptance row V17 require each component to report the logical interface it was pointed at (for example bond0), with its side, mode and VLAN ID. Members are not sides.
Work items
Resolve and report galactic-nat's sides from its configured logical uplinks through internal/plumbing/transport, before bond expansion, not from the expanded members.
Acceptance
A unit test with a bond uplink shows galactic_transport_side_info carries the bond, not its members.
Confirmed on epic/1399-vlan-transport (a526d86): natDatapath.syncVLANEgress resolves the list natattach.ResolveUplinks returns, which has already expanded each bond to its members (bond.XDPTargets), so a bond uplink is reported as its members.
Plan (one PR with #1546): split natattach.ResolveUplinks into the logical selection (the override, or auto-detection) and the hook-target expansion. galactic-nat resolves, validates and reports the logical uplinks through internal/plumbing/transport, and fills vlan_egress from them. Only XDP attachment and the uplink sysctls use the expanded members. A unit test with a bond uplink checks that galactic_transport_side_info carries the bond and none of its members.
Fixed by #1548, merged into the epic branch epic/1399-vlan-transport as c72a7e9. Unit tests and real-kernel root tests in CI cover it. The lab check (V17/V18) runs in #1405's smoke pass. Closed by hand because Fixes only fires when the epic branch merges into main.
Activity
privateip commentedon Dec 1, 2026
Confirmed on
epic/1399-vlan-transport(a526d86):natDatapath.syncVLANEgressresolves the listnatattach.ResolveUplinksreturns, which has already expanded each bond to its members (bond.XDPTargets), so a bond uplink is reported as its members.Plan (one PR with #1546): split
natattach.ResolveUplinksinto the logical selection (the override, or auto-detection) and the hook-target expansion.galactic-natresolves, validates and reports the logical uplinks throughinternal/plumbing/transport, and fillsvlan_egressfrom them. Only XDP attachment and the uplink sysctls use the expanded members. A unit test with a bond uplink checks thatgalactic_transport_side_infocarries the bond and none of its members.privateip commentedon Dec 1, 2026
Fixed by #1548, merged into the epic branch
epic/1399-vlan-transportas c72a7e9. Unit tests and real-kernel root tests in CI cover it. The lab check (V17/V18) runs in #1405's smoke pass. Closed by hand becauseFixesonly fires when the epic branch merges intomain.fix(transport): Refuse invalid sides in the gateway and NAT