We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a new magic variable __clabNodeName__ that would be possible to use in the node definition section to turn this:
__clabNodeName__
dcgw1_dc1: kind: nokia_sros startup-config: configs/dcgw1_dc1.partial.cfg dcgw2_dc1: kind: nokia_sros startup-config: configs/dcgw2_dc1.partial.cfg
into this
dcgw1_dc1: kind: nokia_sros startup-config: configs/__clabNodeName__.partial.cfg dcgw2_dc1: kind: nokia_sros startup-config: configs/__clabNodeName__.partial.cfg
Bonus points if that would also work in kinds/defaults:
kinds: nokia_sros: startup-config: configs/__clabNodeName__.partial.cfg dcgw1_dc1: kind: nokia_sros dcgw2_dc1: kind: nokia_sros
see __clabNodeDir__ variable in the code base and how replacers are used to make it so
__clabNodeDir__
The text was updated successfully, but these errors were encountered:
@hellt took at stab at this. please take a look at #2257 and feel free to redirect if it missed the mark.
Sorry, something went wrong.
No branches or pull requests
Add a new magic variable
__clabNodeName__
that would be possible to use in the node definition section to turn this:into this
Bonus points if that would also work in kinds/defaults:
see
__clabNodeDir__
variable in the code base and how replacers are used to make it soThe text was updated successfully, but these errors were encountered: