fix(vyos): correct interface mapping for VP6630 hardware#58
Merged
Conversation
Update VyOS configuration and tests to reflect actual VP6630 interface layout discovered during hardware setup: - eth0: Top SFP+ port (WAN → CCR2004 DOWNLINK) - eth1: Bottom SFP+ port (Trunk → CRS Switch) - eth2-eth5: 2.5GbE LAN ports Previously documented as eth4/eth5 which was incorrect. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Containerlab reserves eth0 for management, so tests cannot use production interface names directly. This updates the test infrastructure to: - Add interface remapping in render-config-boot.sh (eth0→eth2, eth1→eth3) - Update topology.clab.yml with remapped interfaces - Update conftest.py with test-specific values - Update documentation to explain the mapping Production config (gateway.conf) remains unchanged with eth0/eth1. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update DHCP relay to use new syntax (listen-interface/upstream-interface) to fix deprecation warning - Add system login block with vyos user to prevent "delete current user" error when applying config - User authentication (SSH keys, password) managed separately via Ansible The flow control warnings on SFP+ ports are hardware-related and benign. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The previous approach added a new login block, but gateway.conf now includes a user login block to prevent the "delete current user" error. Updated render-config-boot.sh to inject the SSH public key into the existing authentication block using awk instead of sed. Also update ansible inventory to use transit link IP by default. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
Changes
gateway.confwith correct interface namesTest plan
🤖 Generated with Claude Code