How To Install openvswitch-switch-dpdk on Ubuntu 20.04

In this tutorial we learn how to install openvswitch-switch-dpdk on Ubuntu 20.04. openvswitch-switch-dpdk is DPDK enabled Open vSwitch switch implementation DPDK enabled Open vSwitch switch implementation DPDK enabled Open vSwitch switch implementation

Introduction

In this tutorial we learn how to install openvswitch-switch-dpdk on Ubuntu 20.04.

What is openvswitch-switch-dpdk

openvswitch-switch-dpdk is:

Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

openvswitch-switch provides the userspace components and utilities for the Open vSwitch kernel-based switch.

DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces.

This package provides a DPDK enabled implementation of the ovs-vswitchd binary.

Package: openvswitch-switch-dpdk Architecture: amd64 Version: 2.13.1-0ubuntu0.20.04.4 Priority: extra Section: net Source: openvswitch Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Open vSwitch developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2961 Depends: dpdk, openvswitch-switch (= 2.13.1-0ubuntu0.20.04.4), libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.11), librte-pmd-ring20.0 (>= 19.11), librte-ring20.0 (>= 19.11), librte-vhost20.0 (>= 19.11), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Enhances: openvswitch-switch Filename: pool/main/o/openvswitch/openvswitch-switch-dpdk_2.13.1-0ubuntu0.20.04.4_amd64.deb Size: 974532 MD5sum: a9e4f2b17cfc5a857e2a882aa8d0339f SHA1: 391facdc531a0c70d93b64f0254107a84d9d49f6 SHA256: d431dc50c7f21aa2f28ffb09f5bc4ee05b63f7a8e53e0884e16400c32b3581ab SHA512: 3533392ff2977f9a739300bf1a8b68856a0c8a39b563fc05409d5d7060acc119a69038dad8d444289f7856050ea581b7ef55adb7bfa3e4e4a999d67375a77c99 Homepage: http://openvswitch.org/ Description-en: DPDK enabled Open vSwitch switch implementation Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

openvswitch-switch provides the userspace components and utilities for the Open vSwitch kernel-based switch.

DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces.

This package provides a DPDK enabled implementation of the ovs-vswitchd binary.

Package: openvswitch-switch-dpdk Architecture: amd64 Version: 2.13.0-0ubuntu1 Priority: extra Section: net Source: openvswitch Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Open vSwitch developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2923 Depends: dpdk, openvswitch-switch (= 2.13.0-0ubuntu1), libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.11), librte-pmd-ring20.0 (>= 19.11), librte-ring20.0 (>= 19.11), librte-vhost20.0 (>= 19.11), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Enhances: openvswitch-switch Filename: pool/main/o/openvswitch/openvswitch-switch-dpdk_2.13.0-0ubuntu1_amd64.deb Size: 962484 MD5sum: d43bd72aa18712e4b02aa7e3c82b969a SHA1: fe3fd27fa88341916caa0325c0a91163990236ae SHA256: b7eb16dd452fc18a377eb9b54a4717ce42cfc0ea770b864cff40b747bdcbab35 Homepage: http://openvswitch.org/ Description-en: DPDK enabled Open vSwitch switch implementation Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, IPFIX, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

openvswitch-switch provides the userspace components and utilities for the Open vSwitch kernel-based switch.

DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces.

This package provides a DPDK enabled implementation of the ovs-vswitchd binary.

There are three methods to install openvswitch-switch-dpdk 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 openvswitch-switch-dpdk Using apt-get

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

sudo apt-get update

After updating apt database, We can install openvswitch-switch-dpdk using apt-get by running the following command:

sudo apt-get -y install openvswitch-switch-dpdk

Install openvswitch-switch-dpdk Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install openvswitch-switch-dpdk using apt by running the following command:

sudo apt -y install openvswitch-switch-dpdk

Install openvswitch-switch-dpdk 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 openvswitch-switch-dpdk using aptitude by running the following command:

sudo aptitude -y install openvswitch-switch-dpdk

How To Uninstall openvswitch-switch-dpdk on Ubuntu 20.04

To uninstall only the openvswitch-switch-dpdk package we can use the following command:

sudo apt-get remove openvswitch-switch-dpdk

Uninstall openvswitch-switch-dpdk And Its Dependencies

To uninstall openvswitch-switch-dpdk and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove openvswitch-switch-dpdk

Remove openvswitch-switch-dpdk Configurations and Data

To remove openvswitch-switch-dpdk configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge openvswitch-switch-dpdk

Remove openvswitch-switch-dpdk configuration, data, and all of its dependencies

We can use the following command to remove openvswitch-switch-dpdk configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge openvswitch-switch-dpdk

References

Summary

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