Upgrade X4B fork to upstream hyperglass v2 HEAD - #2
Merged
Merged
Conversation
…dd support for custom JS and HTML
Huawei has pagination by default and when the output exceeds 24 lines it expects the user to keep scrooling to display the output. This makes the netmiko time out. By passing "| no-more" the pagination will be disabled for the command
Create builtin plugin to transform input field before passing to Huawei device
Transformation must occur after validation, or else the transformation will possibly make the validation fail
Fixed linting errors
splitice
marked this pull request as ready for review
September 10, 2026 02:31
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.
Description
Merge upstream
fd34bda03fe3382cb14a00dc9ec76cf282bc3e0ainto the X4B v1.0.4 fork while retaining both histories. Adopt upstream v2's API/UI and replace obsolete Redis, dependency, installer, and frontend workarounds.Pin Python 3.12.12, Node 22.22.0, pnpm 10.11.0, and container base digests. Build the configuration-dependent UI offline at startup, cap Next.js build workers for the existing 2 GiB limit, and retry incomplete builds. Run Netmiko collection outside the API event loop with per-request async timeouts so simultaneous SSH queries do not block readiness or the UI.
Restore backend/frontend checks, add container smoke coverage, and publish immutable application-SHA tags only after checks on trusted main/tag pushes.
Related Issues
Coordinated deployment migration: https://github.com/X4BNet/k8s-hyperglass/pull/3
Motivation and Context
The deployed configuration is v1 and uses custom BIRD IPv6 commands. The companion change migrates it to explicit v2 directives and an input plugin, preserving all 16 locations and effective v1 query policy. It stages v2 beside v1 and keeps rollback to the existing deployment available.
Tests
Kubernetes rollout, image publication through the main/tag workflow, and 24-hour production monitoring remain pending. No Kubernetes context is available in the implementation workspace. See
UPGRADE.mdand the companion validation record.