部署OpenStack 参见: /
1 # Configure OVS for ovn-controller 2 ovs-vsctl set open . external_ids:ovn-remote=tcp:$controller_ip:6642 3 ovs-vsctl set open . external_ids:ovn-encap-type=geneve 4 ovs-vsctl set open . external_ids:ovn-encap-ip=$local_host_ip 5 6 # Install networking-ovn-plugin 7 yum install python-networking-ovn 8 9 # Edist /etc/neutron/neutron.conf10 service_plugins = ovn-router11 12 # Edit /etc/neutron/plugins/ml2/ml2_conf.ini13 [ml2]14 mechanism_drivers = ovn15 16 # Edit /etc/neutron/plugins/networking-ovn/networking-ovn.ini17 [ovn]18 ovn_nb_connection = tcp:$controller_ip:664119 ovn_sb_connection = tcp:$controller_ip:664220 ovn_l3_mode = true21 22 # Restart neutron-server service (--config-file /etc/neutron/plugins/networking-ovn/networking-ovn.ini )23 /usr/bin/python /usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf \24 --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/plugins/networking-ovn/networking-ovn.ini \25 --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log
参见文档: