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
There is an error in the cEOS node Jinja2 template that prevents eAPI from functioning with the MGMT VRF option (https://containerlab.dev/manual/kinds/ceos/#mgmt-vrf).
File:
https://github.com/srl-labs/containerlab/blob/main/nodes/ceos/ceos.cfg
Error:
management api http-commands no shutdown {{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
Fixed version:
management api http-commands no shutdown {% if .Env.CLAB_MGMT_VRF %} ! vrf {{ .Env.CLAB_MGMT_VRF }} no shutdown {% endif %}
This will ensure that the 'no shutdown' command is also applied within the VRF context, which is a requirement for eAPI.
The text was updated successfully, but these errors were encountered:
this is not a jinja2 template right? Isn't is a go template and should be like:
management api http-commands no shutdown {{- if .Env.CLAB_MGMT_VRF }} ! vrf {{ .Env.CLAB_MGMT_VRF }} no shutdown {{end}}
Sorry, something went wrong.
You are correct, I misread the template format.
645be53
Merge pull request #1484 from srl-labs/ceos-vrf-eapi
581039f
fix #1470
No branches or pull requests
There is an error in the cEOS node Jinja2 template that prevents eAPI from functioning with the MGMT VRF option (https://containerlab.dev/manual/kinds/ceos/#mgmt-vrf).
File:
https://github.com/srl-labs/containerlab/blob/main/nodes/ceos/ceos.cfg
Error:
Fixed version:
This will ensure that the 'no shutdown' command is also applied within the VRF context, which is a requirement for eAPI.
The text was updated successfully, but these errors were encountered: