How To Install networking-mlnx-eswitchd on Ubuntu 20.04

In this tutorial we learn how to install networking-mlnx-eswitchd on Ubuntu 20.04. networking-mlnx-eswitchd is Neutron is a virtual network service for Openstack - Mellanox eswitchd Neutron is a virtual network service for Openstack - Mellanox eswitchd

Introduction

In this tutorial we learn how to install networking-mlnx-eswitchd on Ubuntu 20.04.

What is networking-mlnx-eswitchd

networking-mlnx-eswitchd is:

Neutron is a virtual network service for Openstack, and a part of Netstack. Just like OpenStack Nova provides an API to dynamically request and configure virtual servers, Neutron provides an API to dynamically request and configure virtual networks. These networks connect “interfaces” from other OpenStack services (e.g., virtual NICs from Nova VMs). The Neutron API supports extensions to provide advanced network capabilities (e.g., QoS, ACLs, network monitoring, etc.)

This package provides the Mellanox eswitchd.

Package: networking-mlnx-eswitchd Architecture: all Version: 1:15.0.0~b2~git2019090509.50bbc9d-0ubuntu1 Priority: optional Section: universe/net Source: networking-mlnx Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenStack [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 27 Provides: neutron-plugin Depends: networking-mlnx-common (= 1:15.0.0~b2~git2019090509.50bbc9d-0ubuntu1) Filename: pool/universe/n/networking-mlnx/networking-mlnx-eswitchd_15.0.0~b2~git2019090509.50bbc9d-0ubuntu1_all.deb Size: 5012 MD5sum: b5e6d291f53111f5b2e5f795694e618b SHA1: 63953449578f78c7ce0ce1a108f051eba75aea2b SHA256: d880aef0ecdbf9399b1eceba99c42016be26bfea6f1a7e58a1f6c93d634bc434 Homepage: https://github.com/openstack/networking-mlnx Description-en: Neutron is a virtual network service for Openstack - Mellanox eswitchd Neutron is a virtual network service for Openstack, and a part of Netstack. Just like OpenStack Nova provides an API to dynamically request and configure virtual servers, Neutron provides an API to dynamically request and configure virtual networks. These networks connect “interfaces” from other OpenStack services (e.g., virtual NICs from Nova VMs). The Neutron API supports extensions to provide advanced network capabilities (e.g., QoS, ACLs, network monitoring, etc.)

This package provides the Mellanox eswitchd.

There are three methods to install networking-mlnx-eswitchd on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install networking-mlnx-eswitchd Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install networking-mlnx-eswitchd using apt-get by running the following command:

sudo apt-get -y install networking-mlnx-eswitchd

Install networking-mlnx-eswitchd Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install networking-mlnx-eswitchd using apt by running the following command:

sudo apt -y install networking-mlnx-eswitchd

Install networking-mlnx-eswitchd Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install networking-mlnx-eswitchd using aptitude by running the following command:

sudo aptitude -y install networking-mlnx-eswitchd

How To Uninstall networking-mlnx-eswitchd on Ubuntu 20.04

To uninstall only the networking-mlnx-eswitchd package we can use the following command:

sudo apt-get remove networking-mlnx-eswitchd

Uninstall networking-mlnx-eswitchd And Its Dependencies

To uninstall networking-mlnx-eswitchd and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove networking-mlnx-eswitchd

Remove networking-mlnx-eswitchd Configurations and Data

To remove networking-mlnx-eswitchd configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge networking-mlnx-eswitchd

Remove networking-mlnx-eswitchd configuration, data, and all of its dependencies

We can use the following command to remove networking-mlnx-eswitchd configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge networking-mlnx-eswitchd

References

Summary

In this tutorial we learn how to install networking-mlnx-eswitchd package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.