Procedure 7.8. To use the Ryu plug-in with OpenStack Networking
Install the Ryu plug-in, as follows:
# apt-get install neutron-plugin-ryu
Edit
/etc/neutron/neutron.conf
and set:core_plugin = neutron.plugins.ryu.ryu_neutron_plugin.RyuNeutronPluginV2
Edit the
/etc/neutron/plugins/ryu/ryu.ini
file and update these options in the[ovs]
section for theryu-neutron-agent
:openflow_rest_api
. Defines where Ryu is listening for REST API. Substituteip-address
andport-no
based on your Ryu setup.ovsdb_interface
. Enables Ryu to access theovsdb-server
. Substituteeth0
based on your setup. The IP address is derived from the interface name. If you want to change this value irrespective of the interface name, you can specifyovsdb_ip
. If you use a non-default port forovsdb-server
, you can specifyovsdb_port
.tunnel_interface
. Defines which IP address is used for tunneling. If you do not use tunneling, this value is ignored. The IP address is derived from the network interface name.
For database configuration, see Install Networking Services in Installation Guide.
You can use the same configuration file for many compute nodes by using a network interface name with a different IP address:
openflow_rest_api = <ip-address>:<port-no> ovsdb_interface = <eth0> tunnel_interface = <eth0>
Restart
neutron-server
to apply the new settings:# service neutron-server restart