packages/net/openvswitch
Eneas U de Queiroz 10345fbba5 openvswitch: add openssl-1.1 compatibility
Do not call library initialization when compiling with openssl 1.1.

The package generates the C source files for its DH parameters at
compile time using the host installed openssl.  This patch adds a DH
source, using the same parameters, compatible with openssl 1.0 and 1.1.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-06-07 07:27:57 +08:00
..
files openvswitch: rework packaging 2018-06-04 11:27:54 +08:00
patches openvswitch: add openssl-1.1 compatibility 2018-06-07 07:27:57 +08:00
Makefile openvswitch: add openssl-1.1 compatibility 2018-06-07 07:27:57 +08:00
README.md openvswitch: rework packaging 2018-06-04 11:27:54 +08:00

Which packages to install

Install openvswitch if you need OpenFlow virtual switch function. It contains ovs-vswitchd, ovsdb-server and helper utilities such as ovs-vsctl, ovs-ofctl, ovs-ctl etc.

Linux kernel datapath module openvswitch.ko will also be installed along with package openvswitch. Tunnel encap support for gre, geneve, vxlan can be included by installing kmod-openvswitch-{gre,geneve,vxlan} respectively

For OVN deployment

  • Install openvswitch-ovn-north for ovs-northd, ovsdb-server, ovn helper utitlies
  • Install openvswitch-ovn-host for ovn-controller and openvswitch

How to use them

Open vSwitch provides a few very useful helper script in /usr/share/openvswitch/scripts/. A simple initscript is provided. It's mainly a wrapper around ovs-ctl and ovn-ctl with simple knobs from /etc/config/openvswitch. Procd is not used here.

/etc/init.d/openvswitch start
/etc/init.d/openvswitch stop
/etc/init.d/openvswitch stop north
/etc/init.d/openvswitch restart ovs
/etc/init.d/openvswitch status

Use ovs-ctl and ovn-ctl directly for more functionalities

TODO

ovn

  • controller init
  • ls, lsp, lr, lrp
  • qos
  • nat
  • ovsdb cluster