Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve relative topology paths #814

Merged
merged 11 commits into from
Mar 11, 2022
Merged

resolve relative topology paths #814

merged 11 commits into from
Mar 11, 2022

Conversation

hellt
Copy link
Member

@hellt hellt commented Mar 10, 2022

This PR fixes a long standing issue with containerlab not being able to track relative paths properly when clab is called not from the dir that hosts the topology file.

This PR fixes the logic for path resolver, to resolve relative paths relative to the topology file in binds and license config options.

This also fixes bulk deletion (clab des -a) to delete labs deployed from topos from various directories.

@hellt hellt merged commit 7c61137 into main Mar 11, 2022
@hellt hellt deleted the resolve-path-fix branch March 11, 2022 14:33
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