Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联改动
本 PR 基于
feature/realtek-network,衔接主仓尚未合并的 Realtek 系统集成改动,差异范围集中于本次多网卡功能。ReliefOS #76内核 gitlink 更新至
31223b104983a1a356a999aae397c0cb29b08cd1,对应的独立内核 PR 以 ReliefNTmain为基线。ReliefNT #9更新内容
为内核新增的多个独立以太网接口适配系统启动配置、DHCP、DNS 和 Network Controller。
reliefos-dhcp从/proc/net/dev枚举接口,逐卡准备配置和启动 DHCP 监督器。/etc/reliefos/network.conf,其他接口使用/etc/reliefos/network.d/ethN.conf。逐卡校验配置、文件所有权、目录和接口身份。接口卸载重载后可能得到新的
ethN名称,配置按实际接口名称选择。编译验证
测试验证
本次提交前重跑的全部所选检查通过。
tests/build/test-network-profile.sh覆盖逐卡模式、DNS 优先级、租约隔离、PID 身份及定向应用。tests/build/test-network-controller.sh覆盖模型、配置保存/恢复、冲突处理及真实 worker IPC。tools/test_openrc_resolver.py与tools/test_test_ownership.py通过。运行验证
ip addr、ip route和 proc 查询工作。已知边界
prepare成功,两个自动化三网卡来宾也通过。此项仍待复现定位。/sys/class/net完整导出仍待扩展。