Questions tagged [openvswitch]

Open vSwitch is an open-source software switch designed to be used as a virtual switch.

Open vSwitch is a production quality open source software switch designed to be used as a vswitch in virtualized server environments. A vswitch forwards traffic between different VMs on the same physical host and also forwards traffic between VMs and the physical network. Open vSwitch supports standard management interfaces (e.g. sFlow, NetFlow, IPFIX, RSPAN, CLI), and is open to programmatic extension and control using OpenFlow and the OVSDB management protocol.

Resources:

248 questions
3
votes
2 answers

what is the difference between ovs and ovsk?

when running mininet topology, we can use ovs or ovsk for --switch argument in mininet's mn command, for instance: mn --custom topo.py --topo topo --mac --switch ovs --controller remote mn --custom topo.py --topo topo --mac --switch ovsk…
AJAY
  • 53
  • 6
3
votes
1 answer

Docker container connected by OVS+DPDK, `Ping` work but `iperf` NOT

I am trying to build a platform using Docker, OVS+DPDK. 1. Set up DPDK + OVS I set up DPDK+OVS using dpdk-2.2.0 with openvswitch-2.5.1. First, I compile the code of DPDK, set up hugepages. I do NOT bind NIC, because I don't get traffic from…
jiexray
  • 325
  • 4
  • 13
3
votes
2 answers

How to add the VLAN information using virt-install to VM xml file?

I'm trying to automate virtual machine creation but I'm having troubles adding the VLAN tag to the xml file via virt-install. sudo virt-install --name hosp10 --memory 16384 --vcpus 4 \ --disk…
3
votes
2 answers

Create collection of bitwise matches from an integer range

The OVS documentation ... describes populating rules in the following format: Range matches can be expressed as a collection of bitwise matches. For example, suppose that the goal is to match TCP source ports 1000 to 1999, inclusive. The…
GoldenNewby
  • 4,382
  • 8
  • 33
  • 44
3
votes
0 answers

OpenStack Live Migration

During live migration, the destination Compute Node has to perform some 'pre live migration' tasks, among them is the tap creation at the destination OVS. I would like to know if once Nova creates such tap interface, is the port/tap status UP?. This…
3
votes
1 answer

ovs-ofctl doen not work - connection refused

I am following openflow tutorial on openflow tutorial. I am using mininet and ryu controller and openvswitch version 2.8.0. When I try to use command: sudo ovs-ofctl show s1 It gives error as below: asd@asd:~/ryu/ryu/mpls$ sudo ovs-ofctl show…
Ashwin
  • 63
  • 1
  • 7
3
votes
1 answer

connecting open vswitch with two virtual machines

I'm running an Open VSwitch on a VirtualBox VM, i want to connect 2 VMs that are running on VirtualBox into OpenVswitch. i did these things: 1)first i made an VM running ubuntu (lubuntu), and installed ovs using the following command sudo apt-get…
pouya
  • 51
  • 1
  • 7
3
votes
1 answer

iptables on Mininet OVS

I want running iptables on Mininet OVS. I do this 'xterm s1' 'iptables -A INPUT(or FOWARD or OUTPUT) -i s1-eth1 -j DROP' on s1 terminal. But it is not work. When I use iptables on Mininet Host, it is work. How can I running iptables or different…
NWOWN
  • 399
  • 1
  • 4
  • 17
3
votes
1 answer

Setup private networking between two hosts and two VMs with libvirt / openvswitch

I have two nodes and two VM's kvm01 -nic1 123.123.123.1 VM1 -vnet1 123.123.123.2 (public) -vnet2 10.0.0.1 (private) kvm02 -nic1 123.123.123.2 VM2 -vnet1 123.123.123.4 (public) -vnet2 10.0.0.2 (private) How is it possible to setup an openvswitch…
Charlie
  • 33
  • 1
  • 5
3
votes
1 answer

Open vSwitch configuration by Python?

How to configure Open vSwitch (OVS) by python ? Usually, I use shell commands to configure an Open vSwitch without OpenFlow controller. For example, ovs-vsctl --may-exist add-br br0 ovs-vsctl --may-exist add-br br1 ovs-vsctl set bridge br1…
takaomag
  • 1,545
  • 1
  • 16
  • 26
2
votes
1 answer

How do I connect a WiFi AP to an OVS bridge?

I have a Raspberry Pi where eth0 was attached to an OVS bridge and a client connected to eth0 and then through there to OVS and thence onwards. However, I'm now wanting to, instead of connecting the client to eth0, connect it to wlan0, whilst…
imzoakley
  • 31
  • 2
2
votes
1 answer

How to connect two docker containers to openvswitch+DPDK

I'm trying to test the throughput between two docker containers using Iperf3 (any throughput tester app) connected to OVS (openvswitch) and DPDK on ubuntu 18.04 (VMWare workstation). The goal of this is to compare the performance of OVS-DPDK vs…
Mohammad Siavashi
  • 1,192
  • 2
  • 17
  • 48
2
votes
0 answers

Pause Open vSwitch (OVS) with the POX controller

I am trying to pause an OVS with POX as described in http://www.openvswitch.org/support/dist-docs/ovs-ofctl.8.txt The respective add-flow command is (thanks to pchaigno for his answer): sudo ovs-ofctl add-flow c2…
Daniel
  • 440
  • 4
  • 13
2
votes
1 answer

Pause controller action in Open vSwitch

I am trying to instruct the switch to pause as described in http://www.openvswitch.org/support/dist-docs/ovs-ofctl.8.txt. It is said that the action should be controller(key=value), I assume that pause is the key and True is the value. I tried…
Daniel
  • 440
  • 4
  • 13
2
votes
1 answer

how do I make devices show up in Opendaylight topology?

I am setting up an SDN using Open vSwitch and OpenDaylight. I have two machines with Ubuntu and I am using KVM to simulate two devices (for now). I've reached the point where I have an openflow switch and three hosts show up in the OpenDaylight…
sweetpea
  • 291
  • 1
  • 4
  • 13
1
2
3
16 17