-
Notifications
You must be signed in to change notification settings - Fork 1.2k
configuration_openstack_havana_with_ryu
This page describes how to configure Neutron Ryu plugin with opentack. If you are not familiar with opentsack installation, please refer to openstack documentation
configuration for neutron plugin.:
[DEFAULT]
core_plugin = neutron.plugins.ryu.ryu_neutron_plugin.RyuNeutronPluginV2
configuration specific to ryu plugin.:
[database]
connection = mysql://<user>:<pass>@<IP>:<port>/<dbname>
[ovs]
integration_bridge = br-int
# IP address of Ryu REST API service
openflow_rest_api = 127.0.0.1:8080
# If GRE tunneling is used, specify the network interface to used
# for tunneling
tunnel_interface = eth0
# network interface through which Ryu controller accesses to OVSDB
ovsdb_interface = eth0
# Instead of interface name, the pair of ip address and port can be
# specified
# ovsdb_port = <IP address ovsdb server is listening to>
# ovsdb_ip = <port number ovsdb server is listening to>
[securitygroup]
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
neutron agent configuration. dhcp_agent.ini, l3_agent.ini and, lbaas_agent.ini. use OVSInterfaceDriver as interface driver with ovs_use_veth and use_namespace enabled.:
[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
ovs_use_veth = True
use_namespace = True
same as OVS plugin.:
[DEFAULT]
libvirt_vif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
If you use devstack, you don't have to create ryu.conf. devstack will create /etc/ryu/ryu.conf automatically for you.:
[DEFAULT]
# app_lists = $RYU_APPS
# mac address based isolation
# app_lists = ryu.app.simple_isolation,ryu.app.rest
# vlan
#app_lists = ryu.app.quantum_adapter,ryu.app.rest,ryu.app.rest_conf_switch,ryu.app.rest_quantum,ryu.app.rest_tunnel,ryu.app.simple_vlan
# GRE tunneling
app_lists = ryu.app.quantum_adapter,ryu.app.rest,ryu.app.rest_conf_switch,ryu.app.rest_quantum,ryu.app.rest_tunnel,ryu.app.tunnel_port_updater,ryu.app.gre_tunnel
# wsapi_host = $RYU_API_HOST
# wsapi_port = $RYU_API_PORT
# ofp_listen_host = $RYU_OFP_HOST
# ofp_tcp_listen_port = $RYU_OFP_PORT
wsapi_host = 0.0.0.0
wsapi_port = 8080
ofp_listen_host = 0.0.0.0
ofp_tcp_listen_port = 6633
# the followings must be set according to neutron settings
# neutron_url = http://$Q_HOST:$Q_PORT
# neutron_admin_username = $Q_ADMIN_USERNAME
# neutron_admin_password = $SERVICE_PASSWORD
# neutron_admin_tenant_name = $SERVICE_TENANT_NAME
# neutron_admin_auth_url = $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/v2.0
# neutron_auth_strategy = $Q_AUTH_STRATEGY
# neutron_controller_addr = tcp:$RYU_OFP_HOST:$RYU_OFP_PORT
neutron_url = http://127.0.0.1:9696
neutron_admin_username = admin
neutron_admin_password = admin_password
neutron_admin_tenant_name = service
neutron_admin_auth_url = http://127.0.0.1:5000/v2.0
neutron_auth_strategy = keystone
neutron_controller_addr = tcp:127.0.0.1:6633
Note: In the Havana release, Quantum has been renamed to Neutron. Ryu will run using old parameters from a past version, however the usage of the new parameters that prefixed 'neutron_' is recommended. In addition, the name of the Ryu applications, quantum_adapater and rest_ quantum, is not changed.