Atom feed of this document
 

 Install quantum-server

Install quantum-server and CLI for accessing the API:

apt-get -y install quantum-server python-cliff python-pyparsing

You will also want to install the plugin you choose to use, for example:

apt-get -y install quantum-plugin-openvswitch

Most plugins require a database to be installed and configured in a plugin configuration file.  For example:

apt-get -y install mysql-server python-mysqldb python-sqlalchemy 

A database that you are already using for other OpenStack services will work fine for this.  Simply create a ‘quantum’ database:

mysql -u <user> -p <pass> -e “create database quantum”

And then configure the plugin’s configuration file to use this database.  Find the plugin configuration file in /etc/quantum/plugins (For example, /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini) and set:

sql_connection = mysql://<user>:<password>@localhost/quantum?charset=utf8
[Note]Note

Different plugins can use different database schemas, so when switching a plugin, you must always drop the quantum database and start fresh. 



loading table of contents...