Jump to: navigation, search

Difference between revisions of "Juno-SR-IOV"

m (SR-IOV Configuration)
m (SR-IOV Configuration)
Line 11: Line 11:
  
 
=SR-IOV Configuration=
 
=SR-IOV Configuration=
 +
 +
==Nova==
 
On each compute you have to associate the Virtual Functions available to each Physical Network.
 
On each compute you have to associate the Virtual Functions available to each Physical Network.
 
You do it by configuring  pci_passthrough_whitelist in /etc/nova/noca.conf
 
You do it by configuring  pci_passthrough_whitelist in /etc/nova/noca.conf
Line 19: Line 21:
  
 
After configuring the white list you have to restart nova-compute service.
 
After configuring the white list you have to restart nova-compute service.
 +
 +
== Neutron ==
 +
Using ML2 Neutron plugin modify /etc/neutron/plugins/ml2/ml2_conf.ini:
 +
 +
[ml2]
 +
tenant_network_types = vlan
 +
type_drivers = vlan
 +
mechanism_drivers = openvswitch,sriovnicswitch
 +
 +
[ml2_type_vlan]
 +
network_vlan_ranges = default:2:100
 +
 +
[eswitch]
 +
vnic_type=hostdev

Revision as of 07:30, 7 September 2014

This Page is under construction

Once it will be ready, the content might move to another location.

SR-IOV in OpenStack Juno

OpenStack Juno adds inbox support for SR-IOV ....

Nova

Nova support for SR-IOV is ....

Neutron

Neutron support for SR-IOV is ... embedded NIC is ...

SR-IOV Configuration

Nova

On each compute you have to associate the Virtual Functions available to each Physical Network. You do it by configuring pci_passthrough_whitelist in /etc/nova/noca.conf

For example:

pci_passthrough_whitelist = {"address":"*:0a:00.*","physical_network":"physnet1"}

This will associate any VF with address that includes ':0a:00.' in it's address to the Physical network physnet1

After configuring the white list you have to restart nova-compute service.

Neutron

Using ML2 Neutron plugin modify /etc/neutron/plugins/ml2/ml2_conf.ini:

[ml2]
tenant_network_types = vlan
type_drivers = vlan
mechanism_drivers = openvswitch,sriovnicswitch
[ml2_type_vlan]
network_vlan_ranges = default:2:100
[eswitch]
vnic_type=hostdev