How To Install openvswitch-testcontroller on Ubuntu 20.04

In this tutorial we learn how to install openvswitch-testcontroller on Ubuntu 20.04. openvswitch-testcontroller is Simple controller for testing OpenFlow setups Simple controller for testing OpenFlow setups Simple controller for testing OpenFlow setups

Introduction

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

What is openvswitch-testcontroller

openvswitch-testcontroller is:

This controller enables OpenFlow switches that connect to it to act as MAC-learning Ethernet switches. It can be used for initial testing of OpenFlow networks. It is not a necessary or desirable part of a production OpenFlow deployment.

Package: openvswitch-testcontroller Architecture: amd64 Version: 2.13.1-0ubuntu0.20.04.4 Priority: extra Section: universe/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: 2254 Depends: openvswitch-common (= 2.13.1-0ubuntu0.20.04.4), openvswitch-pki (= 2.13.1-0ubuntu0.20.04.4), libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Breaks: openvswitch-test (« 2.1.2-0ubuntu3) Replaces: openvswitch-test (« 2.1.2-0ubuntu3) Filename: pool/universe/o/openvswitch/openvswitch-testcontroller_2.13.1-0ubuntu0.20.04.4_amd64.deb Size: 699460 MD5sum: 25c6bb3ad857c2abc9a949db53d92b80 SHA1: 8e53e5b780dea00dffb4d50028ae811f41061bc0 SHA256: 3ffd0f75d8d3ec737b819f5c5f02b15c67e448f87bbdef9218a1a5d48f472f01 SHA512: c3792306cd2923f1cc945d78d69e13e2c5d014a07748d623cbb6fa911b8df75ffe8a0a88507c6a4eaf53a2ee9edfe28b27a4c7f9b613e3e0dfe2ad9e4353189a Homepage: http://openvswitch.org/ Description-en: Simple controller for testing OpenFlow setups This controller enables OpenFlow switches that connect to it to act as MAC-learning Ethernet switches. It can be used for initial testing of OpenFlow networks. It is not a necessary or desirable part of a production OpenFlow deployment.

Package: openvswitch-testcontroller Architecture: amd64 Version: 2.13.0-0ubuntu1 Priority: extra Section: universe/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: 2216 Depends: openvswitch-common (= 2.13.0-0ubuntu1), openvswitch-pki (= 2.13.0-0ubuntu1), libc6 (>= 2.29), libcap-ng0 (>= 0.7.9), libssl1.1 (>= 1.1.0), libunbound8 (>= 1.8.0) Breaks: openvswitch-test (« 2.1.2-0ubuntu3) Replaces: openvswitch-test (« 2.1.2-0ubuntu3) Filename: pool/universe/o/openvswitch/openvswitch-testcontroller_2.13.0-0ubuntu1_amd64.deb Size: 688276 MD5sum: 7697418aa0c19016712784e2b4ab47e6 SHA1: 24036721bf6b2b8e06a77b5f507c911479184b82 SHA256: 0d0cb7635aa69f75e2a01a48990d956e2182cfa5f6494df567375d6b51d7d52c Homepage: http://openvswitch.org/ Description-en: Simple controller for testing OpenFlow setups This controller enables OpenFlow switches that connect to it to act as MAC-learning Ethernet switches. It can be used for initial testing of OpenFlow networks. It is not a necessary or desirable part of a production OpenFlow deployment.

There are three methods to install openvswitch-testcontroller 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-testcontroller 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-testcontroller using apt-get by running the following command:

sudo apt-get -y install openvswitch-testcontroller

Install openvswitch-testcontroller Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install openvswitch-testcontroller

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

sudo aptitude -y install openvswitch-testcontroller

How To Uninstall openvswitch-testcontroller on Ubuntu 20.04

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

sudo apt-get remove openvswitch-testcontroller

Uninstall openvswitch-testcontroller And Its Dependencies

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

sudo apt-get -y autoremove openvswitch-testcontroller

Remove openvswitch-testcontroller Configurations and Data

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

sudo apt-get -y purge openvswitch-testcontroller

Remove openvswitch-testcontroller configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge openvswitch-testcontroller

References

Summary

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