From deb0dfd090cee2feef664bdd4449194c274d830e Mon Sep 17 00:00:00 2001 From: Peter Portante Date: Thu, 10 Apr 2014 14:36:43 -0400 Subject: [PATCH] Add includes of referenced SAIO bin scripts Change-Id: I6810e69a757336a3aed0a38146c27f270fe2dde1 --- doc/source/development_saio.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/source/development_saio.rst b/doc/source/development_saio.rst index 4fe40d6d77..d1caff7229 100644 --- a/doc/source/development_saio.rst +++ b/doc/source/development_saio.rst @@ -415,10 +415,18 @@ Setting up scripts for running Swift sed -i "s/service \(.*\) restart/systemctl restart \1.service/" $HOME/bin/resetswift + The template ``resetswift`` script looks like the following: + + .. literalinclude:: /../saio/bin/resetswift + #. Install the sample configuration file for running tests:: cp $HOME/swift/test/sample.conf /etc/swift/test.conf + The template ``test.conf`` looks like the following: + + .. literalinclude:: /../../test/sample.conf + #. Add an environment variable for running tests below:: echo "export SWIFT_TEST_CONFIG_FILE=/etc/swift/test.conf" >> $HOME/.bashrc @@ -435,6 +443,10 @@ Setting up scripts for running Swift remakerings + The ``remakerings`` script looks like the following: + + .. literalinclude:: /../saio/bin/remakerings + You can expect the ouptut from this command to produce the following:: Device d0r1z1-127.0.0.1:6010R127.0.0.1:6010/sdb1_"" with 1.0 weight got id 0 @@ -467,6 +479,10 @@ Setting up scripts for running Swift (The "``Unable to increase file descriptor limit. Running as non-root?``" warnings are expected and ok.) + The ``startmain`` script looks like the following: + + .. literalinclude:: /../saio/bin/startmain + #. Get an ``X-Storage-Url`` and ``X-Auth-Token``:: curl -v -H 'X-Storage-User: test:tester' -H 'X-Storage-Pass: testing' http://127.0.0.1:8080/auth/v1.0