]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Update readme with quantum specific instructions
authorBrad Hall <bhall@nicira.com>
Sat, 4 Jun 2011 20:23:29 +0000 (13:23 -0700)
committerBrad Hall <bhall@nicira.com>
Sat, 4 Jun 2011 20:23:29 +0000 (13:23 -0700)
quantum/plugins/openvswitch/README

index ee2248a1736fe98f05e52099b8a00a36619e9dd4..77f053a38db9727de35b0b89890bbd963eb436ea 100644 (file)
@@ -1,5 +1,10 @@
 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:
 
 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
 
-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
 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
 
-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
   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.