path: root/tools/
Commit message (Collapse)AuthorAgeFilesLines
* renaming swauth tools to gswauthThiago da Silva2013-12-061-5/+4
| | | | | | | | | | | | | | | | cli tools for account and user mgmt have been renamed from swauth-* to gswauth-* Updated other configuration and test files accordingly Change-Id: Iced3bb27fbd09da45754ddb264f8fb4528ab423c Signed-off-by: Thiago da Silva <> Reviewed-on: Reviewed-by: pushpesh sharma <> Tested-by: pushpesh sharma <> Reviewed-by: Shilpa MJ <> Tested-by: Shilpa MJ <> Reviewed-by: Luis Pabon <>
* Setup and run in a virtual environmentLuis Pabon2013-11-271-0/+92
Using tox, developers can down drop into an environment which sets up and runs gluster-swift with gswauth authentication. The developer is then dropped into a shell which is running inside the tox environment. OpenStack Swift and Gluster-Swift are available to the developer. Once the developer exists the shell, the environment will be cleaned up and terminated. Usage: tox -e run Example: $ tox -e run GLOB sdist-make: /home/lpabon/gluster-swift/ run inst-nodeps: /home/lpabon/gluster-swift/.tox/dist/ run runtests: commands[0] | bash tools/ Ring files are prepared in /etc/swift. Please restart object store services Redirecting to /bin/systemctl start memcached.service Starting proxy-server...(/etc/swift/proxy-server.conf) Starting container-server...(/etc/swift/container-server.conf) Starting account-server...(/etc/swift/account-server.conf) Starting object-server...(/etc/swift/object-server.conf) bash-4.2$ swauth-list -K gswauthkey {"accounts": [{"name": "test"}, {"name": "test2"}]} bash-4.2$ swauth-list -K gswauthkey test {"services": {"storage": {"default": "local", "local": ""}}, "account_id": "AUTH_test", "users": [{"name": "tester"}, {"name": "tester3"}]} bash-4.2$ swauth-list -K gswauthkey test tester {"groups": [{"name": "test:tester"}, {"name": "test"}, {"name": ".admin"}], "auth": "plaintext:testing"} bash-4.2$ exit exit Redirecting to /bin/systemctl stop memcached.service Signal proxy-server pid: 22862 signal: 15 Signal container-server pid: 22863 signal: 15 Signal account-server pid: 22864 signal: 15 Signal object-server pid: 22865 signal: 15 proxy-server (22862) appears to have stopped container-server (22863) appears to have stopped account-server (22864) appears to have stopped object-server (22865) appears to have stopped run: commands succeeded congratulations :) Change-Id: I98de5d1b1698b4cd355888f2c15a46df021a9e87 Signed-off-by: Luis Pabon <> Reviewed-on: Reviewed-by: pushpesh sharma <> Tested-by: pushpesh sharma <>