I deploy VyOS OVA with x numbers of interfaces and trying to determine the order correlate with the interface name.
for example a deploy can result a scenario with eth7 linked to network adapter 10 or some other miss-correlated order of interface names (eth-x) to adapter (y). (ideally that should go as ethX = adapter(X-1), but its not)
to put some context…
my initial goal is to dynamically deploy vyos image with x numbers of interfaces on separate vlans and configure each interface according to vlans im assigning to it. currently i can’t determine which OS-interface correlate to virtual interface.
manually, i can view mac from virtual-network-adapter and locate the interface name on the os level.
my current thoughts are to run a script which i can (potentially list v-adapters and MAC) and script will scan the interfaces name and mac and link them all.
sounds dirty, and Im open to new strategies
any suggestions are welcome,