`tfportd` should probably be subsumed by `dpd`

Aperta
#432 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
networking

Direzione di ricerca

Start by reading the dpd and tfportd entry points and the tfport_data endpoint in dpd-api/src/lib.rs. Trace how the two binaries coordinate network bootstrapping, especially DHCPv6 on the temporary VLAN. Done means tfportd is a component inside dpd and the bootstrapping behavior is coordinated there; the issue gives no tests or migration plan.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We've had a number of bugs that have essentially come out of the fact that dpd and tfportd are separate binaries. The two do have separate "jobs", but they're really not independent in any meaningful sense. tfportd has its own special-purpose API endpoints in dpd (e.g., tfport_data). dpd and tfportd coordinate to bootstrap the network (getting the base MAC from the Sidecar SP over the temporary management network), a process made more complex and error-prone by the fact that tfportd doesn't really "understand" the temporary network. See this (private) issue for the most recent bug related to this. (Briefly, tfportd starts DHCPv6 on the temporary VLAN, before we really want it to, again since it doesn't "know" the VLAN is temporary.)

I feel pretty strongly that tfportd should be a component inside dpd. That lets us coordinate with it in much richer ways, and would likely make this bootstrapping process easier to get right.

Lingua principale
Rust
Stelle
22
Fork
4
Merge medio
1g 3h
PR unite (30g)
6

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di oxidecomputer/dendrite

Tutte le issue di oxidecomputer/dendrite

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.