How to specify exact network port to instance via PCI Passtrough

asked 2014-08-26 12:45:02 -0600

jaakkoo gravatar image

updated 2014-08-29 18:03:47 -0600

smaffulli gravatar image


I've been trying to figure out how these PCI Passthrough devices work, and it seems that I got a little confused with the documentation.

Basically the situation currently is that we have a Intel 82599 card attached to our compute nodes, which has two 10G ports. When reading the documentation about PCI Passthrough devices I wasn't able to find out how to specify the the exact port for pci_alias. Naturally the vendor_id and product_id for both ports are the same, so at least it's not possible to get it done using that tuple.

What I actually want to achieve is to tell an instance that "use port #1 on instance #1 and port #2 on instance #2". So this means I have to be able to tell the pci_alias, that "this pci passthrough device is bound to this specific port".

The main problem is that, the ports are connected to different networks, so currently it looks like that the only way to achieve what I'm trying to achieve is to launch the instance, check which port it got and then go to attach the correct cable to it. Not the most optimal and cloud friendly way to do it :)

edit retag flag offensive close merge delete


This seems to be an issue even with the Juno release. Though the "physical_network" tag in the whitelist spec can be used to group pci devices to a particular network, the alias definition hasn't been extended to include this tag.

opstkusr gravatar imageopstkusr ( 2014-10-27 12:21:15 -0600 )edit