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
In https://containerlab.dev/manual/topo-def-file/#macvlan, it is shown:
links: - type: macvlan endpoint: - node: <NodeA-Name> # mandatory interface: <NodeA-Interface-Name> # mandatory mac: <NodeA-Interface-Mac> # optional host-interface: <interface-name> # mandatory mode: <macvlan-mode> # optional ("bridge" by default) vars: <link-variables> # optional (used in templating) labels: <link-labels> # optional (used in templating)
But The node under the endpoint is not a list. Defining it as a list makes clab throw an error: cannot unmarshal !!seq into links.EndpointRaw
cannot unmarshal !!seq into links.EndpointRaw
It does work if defining as:
links: - type: macvlan endpoint: node: <NodeA-Name> # mandatory interface: <NodeA-Interface-Name> # mandatory mac: <NodeA-Interface-Mac> # optional host-interface: <interface-name> # mandatory mode: <macvlan-mode> # optional ("bridge" by default) vars: <link-variables> # optional (used in templating) labels: <link-labels> # optional (used in templating)
The text was updated successfully, but these errors were encountered:
thats a copy-paste issue. Thanks for reporting.
Sorry, something went wrong.
No branches or pull requests
In https://containerlab.dev/manual/topo-def-file/#macvlan, it is shown:
But The node under the endpoint is not a list. Defining it as a list makes clab throw an error:
cannot unmarshal !!seq into links.EndpointRaw
It does work if defining as:
The text was updated successfully, but these errors were encountered: