Replies: 1 comment 2 replies
-
That would only work for containers where containerlab names the interfaces anything it wishes when creating them in the container namespace. There's no such direct connection between libvirt interfaces and VM interfaces. Also, don't we already have ifindex on interface-on-a-link level? What's wrong with that? Finally, the current code does not check for overlapping values, so you might get some interesting problems. In my opinion, including this in netlab core is too much hassle for too little impact (plus giving people too much rope to hang themselves). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Small feature - I'd like to declare a single
ifindex
attribute for a link, and have it applied to all (usually 2) interfaces on that link.For consistency when deploying pairs of devices, it's usually easiest if the same ports are used on both sides
I can create a PR if no objections
Beta Was this translation helpful? Give feedback.
All reactions