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

removing whitespaces and linefeed from NodeType parameter. #2199

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

flosch-dev
Copy link
Contributor

When using custom-sros-variant in clab topology definition, the trailing \n is added as parameter to vrnetlab. Since #2012 the parameter is escaped with %q which result in "n" is added as NodeType parameter to vrnetlab. vrnetlab also passes the same to vsim instannce which always fails to boot with incorrect type.

Not sure if this is best way to fix this issue. As a workaround, I added white space at the end of my type definition in topology yaml.

@hellt
Copy link
Member

hellt commented Sep 20, 2024

thnx

@hellt hellt merged commit 3c8e2d8 into srl-labs:main Sep 20, 2024
1 of 2 checks passed
@flosch-dev flosch-dev deleted the flosch-dev-patch-1 branch September 20, 2024 16:20
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.

2 participants