Skip to content

Added action for validating the clab topology - #4

Merged
ErcModel3 merged 5 commits into
masterfrom
clab-syntax-validation
Mar 25, 2026
Merged

Added action for validating the clab topology#4
ErcModel3 merged 5 commits into
masterfrom
clab-syntax-validation

Conversation

@ErcModel3

@ErcModel3 ErcModel3 commented Mar 24, 2026

Copy link
Copy Markdown
Owner

As it says on the Tin, the implementation may need to change as we scale up (to using self-hosted runners in the lab) as it can be resource heavy, just adds an action that downloads containerlab and runs a graphing command (used as a validation check)

@ErcModel3

Copy link
Copy Markdown
Owner Author

Can confirm it works too

@danbates1452

Copy link
Copy Markdown
Collaborator

Looks good but I don't have any clab experience to be confident in reviewing

@ErcModel3

Copy link
Copy Markdown
Owner Author

Looks good but I don't have any clab experience to be confident in reviewing

The command in the action parses the topology and generates a graph to visualise the network, in order for it to do this it'll need to validate the topology to verify it'll work as both a graph and network when deployed.

I broke the topology to do an in-pr run of the action which produced this error showing it worked.

https://github.com/ErcModel3/Aquila/actions/runs/23514109252/job/68442222595#step:4:1

I have the most clab experience here just blind approve it as it works 😃

@schweet42 schweet42 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@ErcModel3
ErcModel3 merged commit b7c6f58 into master Mar 25, 2026
2 checks passed
@ErcModel3
ErcModel3 deleted the clab-syntax-validation branch March 25, 2026 14:45
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.

3 participants