Add lab builder infrastructure for creating labs with containerlab on AWS#105
Merged
Add lab builder infrastructure for creating labs with containerlab on AWS#105
Conversation
… AWS Add tooling to spin up EC2 instances with nested virtualization, deploy Juniper vJunos-router via containerlab, and collect show command outputs for lab-validation snapshots. infra/ -- AWS EC2 lifecycle scripts: - ec2-launch.sh: provisions metal/nested-virt instance with KVM - ec2-setup.sh: installs Docker, containerlab, KVM tools; loads pre-built Docker images from S3 - ec2-teardown.sh, ec2-status.sh: instance management - upload-image.sh, build-image.sh: image management for S3 - README.md: end-to-end lab creation documentation - examples/: two-router eBGP topology with Junos configs src/lab_builder/ -- Python library for lab operations: - containerlab deploy/inspect/destroy wrappers - SSH device interaction via netmiko - Convergence polling (BGP, OSPF, ISIS) - Show command collection with lab-validation file naming - Snapshot packaging into snapshots/ directory layout ---- Prompt: ``` Add tooling so that open source contributors can create new labs using virtual router images and containerlab on AWS EC2, with scripts for instance lifecycle, image management, device interaction, and show command collection. ``` commit-id:2cf163e0
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
=======================================
Coverage 83.62% 83.62%
=======================================
Files 86 86
Lines 3908 3908
=======================================
Hits 3268 3268
Misses 640 640
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Add tooling to spin up EC2 instances with nested virtualization,
deploy Juniper vJunos-router via containerlab, and collect show
command outputs for lab-validation snapshots.
infra/ -- AWS EC2 lifecycle scripts:
pre-built Docker images from S3
src/lab_builder/ -- Python library for lab operations:
Prompt: