OVS

Features mapping: http://docs.openvswitch.org/en/latest/faq/releases/

# Supported datapaths
Linux upstream
Linux OVS tree:implemented by the Linux kernel module distributed with the OVS source tree.
Userspace:Also known as DPDK, dpif-netdev or dummy datapath. on NetBSD, FreeBSD and Mac OSX.
Hyper-V:Also known as the Windows datapath.

https://docs.openvswitch.org/en/latest/faq/issues/

  • A physical Ethernet device that is part of an Open vSwitch bridge should not have an IP address.

http://docs.openvswitch.org/en/latest/faq/openflow/ version 2.8: OF 1.0-1.4; 1.5/1.6 missing features All current versions of ovs-ofctl enable only OpenFlow 1.0 by default.

ovs-ofctl -O OpenFlow13 dump-flows br0  # enable support for later versions

https://github.com/openvswitch/ovs

  • ovs-dpctl, a tool for configuring the switch kernel module.

  • ovs-vsctl, a utility for querying and updating the configuration of ovs-vswitchd.

  • ovs-appctl, a utility that sends commands to running Open vSwitch daemons.

  • ovs-ofctl, a utility for querying and controlling OpenFlow switches and controllers.

  • ovs-pki, a utility for creating and managing the public-key infrastructure for OpenFlow switches.

  • ovs-testcontroller, a simple OpenFlow controller that may be useful for testing

  • A patch to tcpdump that enables it to parse OpenFlow messages.

http://docs.openvswitch.org/en/latest/ref/ ovn- ovsdb- ovs-* vtep[-ctl] VTEP: VXLAN Tunnel End Point

br

http://docs.openvswitch.org/en/latest/faq/configuration/

VLAN

Port bonding

each of the interfaces in my bonded port shows up as an individual OpenFlow port. Open vSwitch makes individual bond interfaces visible as OpenFlow ports, rather than the bond as a whole.

Port mirroring

RSPAN VLAN, mirroring of all traffic to that VLAN. Mirroring to a VLAN can disrupt a network that contains unmanaged switches.

Controller

Faucet

https://github.com/osrg/openvswitch/blob/master/FAQ "in-band": controllers are actually part of the network that is being controlled. occasionally they can cause unexpected behavior.

Misc

A physical Ethernet device that is part of an Open vSwitch bridge should not have an IP address.

"normalization": a flow cannot match on an L3 field without saying what L3 protocol is in use.

"tp_src=1234" will be ignored. write "tcp,tp_src=1234", or "udp,tp_src=1234".

ofport value -1 means that the interface could not be created due to an error. ofport value [] means that the interface hasn't been created yet.

ovs-dpctl dump-flows queries a kernel datapath ovs-ofctl dump-flows queries an OpenFlow switch

OVS with faucet | Youtube

UI

https://github.com/nbonnand/ovs-toolbox/wiki

Last updated

Was this helpful?