-
Notifications
You must be signed in to change notification settings - Fork 262
Operator tools rewamp #6186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Operator tools rewamp #6186
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR performs a major refactoring of the nym-node setup CLI tool, improving configuration management and code maintainability. The changes consolidate environment variable handling into Python and add CLI argument support for non-interactive setup.
Key Changes:
- Replaced bash-based environment variable setup with Python-based configuration management
- Added comprehensive CLI arguments for non-interactive installation (--mode, --wireguard, --hostname, etc.)
- Refactored conditional script fetching for exit-gateway mode to be more explicit and maintainable
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Upgrade, simplification and a big cleanup of various configuration helpers for
nym-nodeoperators.New Network Tunnel Manager
One ring rules over all!
This guy has all stuff from before inside of it so operators need to get / use only one helper for all routing configs. At the same time the commands allow for running each functions (tests, setup w/o policy etc) separately.
The new logic of top commands
./network-tunnel-manager.sh complete_networking_configuration: ALL COMBINED (interfaces + tunnel + exit policy + tests)./network-tunnel-manager.sh nym_tunnel_setup: old sequence for nymtun0 + nymwg + jokes, doing basically all steps in the docs for routing and interfaces setup but no wg exit policy./network-tunnel-manager.sh exit_policy_install: old install + tests from wg manager moved to this toolQUIC
Improved quic setup helper & allowed for non-interactive mode:
nym-node-cli.pyEXTRAS
/var/log/nym/network_tunnel_manager.logand/var/log/nym/quic_bridge_deployment.logDOCs
This change is