Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does Open vSwitch mean?

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

What does Open vSwitch mean? in view of this question, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.

Overview

Open vSwitch is a high-quality, multilayer virtual switch using the open source Apache 2.0 license agreement, which is provided by the

Nicira Networks development, the main implementation code is portable C code.

Its aim is to make large-scale network automation scalable by programming while still supporting standard management interfaces and protocols.

Discussion (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is supported by the design bit across multiple objects

A distributed environment for managing servers, similar to VMware's vNetwork distributed vswitch or Cisco Nexus 1000 V.

Open vSwitch supports a variety of linux virtualization technologies, including Xen/XenServer, KVM, and VirtualBox.

Module introduction

The current latest code package mainly includes the following modules and features:

The main module of ovs-vswitchd, which implements daemon of switch, including a Linux kernel module supporting stream switching

Ovsdb-server lightweight database server that provides ovs-vswitchd to obtain configuration information

Ovs-brcompatd lets ovs-vswitch replace Linux bridge, including the Linux kernel module that gets bridge ioctls

Ovs-dpctl is used to configure the switch kernel module

Some Scripts and specs secondary OVS is installed on Citrix XenServer as the default switch

Ovs-vsctl queries and updates the configuration of ovs-vswitchd

Ovs-appctl sends a command message to run the relevant daemon

Ovsdbmonitor GUI tool, you can remotely obtain the OVS database and OpenFlow flow table.

In addition, OVS also provides feature implementations that support OpenFlow, including

Ovs-openflowd: a simple OpenFlow switch

Ovs-controller: a simple OpenFlow controller

Ovs-ofctl queries and controls OpenFlow switches and controllers

Ovs-pki: OpenFlow switch creates and manages a public key framework

Ovs-tcpundump: patch for tcpdump, parsing OpenFlow

Operation principle

The kernel module implements multiple "data paths" (similar to bridges), each of which can have multiple "vports" (similar to the

Port). Each data path also sets the operation by associating the flow tables (flow table), and the flows in these flow tables are

It is the key information mapped in user space on the basis of header and metadata. The general operation is to forward the packet to another.

A vport. When a packet arrives at a vport, what the kernel module does is extract the key information of its flow and

Look for this key information in the flow table. When there is a matching stream, it performs the corresponding operation. If there is no match, it will set the

Packets are sent to the processing queue in user space (as part of the processing, user space may set up a stream for later use

Encounters the same type of packet and can perform operations in the kernel)

The answer to the question about what Open vSwitch refers to is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report