Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Swap direction of requests for propagating NAT state from Nexus

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

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

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

評価

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

調査の方向性

dpd/src/rpw/mod.rs の 102 行目付近から始め、Nexus から NAT 状態を定期的に取得して確実にするタスクを読んでください。この issue の対象となる取得および確実化の処理を削除し、その際に NAT 状態の最新の有効な世代がどのように保存または参照されているかを確認してください。完了条件は、dpd がこの pull ベースの NAT 状態の伝播を行わなくなることです。Nexus からの伝播は別の Omicron issue で扱われます。

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

説明

Today, dpd pulls NAT state from Nexus here:

https://github.com/oxidecomputer/dendrite/blob/4c6f4b8443e2394669eb6200a9e8e881f67740fd/dpd/src/rpw/mod.rs#L102

That is a small loop which fetches the latest generation of NAT entries from Nexus periodically, and ensures they're all added to the ASIC tables. dpd then stores the latest valid NAT state generation number, which Nexus separately pulls and uses to clean up old NAT state in the database in its own background task.

We'd like to switch the sense of this propagation, pushing the state from Nexus to dpd rather than pulling it. The main reason for this is that it enables easier updates. dpd would no longer be a client of Nexus's internal API, so not "client-side versioned" in the terminology of RFD 567.

This issue covers removing this task for fetching and ensuring the NAT state. There will be a separate issue in Omicron for adding propagation from Nexus to dpd.

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

環境構築

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

はじめの一歩

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

oxidecomputer/dendrite のほかの issue

oxidecomputer/dendrite の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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