Uplinkd should probably go away
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
- 32/100
- Tipo di issue
- Refactoring
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- networking
Direzione di ricerca
Inizia leggendo l’implementazione di uplinkd e uplinkd_reconciler in omicron, quindi traccia il percorso con cui PortConfig di RackNetworkConfig raggiunge dpd e port_settings_apply. Conferma i percorsi ridondanti di parsing e riconciliazione di SMF prima di modificare qualsiasi cosa. Il lavoro è completato quando uplinkd e la sua riconciliazione ridondante sono stati rimossi e dpd gestisce direttamente le operazioni sugli indirizzi dell’uplink.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Uplinkd in its own words:
// This is a very limited function daemon. It watches the smf database, looking
// for entries in the uplinks/* property group. Each entry contains a tofino
// link name and one or more addresses. For each link that has a corresponding
// tfport interface, the daemon ensures that each of those addresses exists on
// the interface, and cleans up any addresses on the interface that aren't
// listed in the property.
//
// Interfaces on the system that don't have corresponding smf properties are
// left untouched. Entries in the database that don't have corresponding
// illumos interfaces are ignored - this daemon does not create or destroy
// interfaces.
//
// TODO: there is a gap at startup time. If the daemon crashes, when we restart
// we won't know which addresses are managed and which aren't. This is only a
// problem if the configured population changes between crashing and restarting.
//
// TODO: currently setting an interface into PtP mode seems to screw it up
// somehow. Even after removing that address, you can't add a new address to
// it. Maybe there is a way to reset an interface to broadcast mode after
// deleting its point-to-point link(s)?
This is sort of an odd daemon. It looks at SMF properties to set addresses for uplink interfaces rather than providing a dropshot server for configuration. This is redundant information from the PortConfig in RackNetworkConfig that already gets plumbed to dpd. Dpd could easily perform these operations directly without having to parse SMF properties to learn the existing configuration. This would also prevent the bugs from the doc comment above, as reconcilliation in dpd wouldn't rely on smf refresh.
There is also additional parsing and reconciliation in the uplinkd_reconciler in omicron that would go away in this case. port_settings_apply would drive everything and this would go away.
- Lingua principale
- Rust
- Stelle
- 21
- Fork
- 3
- Merge medio
- 8h 29m
- PR unite (30g)
- 2
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di oxidecomputer/dendrite
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
oxidecomputer/dendrite#380 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
oxidecomputer/dendrite#375 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
oxidecomputer/dendrite#369 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
oxidecomputer/dendrite#368 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
oxidecomputer/dendrite#359 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di oxidecomputer/dendrite
Issue simili
-
Fix large enum variantAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
software-challenge/player_rust#22 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
foundry-rs/foundry#17175 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/copilot-sdk#2793 ·
I maintainer di solito rispondono entro 1 giorno