`tfportd` should probably be subsumed by `dpd`

Abierto
#432 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust
Área
networking

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Rust
Estrellas
22
Forks
4
Merge medio
1 d 3 h
PR fusionados (30 d)
6

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de oxidecomputer/dendrite

Todos los issues de oxidecomputer/dendrite

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.