New scheme mainly provides three packages: openvswitch, openvswitch-ovn-north, openvswitch-ovn-controller. These should fit most usage scenarios. Other subpackages like openvswitch-libXXX etc. are there for dependency management and are hidden from the menu. Many python and shell scripts are removed in this revision. Most of them cannot run out of box at all for lack of dependencies. Others being legacy ones are not that useful now. Add them back at later time when real need appears Below are a simple listing of additions - initscript now incorporate also ovn north and controller support - ovn-ctl and ovs-ctl can be invoked directly from within $PATH Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
1.2 KiB
1.2 KiB
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 andopenvswitch
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