Mellanox-Neutron-Liberty-Redhat-Ethernet
Contents
Ethernet Configuration with Mellanox
SR-IOV Networking in OpenStack Liberty
OpenStack Juno added inbox support to request VM access to virtual network via SR-IOV NIC. With the introduction of SR-IOV based NICs, the traditional virtual bridge is no longer required. Each SR-IOV port is associated with a virtual function (VF). SR-IOV ports may be provided by Hardware-based Virtual Ethernet Bridging (HW VEB); or they may be extended to an upstream physical switch (IEEE 802.1br). There are two ways that SR-IOV port may be connected:
- directly connected to its VF
- connected with a macvtap device that resides on the host, which is then connected to the corresponding VF
Prerequisites
- Clean Red Hat 7.1
- A running OpenStack environment installed with the ML2 plugin on top of OpenVswitch or Linux Bridge.
- All nodes equipped with Mellanox ConnectX®-3 Network Adapter [1]
- Mellanox OFED 2.4 or greater installed on all nodes. Please refer to Mellanox website for the latest OFED: [2]
- SR-IOV enabled on all compute nodes. For more information, please refer to Mellanox Community click [3].
- The software package iproute2 [4] installed on all Compute nodes
- Add repository
yum -y install yum-plugin-priorities cd /etc/yum.repos.d/ sudo wget http://trunk.rdoproject.org/centos7-liberty/delorean-deps.repo sudo wget http://trunk.rdoproject.org/centos7-liberty/current-passed-ci/delorean.repo yum update -y
Configuration
SDN Mechanism Driver
SDN Mechanism Driver allows NEO to configure dynamically VLANs on the Mellanox Switches. Further Reading
Ceilometer
The Mellanox Ceilometer SR-IOV module allows the OpenStack Ceilometer to collect measurements of SR-IOV counters.
More details about applying Mellanox Ceilometer module can be found here