How To Install ovn on Fedora 34

ovn is Open Virtual Network support

Introduction

In this tutorial we learn how to install ovn on Fedora 34.

What is ovn

OVN, the Open Virtual Network, is a system to support virtual network abstraction. OVN complements the existing capabilities of OVS to add native support for virtual network abstractions, such as virtual L2 and L3 overlays and security groups.

We can use yum or dnf to install ovn on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ovn.

Install ovn on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ovn using dnf by running the following command:

sudo dnf -y install ovn

Install ovn on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ovn using yum by running the following command:

sudo yum -y install ovn

How To Uninstall ovn on Fedora 34

To uninstall only the ovn package we can use the following command:

sudo dnf remove ovn

ovn Package Contents on Fedora 34

/etc/logrotate.d/ovn
/etc/sysconfig/ovn
/usr/bin/ovn-appctl
/usr/bin/ovn-detrace
/usr/bin/ovn-ic-nbctl
/usr/bin/ovn-ic-sbctl
/usr/bin/ovn-nbctl
/usr/bin/ovn-sbctl
/usr/bin/ovn-trace
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/6a97acca0dd02681bcac8be4e64cbabd5bae32
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/3ba5fe824f0948479323c25b37ad82a53d362d
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/7c6ea433899bd6d24a6b9c6f27de9647fb5757
/usr/lib/.build-id/95
/usr/lib/.build-id/95/fbb7be757b178dab445d73d5a404b5ab3208e6
/usr/lib/.build-id/9e
/usr/lib/.build-id/9e/e999f8b35b3c51df2aa01b63e861fb3e7bc2e2
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/b3a83725dcf8b602c38776ba5b7c49b8187d22
/usr/lib/ocf/resource.d/ovn
/usr/lib/ocf/resource.d/ovn/ovndb-servers
/usr/share/licenses/ovn
/usr/share/licenses/ovn/LICENSE
/usr/share/man/man1/ovn-detrace.1.gz
/usr/share/man/man5/ovn-ic-nb.5.gz
/usr/share/man/man5/ovn-ic-sb.5.gz
/usr/share/man/man5/ovn-nb.5.gz
/usr/share/man/man5/ovn-sb.5.gz
/usr/share/man/man7/ovn-architecture.7.gz
/usr/share/man/man8/ovn-appctl.8.gz
/usr/share/man/man8/ovn-ctl.8.gz
/usr/share/man/man8/ovn-ic-nbctl.8.gz
/usr/share/man/man8/ovn-ic-sbctl.8.gz
/usr/share/man/man8/ovn-nbctl.8.gz
/usr/share/man/man8/ovn-sbctl.8.gz
/usr/share/man/man8/ovn-trace.8.gz
/usr/share/ovn
/usr/share/ovn/scripts
/usr/share/ovn/scripts/ovn-ctl
/usr/share/ovn/scripts/ovn-lib
/usr/share/ovn/scripts/ovndb-servers.ocf
/etc/logrotate.d/ovn
/etc/sysconfig/ovn
/usr/bin/ovn-appctl
/usr/bin/ovn-detrace
/usr/bin/ovn-ic-nbctl
/usr/bin/ovn-ic-sbctl
/usr/bin/ovn-nbctl
/usr/bin/ovn-sbctl
/usr/bin/ovn-trace
/usr/lib/.build-id
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/8200d1c800a4981c3827a1025ce23b96681d0e
/usr/lib/.build-id/86
/usr/lib/.build-id/86/73e4333faef46e99e541ffc187edbd3d4909e7
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/29a90b51a595ec303933b650a5786b5cc40732
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/53ff3c3d15e9a940b43d1449e5e0d7db89a3ca
/usr/lib/.build-id/f3
/usr/lib/.build-id/f3/029fd5a4f343a4beca95f8809dae3d7b8fa24a
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/5bcf916d09bae8665af11f1e15b2457d477191
/usr/lib/ocf/resource.d/ovn
/usr/lib/ocf/resource.d/ovn/ovndb-servers
/usr/share/licenses/ovn
/usr/share/licenses/ovn/LICENSE
/usr/share/man/man1/ovn-detrace.1.gz
/usr/share/man/man5/ovn-ic-nb.5.gz
/usr/share/man/man5/ovn-ic-sb.5.gz
/usr/share/man/man5/ovn-nb.5.gz
/usr/share/man/man5/ovn-sb.5.gz
/usr/share/man/man7/ovn-architecture.7.gz
/usr/share/man/man8/ovn-appctl.8.gz
/usr/share/man/man8/ovn-ctl.8.gz
/usr/share/man/man8/ovn-ic-nbctl.8.gz
/usr/share/man/man8/ovn-ic-sbctl.8.gz
/usr/share/man/man8/ovn-nbctl.8.gz
/usr/share/man/man8/ovn-sbctl.8.gz
/usr/share/man/man8/ovn-trace.8.gz
/usr/share/ovn
/usr/share/ovn/scripts
/usr/share/ovn/scripts/ovn-ctl
/usr/share/ovn/scripts/ovn-lib
/usr/share/ovn/scripts/ovndb-servers.ocf

References

Summary

In this tutorial we learn how to install ovn on Fedora 34 using yum and dnf.