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
0
votes
1 answer

Opendaylight stacktrace when creating open vswitch qos and queue

I have an Opendaylight Carbon application that is running just fine. Now I want to add QoS and queues to it (Open vSwitch 2.5.2). If I create a qos using ovs-vsctl in a terminal, Opendaylight starts logging stack traces. The ovs-vsctl command: sudo…
0
votes
1 answer

In OVS's fast-failover mode, can watch-port be pointed to the CONTROLLER port?

I have tried using this manually, and adding a rule that sets the watch-port to be CONTROLLER, but this does not seem to work when I try it. The purpose of this will be to redirect rules if connection to a controller is down. Is anyone aware of…
stoneman_41
  • 370
  • 2
  • 12
0
votes
1 answer

dh: unable to load addon autoreconf in Ubuntu 14.04

I am working with Openvswitch to create mpls vpn network on mininet platform. I am using Ubuntu 14.04 server with kernel version: 4.4.0-97-generic. I am trying to upgrade my openvswitch from 2.0.0 version to version 2.5.2 which is supported by…
Ashwin
  • 63
  • 1
  • 7
0
votes
1 answer

Integrating InfluxDB with ONOS

I have followed all the steps in https://wiki.onosproject.org/display/ONOS/InfluxDB+Report+and+Query+Application , but I can't integrate ONOS with InfluxDB. After configuring all that's in the documentation, I execute "SHOW MEASUREMENTS" in InfluxDB…
josiplayer
  • 15
  • 7
0
votes
0 answers

the port_no in struct vport of openvswitch is different from the port number?

I modified the ovs2.6.0 and want to handle some packets. I printk the prev_port(prev_port = nla_get_u32(a)) in do_execute_actions function. However, the prev_port sometimes is not the correct port number which the packet is forwarded to. But the…
killua
  • 1
  • 2
0
votes
2 answers

Forward new flows to another OVS port

I have following setup +---2---+ s---1 OVS 4---t +---3---+ where 1, 2, 3, 4 are OVS ports in one server (all are ports of the bridge called ovs1), and source s and target t are two other servers (connected over LAN). Say, packets are…
Nodir Kodirov
  • 899
  • 1
  • 10
  • 16
0
votes
2 answers

where does openvswitch handle the TCP seq and ack?

I use multiple actions in flow table using openvswitch. When I want to modify TCP ipv4_dst and copy the packet to the other outport, the ack number of the packet is changed randomly. And I do not change other fields in IP header. Why does this…
killua
  • 1
  • 2
0
votes
0 answers

How to use ovs connect 2 namespace to 2 bridge?

I want to build five clients through two interconnected bridges to reach the other end of the server. Just like this final result: Final I have tried a client to connect to the server through two interconnected bridges. But unsuccessful. Like…
0
votes
2 answers

what's `set ovs_ctl ${1-start}` command in linux shell mean?

I'm reading ovs' script, in start/stop script, there is : start () { set ovs_ctl ${1-start} set "$@" --system-id=random ... what's set ovs_ctl ${1-start} means? Thank you!
batmancn
  • 457
  • 3
  • 15
0
votes
1 answer

route all traffic over gre tunnel

I have an openvswitch sw1 with subnet 10.207.39.0/24 that has lxc containers attached and I have the same on another physical server and I have successfully connected these using a GRE tunnel. However, the lxc containers have additional ports on…
gstanden
  • 16
  • 2
0
votes
1 answer

Openvswitch (ovsdb) database migration

We have an Openstack infrastructure consisting of one controller node, eight compute nodes and a network node. This last node is having hardware problems (disk write failures). Unfortunately it has only one disk without replication. And there's no…
0
votes
1 answer

Openvswitch change header field

I want add new field openvswitch pattern. My openvswitch (/var/log/openvswitch/ovs-vswitch.log) looking like follow ; 2017-05-21T18:00:06.572Z|00105|rconn|WARN|s2<->tcp:192.168.29.87:6633: connection failed (Network is…
can
  • 23
  • 7
0
votes
0 answers

Multiple configuration commands through vtysh

I have device configuration saved in a file and use it to configure through vtysh. config,err := ioutil.ReadFile(filePath) if err != nil { fmt.Println("Read err:") fmt.Println(err) os.Exit(1) } cmd := exec.Command("vtysh", "-c",…
ironhyde
  • 936
  • 7
  • 12
0
votes
2 answers

failed to put[create] (Invalid argument) OVS pop_mpls flow

I face an issue in installing an OVS flow that pops mpls header off an incoming vlan tagged mpls packet. Following is the flow: ovs-ofctl add-flow br-int table=10,priority=20,mpls,mpls_label=100,actions=pop_mpls:0x0800,output:xx The OF port to…
dpaks
  • 375
  • 1
  • 13
0
votes
1 answer

Why pushing more than 3 MPLS headers on a packet results in the packet not being forwarded?

MPLS header stacks are limited to size 3. Pushing more than 3 MPLS headers on a packet results in the packet not being forwarded in Open vSwitch. sudo mn --topo single,2 --switch ovsk mininet> h1 ping h2 Installed a minimal set of flow entries on…
sinhayash
  • 2,693
  • 4
  • 19
  • 51