forked from faucetsdn/ryu
-
Notifications
You must be signed in to change notification settings - Fork 2
configuration_openstack_grizzly_with_ryu
Yoshihiro Kaneko edited this page Nov 10, 2013
·
2 revisions
This page describes how to configure Quantum Ryu plugin with opentack. If you are not familiar with opentsack installation, please refer to openstack documentation
configuration for quantum plugin.:
[PLUGIN]
core_plugin = quantum.plugins.ryu.ryu_quantum_plugin.RyuQuantumPluginV2
configuration specific to ryu plugin.:
[DATABASE]
# database connection
sql_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 = quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
quantum 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 = quantum.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_quantum,ryu.app.rest_tunnel,ryu.app.simple_vlan
# GRE tunneling
app_lists = ryu.app.quantum_adapter,ryu.app.rest,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 quantum settings
# quantum_url = http://$Q_HOST:$Q_PORT
# quantum_admin_username = $Q_ADMIN_USERNAME
# quantum_admin_password = $SERVICE_PASSWORD
# quantum_admin_tenant_name = $SERVICE_TENANT_NAME
# quantum_admin_auth_url = $KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/v2.0
# quantum_auth_strategy = $Q_AUTH_STRATEGY
# quantum_controller_addr = tcp:$RYU_OFP_HOST:$RYU_OFP_PORT
quantum_url = http://127.0.0.1:9696
quantum_admin_username = admin
quantum_admin_password = admin_password
quantum_admin_tenant_name = admin
quantum_admin_auth_url = http://127.0.0.1:5000/v2.0
quantum_auth_strategy = keystone
quantum_controller_addr = tcp:127.0.0.1:6633