Update readme with quantum specific instructions

This commit is contained in:
Brad Hall 2011-06-04 13:23:29 -07:00
parent 1e441b67d1
commit 5050560418

View File

@ -1,5 +1,10 @@
To Run: To Run:
0) Make it the current quantum plugin
edit ../../plugins.ini and change the provider line to be:
provider = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPlugin
1) On the "Openstack Controller" host: 1) On the "Openstack Controller" host:
MySQL should be installed on the host, and all plugins and clients must be MySQL should be installed on the host, and all plugins and clients must be
@ -18,7 +23,7 @@ mysql -u root -p -e "create database ovs_naas"
$ make agent-dist $ make agent-dist
4) Copy the resulting tarball to your xenserver 4) Copy the resulting tarball to your xenserver(s)
5) Unpack the tarball and run install.sh. This will install all of the 5) Unpack the tarball and run install.sh. This will install all of the
necessary pieces into /etc/xapi.d/plugins. necessary pieces into /etc/xapi.d/plugins.
@ -27,11 +32,15 @@ necessary pieces into /etc/xapi.d/plugins.
# /etc/xapi.d/plugins/ovs_quantum_agent.py /etc/xapi.d/plugins/ovs_quantum_plugin.ini # /etc/xapi.d/plugins/ovs_quantum_agent.py /etc/xapi.d/plugins/ovs_quantum_plugin.ini
7) Run ovs_quantum_plugin.py via the quantum plugin framework cli. 7) Start quantum
~/src/quantum-framework$ PYTHONPATH=.:$PYTHONPATH python bin/quantum etc/quantum.conf
8) Run ovs_quantum_plugin.py via the quantum plugin framework cli.
- Edit quantum/plugins.ini to point to where the plugin and configuration - Edit quantum/plugins.ini to point to where the plugin and configuration
files live files live
$ PYTHONPATH=$HOME/src/quantum-framework/quantum:$PYTHONPATH python quantum/cli.py ~/src/quantum-framework$ PYTHONPATH=.:$PYTHONPATH python quantum/cli.py
This will show all of the available commands. This will show all of the available commands.