Page tree
Skip to end of metadata
Go to start of metadata

OpenStack Command-line Interface

This script is particularly useful when attempting to use Moonshot authentication when communicating to a REST-API server (such as current OpenStack).

This Python 2 script ( performs the client-side of an HTTP Negotiate (aka. GSS-API for HTTP) authentication. Its purpose is similar to curl, in the sense that it everything goes well (the user is authenticated and the resource exists, it dumps the targeted resource data (e.g. HTML web page, JSON document, etc).

How to use it
usage: [-h] [-i ITERATIONS] [-d DELAY] [-w WAIT] [-v]
positional arguments:
  url                   The url of the protected resource (including the
                        http:// or https://).
optional arguments:
  -h, --help            show this help message and exit
  -i ITERATIONS, --iterations ITERATIONS
                        The number of times the script will request the
                        resource. For stress tests.
  -d DELAY, --delay DELAY
                        The delay between different requests within the same
  -w WAIT, --wait WAIT  The delay between different iterations.
  -v, --verbose         Show sent/received GSS API tokens.

  • No labels