Jump to: navigation, search

Difference between revisions of "Mellanox-Neutron"

(Created page with "= Mellanox Quantum Plugin Installation (for Havana) = == On the Quantum Server Node == 1. Select Mellanox eSwitch plugin as core plugin for Quantum server. 2. Modify the /e...")
 
m (Mellanox Neutron Plugin)
 
(67 intermediate revisions by 9 users not shown)
Line 1: Line 1:
= Mellanox Quantum Plugin Installation (for Havana) =
 
== On the Quantum Server Node ==
 
  
1. Select Mellanox eSwitch plugin as core plugin for Quantum server.
+
= Mellanox Neutron Plugin =
   
+
Mellanox supports the OpenStack Neutron releases with open source networking components. It delivers higher compute and storage performance and additional functionality, such as NIC based switching to provide better security and isolation for virtual cloud environments.
2. Modify the /etc/quantum/plugins/mlnx/mlnx_conf.ini file to reflect your environment.
 
  
3. If you run the Quantum server using init script - change the quantum server configuration to point to Mellanox Quantum Plugin
+
* [[Mellanox-Neutron-ML2-Train|Mellanox-Train]]
 +
* [[Mellanox-Neutron-ML2-Rocky|Mellanox-Rocky]]
 +
* [[Mellanox-Neutron-ML2-Queens|Mellanox-Queens]]
 +
* [[Mellanox-Neutron-ML2-Pike|Mellanox-Pike]]
 +
* [[Mellanox-Neutron-ML2-Ocata|Mellanox-Ocata]]
 +
* [[Mellanox-Neutron-ML2-Newton|Mellanox-Newton]]
 +
* [[Mellanox-Neutron-ML2-Mitaka|Mellanox-Mitaka]]
 +
* [[Mellanox-Neutron-ML2-Liberty|Mellanox-Liberty]]
 +
* [[Mellanox-Neutron-ML2-Kilo|Mellanox-Kilo]]
 +
* [[Mellanox-Neutron-ML2-Juno|Mellanox-Juno]]
 +
* [[Mellanox-Neutron-ML2-Icehouse|Mellanox-Icehouse]]
 +
* [[Mellanox-Neutron-Havana-Ubuntu|Mellanox-Havana-Ubuntu]] / [[Mellanox-Neutron-Havana-Redhat|Mellanox-Havana-RedHat]]
 +
* [[Mellanox-Neutron-Grizzly|Mellanox-Grizzly]]
 +
<br>
 +
* [[Mellanox-packages-versioning|Mellanox packages versions]]
 +
<br>
  
For example, In Ubuntu change /etc/default/quantum-server
+
= References =
QUANTUM_PLUGIN_CONFIG="/etc/quantum/plugins/mlnx/mlnx_conf.ini"
+
1. [http://www.mellanox.com/openstack/ OpenStack solution page at Mellanox site]
  
4. Run the server.
+
2. [https://opendev.org/x/networking-mlnx Mellanox ML2 driver and associated tools source repository]
  #quantum-server --config-file /etc/quantum/quantum.conf --config-file /etc/quantum/plugins/mlnx/mlnx_conf.ini
 
or
 
  #/etc/init.d/quantum-server start
 
  
==  On Compute Nodes ==
+
3. [http://www.mellanox.com/page/products_dyn?product_family=26 Mellanox OFED web page]
  
=== Nova-compute ===
+
4. [http://community.mellanox.com/community/develop/cloud-developers Mellanox Cloud Developers Community]
  
1. Copy the Nova Mellanox VIF driver.
+
5. [https://github.com/mellanox-openstack Old/previous Mellanox source repository]
    #cp -a mellanox-quantum-plugin/nova/nova/virt/libvirt/mlnx /usr/lib/python2.6/site-packages/nova/virt/libvirt
 
  
2. Modify nova.conf.
+
For more details, please refer your question to  [mailto:openstack@mellanox.com openstack@mellanox.com]
    compute_driver=nova.virt.libvirt.driver.LibvirtDriver
 
    libvirt_vif_driver=nova.virt.libvirt.mlnx.vif.MlxEthVIFDriver
 
    fabric=default - specifies physical network for vNICs (currently support one fabric per node)
 
  
3. Restart Nova.
+
[[Category: Neutron]]
 
 
=== The eswitchd Daemon ===
 
The eswitchd source files are located in the mellanox-eswitchd repository [https://github.com/mellanox-openstack/mellanox-eswitchd eSwitchd source repository]
 
1. Clone and install the eSwitchd
 
#git clone https://github.com/mellanox-openstack/mellanox-eswitchd
 
#cd mellanox-eswitchd
 
#python setup.py install
 
 
 
2. Copy the configuration and init files of the eSwitchd.
 
#mkdir /etc/eswitchd
 
#cp etc/eswitchd/eswitchd.conf /etc/eswitchd
 
#cp etc/init.d/eswitchd /etc/init.d
 
 
 
3. Modify the configuration file according to your  environment
 
# cat /etc/eswitchd/eswitchd.conf
 
[DEFAULT]  
 
default_log_levels="eswitchd=DEBUG"
 
verbose=False
 
debug=False
 
log_file=/var/log/eswitchd.log
 
[DAEMON]
 
'''fabrics='mlx1:eth4'''' --> Important line  '<fabric_name>:<PF Name>'.
 
                    --> The fabric name should match the name in quantum agent and/or openFlow agent.
 
default_timeout=4000
 
 
 
3. Run the daemon:
 
# /etc/init.d/eswitchd start
 
 
 
=== Quantum Agent ===
 
 
 
1. Modify the Quantum Agent configuration at /etc/quantum/plugins/mlnx/mlnx_conf.ini.
 
 
 
2. Run the agent.
 
    #python /usr/lib/python2.6/site-packages/quantum/plugins/mlnx/agent/eswitch_quantum_agent.py --config-file /etc/quantum/quantum.conf  --config-file /etc/quantum/plugins/mlnx/mlnx_conf.ini
 

Latest revision as of 12:37, 4 September 2019

Mellanox Neutron Plugin

Mellanox supports the OpenStack Neutron releases with open source networking components. It delivers higher compute and storage performance and additional functionality, such as NIC based switching to provide better security and isolation for virtual cloud environments.



References

1. OpenStack solution page at Mellanox site

2. Mellanox ML2 driver and associated tools source repository

3. Mellanox OFED web page

4. Mellanox Cloud Developers Community

5. Old/previous Mellanox source repository

For more details, please refer your question to openstack@mellanox.com