部署OpenStack 参见: http://docs.openstack.org/newton/install-guide-rdo/
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.conf 10 service_plugins = ovn-router 11 12 # Edit /etc/neutron/plugins/ml2/ml2_conf.ini 13 [ml2] 14 mechanism_drivers = ovn 15 16 # Edit /etc/neutron/plugins/networking-ovn/networking-ovn.ini 17 [ovn] 18 ovn_nb_connection = tcp:$controller_ip:6641 19 ovn_sb_connection = tcp:$controller_ip:6642 20 ovn_l3_mode = true 21 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
参见文档:
http://docs.openstack.org/developer/networking-ovn/install.html
时间: 2024-10-07 06:25:17