Skip to content

feat(containerlab): Automate the VLAN transport acceptance rows - #1541

Merged
privateip merged 2 commits into
epic/1399-vlan-transportfrom
feat/issue-1405-harness
Nov 30, 2026
Merged

privateip merged 2 commits into
epic/1399-vlan-transportfrom
feat/issue-1405-harness

Conversation

@privateip

@privateip privateip commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds one lab task that runs every containerlab row of the VLAN transport acceptance matrix and writes a row-by-row report. It extends the #1401 lab variant with the shared-parent, active-backup, checksum offload and baseline rows the #1401 baseline asked for. A skip never counts as a pass, and an aborted run still returns the lab to its untagged state. Nothing here has run against the lab yet, which the epic's final lab pass does.

Refs #1405

@privateip privateip self-assigned this Nov 30, 2026
Adds what the #1401 baseline found missing for the end-of-epic lab pass:

- Cell C5: a bridge node (vlan-transport-switch.sh) gives sjc-worker2
  one bond that trunks the public VLAN to tr2 and the fabric VLAN to
  sjc-worker.
- Active-backup cells C1AB and C4AB, and per-side parents, so one side
  can change while the other keeps forwarding.
- `csum on|off` for transmit checksum offload on the veth senders, so
  native redirects stop producing false checksum errors.
- CNI_SELECT=by-node, for a galactic-cni that reads
  GALACTIC_CNI_EBPF_INTERFACES_BY_NODE.
- Captures that leave LACP, LLDP and STP out of the tag counts, report
  capture drops, and cover the tenant attachment.
- Interruption events with a public, a fabric and an end-to-end probe,
  and a check for anything left naming an old netdevice.
- Throughput and latency between tenants and through NAT66.

verify-xdp-mode.sh now expects generic mode on a VLAN netdevice, as the
contract requires.
`task verify:vlan-transport CELL= ROWS=` runs the containerlab rows V01
to V28 of the acceptance matrix over cells C1 to C6, C4 with alternate
IDs and the active-backup cells, in each host XDP mode and VLAN offload
state. It drives the variant scripts and the existing verify scripts and
tasks.

Each check is recorded as PASS, FAIL, SKIP, BASELINE, N/A or PLANNED,
and vlan-transport-report.sh writes the report: pinned revisions,
configuration, expected against observed, captures and counters, skips
and commands. A skip is never a pass: the task exits 1 when a check
failed and 3 when none failed but some were skipped. DRY_RUN=1 prints
every step and writes the report skeleton without touching the lab.

A failed apply or offload step records one failure and skips that cell
or offload state. An interrupted or aborted live run still reverts sjc
to C1, restores the XDP mode and writes the report.
@privateip
privateip force-pushed the feat/issue-1405-harness branch from 0fb4a63 to 011b69b Compare November 30, 2026 20:10
@privateip
privateip marked this pull request as ready for review November 30, 2026 20:33
@privateip
privateip requested a review from a team as a code owner November 30, 2026 20:33
@privateip
privateip merged commit 5d4e2de into epic/1399-vlan-transport Nov 30, 2026
28 checks passed
@privateip

Copy link
Copy Markdown
Contributor Author

Two reviewers checked this change before it left draft.

  1. First pass: the conventions reviewer held on the body length, and the adversarial reviewer passed it with three fixes. Those were reverting the lab when a run aborts, stopping a cell when setup fails, and telling failures from skips in the exit code. All three are in the second commit.
  2. Second pass: the re-reviewer confirmed those fixes, and both reviewers passed the change once the body was shortened.

Both reviewers ran shell lint on every changed script and the dry run across every cell. Neither ran the lab, which the #1405 lab pass covers.

@privateip
privateip deleted the feat/issue-1405-harness branch November 30, 2026 20:33
privateip added a commit that referenced this pull request Dec 2, 2026
feat(containerlab): Automate the VLAN transport acceptance rows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant