oxidecomputer / oxidecomputer/dendrite

traffic from the switch zone should be vlan-able

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
20
Forks
3
Avg merge
3d 11h
Merged PRs (30d)
4

Description

Currently traffic from the switch zone is routed by Illumos based on its internal routing table, and bypasses the p4 routing code running on Tofino. This means that the packets will not have the appropriate vlan tag applied.

There are at least two different means to address this:

  • Add a new table in the egress path, explicitly mapping source address to vlan, applying any missing tags.
  • Modify uplinkd to create vlan links on top of the normal tfport link. This will cause Illumos to apply the appropriate tag before the packet reaches the tofino.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the egress path and uplinkd handling of the switch zone, then compare the two proposed approaches: an egress source-address-to-VLAN table or VLAN links on the normal tfport link. Done means traffic routed by Illumos receives the appropriate VLAN tag before reaching the Tofino.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.