feat: Add network bonding configuration page - #28
Open
kcirtapfromspace wants to merge 3 commits into
Open
Conversation
Add Network tab for configuring link aggregation (bonding) between ge0 and ge1. Features: - Enable/disable bonding via toggle switch - Select bonding mode from dropdown (7 modes supported) - Display current bonding status (active/inactive, mode, slaves) - Mode descriptions and switch requirement indicators - Apply button to save and apply changes Supported bonding modes: - active-backup: Failover only (no switch config needed) - balance-rr: Round-robin (requires switch aggregate) - balance-xor: XOR hash (requires switch aggregate) - broadcast: All slaves transmit - 802.3ad: IEEE LACP (requires switch LACP) - balance-tlb: Transmit load balancing - balance-alb: Adaptive load balancing API endpoints used: - GET /api?cmd=network_config - Retrieve current config - GET /api?cmd=network_config&enabled=X&mode=X&apply=X - Set config Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add 'network' navigation key to de, es, nl, pl, zh-Hans locales - Add label prop to SelectTrigger for accessibility - Regenerate route types for TanStack Router Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change network config API calls to use the standard bmcd endpoint format: - GET /bmc?opt=get&type=network_config - SET /bmc?opt=set&type=network_config&enabled=...&mode=...&apply=... The axios client has baseURL="/api", so these become /api/bmc endpoints which matches how bmcd routes are configured in main.rs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This was referenced Jan 12, 2026
Open
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.
Summary
Add a Network Settings page to configure NIC link aggregation (bonding) on the Turing Pi BMC.
Changes
New Files
src/routes/_tabLayout/network.lazy.tsx- Network bonding configuration pagesrc/components/skeletons/network.tsx- Loading skeleton for network pageModified Files
src/components/navigation-links.tsx- Added Network link to navigationsrc/lib/api/get.ts- AddeduseNetworkConfigQueryhooksrc/lib/api/set.ts- AddeduseNetworkConfigMutationhooksrc/locale/en.ts- Added network-related translationsFeatures
API Endpoints
GET /api/bmc?opt=get&type=network_configGET /api/bmc?opt=set&type=network_config&enabled=1&mode=802.3ad&apply=1Related PRs
🤖 Generated with Claude Code