backport networking fixes and improvements#2191
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis update introduces dynamic, interface index-based metric assignment for network interfaces across scripts and templates. It simplifies metric calculation logic, refines IP address selection using more precise Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant WebGUI
participant NetworkScript
participant MonitorInterface
User->>WebGUI: Configure static IP / VLAN / Docker settings
WebGUI->>NetworkScript: Save config, trigger network scripts
NetworkScript->>MonitorInterface: Update statics.ini (static IPs)
MonitorInterface->>MonitorInterface: Monitor interface states
MonitorInterface->>NetworkScript: Add/remove static IPs as interfaces go up/down
sequenceDiagram
participant DockerScript
participant System
participant Interface
DockerScript->>System: Delete existing custom network
DockerScript->>System: Recreate custom network
DockerScript->>Interface: Assign IP with metric (index-based)
DockerScript->>Interface: Disable IPv6 on shim/vhost
Possibly related PRs
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Documentation