Skip to content

Add per-node libvirt port forwarding#2592

Merged
ipspace merged 1 commit intodevfrom
libvirt-port-fwd
Aug 10, 2025
Merged

Add per-node libvirt port forwarding#2592
ipspace merged 1 commit intodevfrom
libvirt-port-fwd

Conversation

@ipspace
Copy link
Owner

@ipspace ipspace commented Aug 10, 2025

  • Move the clab-specific port forwarding functions into the common provider module
  • Use the same functions to build clab- and libvirt ports list
  • Use the node libvirt.ports list when building forwarding ports in the Vagrantfile
  • Update libvirt documentation, adding the fun fact that vagrant-libvirt module sets up SSH port forwarding (not a NAT rule)
  • Add platform integration tests. The 'clab' test can be tested with a host script, I'm clueless about testing the SSH port forwarding

Also:

  • Fix libvirt import into virtualbox provider module (the imported class name must start with an underscore)
  • Update the libvirt port forwarding transformation test

* Move the clab-specific port forwarding functions into the common
  provider module
* Use the same functions to build clab- and libvirt ports list
* Use the node libvirt.ports list when building forwarding ports in
  the Vagrantfile
* Update libvirt documentation, adding the fun fact that vagrant-libvirt
  module sets up SSH port forwarding (not a NAT rule)
* Add platform integration tests. The 'clab' test can be tested with
  a host script, I'm clueless about testing the SSH port forwarding

Also:
* Fix libvirt import into virtualbox provider module (the imported
  class name must start with an underscore)
* Update the libvirt port forwarding transformation test
@ipspace ipspace merged commit 1c85607 into dev Aug 10, 2025
11 checks passed
@ipspace ipspace deleted the libvirt-port-fwd branch August 10, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant