From a31b4b77bcb61c49984b546bbc1a7a57dc0b4da0 Mon Sep 17 00:00:00 2001 From: Alex <76045215+ErcModel3@users.noreply.github.com> Date: Tue, 24 Mar 2026 20:26:53 +0000 Subject: [PATCH 1/5] Added action for validating the topology --- .github/workflows/clab-validate.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/clab-validate.yml diff --git a/.github/workflows/clab-validate.yml b/.github/workflows/clab-validate.yml new file mode 100644 index 0000000..b1e4f54 --- /dev/null +++ b/.github/workflows/clab-validate.yml @@ -0,0 +1,25 @@ +name: Containerlab Validation +on: + push: + branches: + - master + pull_request: + +permissions: + contents: read + +jobs: + validate: + name: validate-topology + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v6 + + - name: Install containerlab + run: | + sudo bash -c "$(curl -sL https://get.containerlab.dev)" + + - name: Validate clab topology + run: | + containerlab inspect --topo Containerlab/aquila.clab.yml --offline \ No newline at end of file From 4ab42a9fdb874d513a659b0e5bf7d7f809db80a5 Mon Sep 17 00:00:00 2001 From: Alex <76045215+ErcModel3@users.noreply.github.com> Date: Tue, 24 Mar 2026 20:32:46 +0000 Subject: [PATCH 2/5] Updated to generating a local graph on the action runner --- .github/workflows/clab-validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clab-validate.yml b/.github/workflows/clab-validate.yml index b1e4f54..04dd9c6 100644 --- a/.github/workflows/clab-validate.yml +++ b/.github/workflows/clab-validate.yml @@ -22,4 +22,4 @@ jobs: - name: Validate clab topology run: | - containerlab inspect --topo Containerlab/aquila.clab.yml --offline \ No newline at end of file + containerlab graph --topo Containerlab/aquila.clab.yml --dot \ No newline at end of file From 3d8d851d4921886b4ef8931905fc5c7f4a607dd7 Mon Sep 17 00:00:00 2001 From: Alex <76045215+ErcModel3@users.noreply.github.com> Date: Tue, 24 Mar 2026 20:41:22 +0000 Subject: [PATCH 3/5] Updated config dir --- Containerlab/configs/.gitkeep | 0 Containerlab/configs/vjunos-base.txt | 6 ------ 2 files changed, 6 deletions(-) create mode 100644 Containerlab/configs/.gitkeep delete mode 100644 Containerlab/configs/vjunos-base.txt diff --git a/Containerlab/configs/.gitkeep b/Containerlab/configs/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/Containerlab/configs/vjunos-base.txt b/Containerlab/configs/vjunos-base.txt deleted file mode 100644 index f957d83..0000000 --- a/Containerlab/configs/vjunos-base.txt +++ /dev/null @@ -1,6 +0,0 @@ -set system login user alex uid 2001 -set system login user alex class super-user -set system login user alex authentication ssh-ed25519 "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBe2NbH9tX4MVZcfKTggOt60YgtHCbn2iE4S/WjZiKJz alex@Mac.localdomain" -set chassis fpc 0 pic 0 interface-type xe -set chassis fpc 0 pic 0 number-of-ports 30 -set routing-options static route 0.0.0.0/0 next-hop 10.0.0.2 \ No newline at end of file From 452ab95e3cfc9c29197d9f60ee3c5ad5cc1a9c40 Mon Sep 17 00:00:00 2001 From: Alex <76045215+ErcModel3@users.noreply.github.com> Date: Tue, 24 Mar 2026 21:55:20 +0000 Subject: [PATCH 4/5] Breaking the topology --- Containerlab/aquila.clab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerlab/aquila.clab.yml b/Containerlab/aquila.clab.yml index c581e2d..a84e690 100644 --- a/Containerlab/aquila.clab.yml +++ b/Containerlab/aquila.clab.yml @@ -14,7 +14,7 @@ topology: nodes: # Leaves leaf1: - kind: juniper_vjunosrouter + kind: junipervjunosrouter mgmt-ipv4: 192.168.10.254 leaf2: kind: juniper_vjunosrouter From 5c6f84752547797e3f0179562756fe401616e72d Mon Sep 17 00:00:00 2001 From: Alex <76045215+ErcModel3@users.noreply.github.com> Date: Tue, 24 Mar 2026 21:56:46 +0000 Subject: [PATCH 5/5] Revert "Breaking the topology" This reverts commit 452ab95e3cfc9c29197d9f60ee3c5ad5cc1a9c40. --- Containerlab/aquila.clab.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containerlab/aquila.clab.yml b/Containerlab/aquila.clab.yml index a84e690..c581e2d 100644 --- a/Containerlab/aquila.clab.yml +++ b/Containerlab/aquila.clab.yml @@ -14,7 +14,7 @@ topology: nodes: # Leaves leaf1: - kind: junipervjunosrouter + kind: juniper_vjunosrouter mgmt-ipv4: 192.168.10.254 leaf2: kind: juniper_vjunosrouter