Add support of `state: ignore` match support in route
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- rust
- 领域
- networking
调研方向
Start by tracing how route entries with state: absent are handled and how route configuration is reconciled; the issue does not name source files or tests. Then identify the route implementation and relevant tests for matching routes by destination and next-hop interface. Done means routes marked state: ignore are left untouched while other routes on the interface are removed as shown in the example.
由索引模型根据 Issue 内容生成。
描述
For example, this YAML will instruct nmstate do not touch routes next hop to 10.0.0.0/8 and remove all other routes on eth1.
---
routes:
config:
- destination: 10.0.0.0/8
next-hop-interface: eth1
state: ignore
- state: absent
next-hop-interface: eth1
- destination: 192.0.3.0/24
next-hop-address: 192.0.2.1
next-hop-interface: eth1
metric: 103
interfaces:
- name: eth1
type: ethernet
state: up
ipv4:
address:
- ip: 192.0.2.251
prefix-length: 24
dhcp: false
enabled: true
- 主要语言
- Rust
- 星标
- 396
- 派生
- 121
- 平均合并
- 3 天 11 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nmstate/nmstate 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 4 天内回复
-
难度 4/5 1-2 天 新手友好度 48/100
维护者通常 4 天内回复
-
apply fails with ipv6.dns: this property is not allowed for 'method=disabled' when the active profile stores an IPv6 DNS server可能已有人在做 @NopeCharon 于 9 天前认领。 未关闭
难度 4/5 1-2 天 新手友好度 55/100
nmstate/nmstate#3251 · 2 条评论 ·
维护者通常 4 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
nmstate/nmstate#3242 · 1 个 reaction ·
维护者通常 4 天内回复
-
Possible allocator mismatch: Go binding frees its own C.CString buffers with nmstate_cstring_free (CString::from_raw)可能已有人在做 @cvas22 于 11 天前认领。 未关闭
难度 3/5 半天 新手友好度 62/100
nmstate/nmstate#3241 · 2 条评论 ·
维护者通常 4 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 72/100
limitlessprojects/Go-Hybrid#3342 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
librespeed/speedtest-rust#52 · 1 条评论 ·
-
enhancement needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
bherbruck/solvecraft#11246 · 1 条评论 · 1 个 reaction ·
-
example
难度 2/5 1-3 小时 新手友好度 72/100
rust-lang-nursery/rust-cookbook#954 ·
维护者通常 1 天内回复