Jump to: navigation, search

Difference between revisions of "Cloudpulseclient"

 
Line 1: Line 1:
 
<big><big><big><big>CloudPulseClient - Command Line Client for Cloudpulse </big></big></big></big>
 
<big><big><big><big>CloudPulseClient - Command Line Client for Cloudpulse </big></big></big></big>
 
=== Introduction ===
 
=== Introduction ===
The cloudpulseclient is the command-line interface (CLI) for the OpenStack cloudpulse service.
+
The Cloudpulseclient is the command-line interface (CLI) for the OpenStack cloudpulse service.
  
 
=== Cloudpulseclient usage ===
 
=== Cloudpulseclient usage ===
Line 35: Line 35:
 
* '''help''' - Display help about this program or one of its subcommands
 
* '''help''' - Display help about this program or one of its subcommands
 
* '''bash-completion''' - Prints all of the commands and options to stdout so that the cloudpulse.bash_completion script doesn’t have to hard code them.
 
* '''bash-completion''' - Prints all of the commands and options to stdout so that the cloudpulse.bash_completion script doesn’t have to hard code them.
 +
 +
==== Optional Arguments ====
 +
  --version            show program's version number and exit
 +
  --debug              Print debugging output.
 +
  --os-cache            Use the auth token cache. Defaults to False if
 +
                        env[OS_CACHE] is not set.
 +
  --os-region-name <region-name>
 +
                        Region name. Default=env[OS_REGION_NAME].
 +
  --os-tenant-id <auth-tenant-id>
 +
                        Defaults to env[OS_TENANT_ID].
 +
  --service-type <service-type>
 +
                        Defaults to container for all actions.
 +
  --endpoint-type <endpoint-type>
 +
                        Defaults to env[CLOUDPULSE_ENDPOINT_TYPE] or publicURL.
 +
  --cloudpulse-api-version <cloudpulse-api-ver>
 +
                        Accepts "api", defaults to
 +
                        env[CLOUDPULSE_API_VERSION].
 +
  --os-cacert <ca-certificate>
 +
                        Specify a CA bundle file to use in verifying a TLS
 +
                        (https) server certificate. Defaults to
 +
                        env[OS_CACERT].
 +
  --insecure            Insecure connection to cloudpulse url.
 +
  --bypass-url <bypass-url>
 +
                        Use this API endpoint instead of the Service Catalog.
 +
  
 
==== ''cloudpulse result'' ====
 
==== ''cloudpulse result'' ====

Latest revision as of 20:34, 28 March 2016

CloudPulseClient - Command Line Client for Cloudpulse

Introduction

The Cloudpulseclient is the command-line interface (CLI) for the OpenStack cloudpulse service.

Cloudpulseclient usage

To get help on any subcommand enter:

$ cloudpulse help SUBCOMMAND

cloudpulseclient usage

cloudpulse client usage

usage: cloudpulse [--version] [--debug] [--os-cache]
                  [--os-region-name <region-name>]
                  [--os-tenant-id <auth-tenant-id>]
                  [--service-type <service-type>]
                  [--endpoint-type <endpoint-type>]
                  [--cloudpulse-api-version <cloudpulse-api-ver>]
                  [--os-cacert <ca-certificate>] [--insecure]
                  [--bypass-url <bypass-url>] [--os-auth-system <auth-system>]
                  [--os-username <username>] [--os-password <password>]
                  [--os-tenant-name <tenant-name>] [--os-token <token>]
                  [--os-auth-url <auth-url>]
                  <subcommand> ...

Subcommands

Subcommands:

  • result - List all the tests results
  • run - Run new test
  • show - Show the detailed results of the test
  • delete - Delete a test
  • help - Display help about this program or one of its subcommands
  • bash-completion - Prints all of the commands and options to stdout so that the cloudpulse.bash_completion script doesn’t have to hard code them.

Optional Arguments

 --version             show program's version number and exit
 --debug               Print debugging output.
 --os-cache            Use the auth token cache. Defaults to False if
                       env[OS_CACHE] is not set.
 --os-region-name <region-name>
                       Region name. Default=env[OS_REGION_NAME].
 --os-tenant-id <auth-tenant-id>
                       Defaults to env[OS_TENANT_ID].
 --service-type <service-type>
                       Defaults to container for all actions.
 --endpoint-type <endpoint-type>
                       Defaults to env[CLOUDPULSE_ENDPOINT_TYPE] or publicURL.
 --cloudpulse-api-version <cloudpulse-api-ver>
                       Accepts "api", defaults to
                       env[CLOUDPULSE_API_VERSION].
 --os-cacert <ca-certificate>
                       Specify a CA bundle file to use in verifying a TLS
                       (https) server certificate. Defaults to
                       env[OS_CACERT].
 --insecure            Insecure connection to cloudpulse url.
 --bypass-url <bypass-url>
                       Use this API endpoint instead of the Service Catalog.


cloudpulse result

usage: cloudpulse result [--failed] [--period <period>]

List all the tests

Optional arguments:

--failed Display only failed tests.

--period <period> List all tests in the last x minutes.

cloudpulse run

usage: cloudpulse run <name>

Run new test

Positional arguments:

<name> Name of the healthcheck to run

cloudpulse show

usage: cloudpulse show <cpulse> [<cpulse> ...]

Show the results of the test

Positional arguments:

<cpulse> ID or name of the (cpulse)s to show.

cloudpulse delete

usage: cloudpulse delete <cpulse> [<cpulse> ...]

Delete the test

Positional arguments:

<cpulse> ID or name of the (cpulse)s to delete.