`tfportd` should probably be subsumed by `dpd`

Đang mở
#432 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
networking

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
22
Fork
4
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oxidecomputer/dendrite

Tất cả issue của oxidecomputer/dendrite

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.