feat: Basic vQFX QCOW/VMDK and Containerlab Support #64
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.
This adds very basic support for vQFX in containerlab. This combines the work in #49 and vrnetlab#234 as well as making it hopefully easy enough for a user to build multiple types of vQFX (older VMDK based or newer qcow based images). This works in conjunction with srl-labs/containerlab#626 and seems to work just fine in my testing so far (vQFX 20.2R1.10 and 18.4R1.8 have been tested so far, but if someone wants to test with other images I'd be glad to help, I just don't have access to any other images currently.)
I still need to update docs, but if the code looks good and ready to merge, let me know and I can update them before we merge. Unfortunately I couldn't find a good way to auto-convert the vmdks to qcows using the default make target without re-writing the make includes, so I just had to add a separate target that doesn't work as a dependency (long story short, it has to do with the way our make includes happen) and has to be manually run. For now, to build a vmdk image, you have to first run
make format-legacy-images
and then run the normalmake
.Let me know what you think!