From 5050560418545a2ac94c87f73685bf529f7dbcd6 Mon Sep 17 00:00:00 2001 From: Brad Hall Date: Sat, 4 Jun 2011 13:23:29 -0700 Subject: [PATCH] Update readme with quantum specific instructions --- quantum/plugins/openvswitch/README | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/quantum/plugins/openvswitch/README b/quantum/plugins/openvswitch/README index ee2248a17..77f053a38 100644 --- a/quantum/plugins/openvswitch/README +++ b/quantum/plugins/openvswitch/README @@ -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. -- 2.45.2