Swap direction of requests for propagating NAT state from Nexus
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
- 领域
- networking
调研方向
从 dpd/src/rpw/mod.rs 约第 102 行开始,阅读定期从 Nexus 获取并确保 NAT 状态的任务。移除本 issue 涵盖的获取和确保工作,同时检查最新有效的 NAT 状态 generation 是如何存储或引用的。完成的标准是 dpd 不再执行这种基于 pull 的 NAT 状态传播;来自 Nexus 的传播由单独的 Omicron issue 负责。
由索引模型根据 Issue 内容生成。
描述
Today, dpd pulls NAT state from Nexus here:
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
- 平均合并
- 10 小时 45 分钟
- 30 天内合并 PR
- 2
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oxidecomputer/dendrite 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
oxidecomputer/dendrite#384 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 65/100
oxidecomputer/dendrite#375 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
oxidecomputer/dendrite#369 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
oxidecomputer/dendrite#368 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
oxidecomputer/dendrite#359 · 1 条评论 ·
维护者通常 1 天内回复
查看 oxidecomputer/dendrite 的全部 Issue
相似的 Issue
-
bug CLI exec tool-calls
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
-
maintainer-needed p2 triaged ui windows
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
ai_p2
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/ClickHouse#123351 ·
维护者通常 1 天内回复
-
documentation
难度 1/5 1 小时以内 新手友好度 92/100
github/copilot-sdk#2804 · 1 条评论 ·
维护者通常 1 天内回复