`tfportd` should probably be subsumed by `dpd`

オープン
#432 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
networking

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
22
フォーク
4
平均マージ
1日 3時間
マージ済み PR(30日)
6

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

oxidecomputer/dendrite のほかの issue

oxidecomputer/dendrite の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。