yum安装ovs和ovn

安装ovs

yum install -y epel-release libibverbs centos-release-openstack-train openvswitch
# 启动ovsdb-server和ovs-vswitchd以及ovn-northd
systemctl start openvswitch
systemctl enable openvswitch
# 初始化db
ovs-vsctl --no-wait init

安装ovn

yum install -y ovn-central ovn-common ovn-host
export PATH=$PATH:/usr/share/ovn/scripts
# 启动OVN Northbound DB和OVN Southbound DB
ovn-ctl start_northd
# 启动ovn-controller
ovn-ctl start_controller

 

posted on 2023-07-09 20:37  王景迁  阅读(208)  评论(0编辑  收藏  举报

导航