The step to create quantum db was missing.

Signed-off-by: Isaku Yamahata <[email protected]>
---
 doc/source/step_by_step.rst |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/doc/source/step_by_step.rst b/doc/source/step_by_step.rst
index 9e85fb3..00a0230 100644
--- a/doc/source/step_by_step.rst
+++ b/doc/source/step_by_step.rst
@@ -61,6 +61,27 @@ The more openstack way is possible, though.
 
    $ sudo nova-manage db sync
 
+#. setup quantum data base
+
+   Use mysql command to connect mysql server::
+
+   $ mysql -u <admin user name> -p
+
+   Then create the quantum db and allow the agents to access it::
+
+       mysql> CREATE DATABASE ryu_quantum;
+       mysql> GRANT USAGE ON *.* to <user name>@'yourremotehost' IDENTIFIED BY 
'newpassword';
+       mysql> FLUSH PRIVILEGES;
+
+   Where the database name, ryu_quantum, the user name, <user name>, and
+   its password, newpassword, are the one defined in the ryu plugin
+   configuration file, ryu.ini.
+
+   If you are using multiple compute nodes, the GRANT sentence needs to
+   be repeated. Or wildcard, %, can be used like::
+
+       mysql> GRANT USAGE ON *.* to <user name>@'%' IDENTIFIED BY 
'newpassword';
+
 #. Make sure all nova, quantum, ryu and other openstack components are
    installed and running
 
-- 
1.7.1.1


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to