Ask Your Question

what are the supported tenant network types for Pci passthrough of network cards?

asked 2014-11-25 05:14:57 -0500

srividya_r gravatar image

I am trying to passthrough a PCI device (ethernet card) by direct mode to the vm. I tried the steps given in: ( .

To summarize: added the pci_whitelist and pci_alias to the nova.conf created a dummy internal network (flat) with a port containing mac address of the pci device. Edited a flavor to add the pci_passthrough_alias metadata key. started a vm instance with the corresponding flavor.

I am not looking for SRIOV yet, its just a simple passthrough.

I tried the above in both icehouse and juno on ubuntu 12.04 and 14.10. The PCI stats is populated correctly, but the instance boot fails with error: vif_type:binding failed and hence no valid host found. KVM is adding the passthrough-ed device to the vm successfully.

Some of the questions I have: 1.What is the correct network type for pci pasthrough of devices? 2. Is openvswitch plugin really needed for this type of configuration?

Any pointers on this will be really helpful.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2014-12-18 11:44:10 -0500

darragh-oreilly gravatar image
edit flag offensive delete link more

answered 2014-12-24 15:08:48 -0500

moshele gravatar image

currently you can use vlan network. you will need openvswitch mechanism driver if you want dhcp or external network. (because their port type in normal and SR-IOV mechanism driver doens't know how to bind that kind of port)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-11-25 05:14:57 -0500

Seen: 828 times

Last updated: Dec 18 '14