I don't create the VMs directly in the UI but use the API with Foreman. If I change the MACs on the NICs I have to go back and update Foreman as well.

My workaround today is unplug the NIC I want to be second, briefly power-up the VM so the "first" NIC gets assigned a PCI address, shutdown and re-plug the "second" NIC. On power-up the "second" NIC will be assigned a later PCI address and so achieve the ordering I want.

It's just fiddly and can only be done on first boot. I was hoping for a more elegant solution that works when you have large numbers of VMs to provision.



---- On Wed, 24 May 2023 08:09:21 +0100 Guillaume Pavese <guillaume.pavese@interactiv-group.com> wrote ---

I think it depends on the mac addresses.
If you see that the MAC addresses are not sequential, delete the NICs and recreate them in the order you want them to be
it world for us


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, May 24, 2023 at 1:46 AM Alan G <alan+ovirt@griff.me.uk> wrote:


Ce message et toutes les pièces jointes (ci-après le “message”) sont établis à l’intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d’en avertir immédiatement l’expéditeur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L’internet ne permettant pas d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été modifié. IT, ES, UK. 


Is there any way to enforce NIC ordering so the vNICs match the ordering in the Engine UI?

I found this but not clear if it was ever implemented?



_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/I3CSHZWQBSIGPKZKJBGVQUIJEGLHZNF3/