Hi,
Anyone interested, I got it working using this procedure:
I'm using RDO/Juno Centos 7.1
My conf:
Controller/Network Node:
/etc/neutron/plugins/ml2/ml2_conf.ini
type_drivers = vlan
tenant_network_types = vlan
mechanism_drivers =openvswitch,sriovnicswitch
[ml2_type_vlan]
network_vlan_ranges =int-vlan:1440:1449
[securitygroup]
enable_security_group = True
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
/etc/neutron/plugins/ml2/ml2_conf_sriov.ini
[ml2_sriov]
supported_pci_vendor_devs = 14e4:16af
agent_required = True
[sriov_nic]
physical_device_mappings = int-vlan:p2p1
/etc/nova/nova.conf
[Default]
scheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter
scheduler_available_filters = nova.scheduler.filters.all_filters
scheduler_available_filters = nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter
/usr/lib/systemd/system/neutron-server.service
ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --log-file /var/log/neutron/server.log
Compute Node:
I had to install ml2 plugin and sr-iov agent. Note, in the compute node using rdo packstack the ml2 plugin is not installed by default.
# yum install openstack-neutron-ml2 openstack-neutron-sriov-nic-agent
/etc/neutron/plugins/ml2/ml2_conf.ini
[securitygroup]
# Controls if neutron security group is enabled or not.
# It should be false when you use nova security group.
# enable_security_group = True
enable_security_group = True
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
/etc/neutron/plugins/ml2/ml2_conf_sriov.ini
[securitygroup]
firewall_driver = neutron.agent.firewall.NoopFirewallDriver
[sriov_nic]
physical_device_mappings = int-vlan:p2p1
/usr/lib/systemd/system/neutron-sriov-nic-agent.service
ExecStart=/usr/bin/neutron-sriov-nic-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --log-file /var/log/neutron/sriov-nic-agent.log
Regards,
Pedro Sousa