Queue

For help on a specific openstack queue command, enter:

$ openstack queue COMMAND -h/--help

The seven commands:

queue create
queue delete
queue get metadata
queue list
queue set metadata
queue signed url
queue stats

openstack queue create

usage: openstack queue create [-h] [-f {json,shell,table,value,yaml}]
                              [-c COLUMN] [--max-width <integer>] [--noindent]
                              [--prefix PREFIX]
                              <queue_name>

Create a queue.

Positional arguments:

<queue_name>
Name of the queue.

openstack queue delete

usage: openstack queue delete [-h] <queue_name>

Delete a queue.

Positional arguments:

<queue_name>
Name of the queue.

openstack queue get metadata

usage: openstack queue get metadata [-h] [-f {json,shell,table,value,yaml}]
                                    [-c COLUMN] [--max-width <integer>]
                                    [--noindent] [--prefix PREFIX]
                                    <queue_name>

Get queue metadata.

Positional arguments:

<queue_name>
Name of the queue.

openstack queue list

usage: openstack queue list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
                         [--max-width <integer>] [--noindent]
                         [--quote {all,minimal,none,nonnumeric}]
                         [--marker <queue_id>] [--limit <limit>]

List available queues.

Optional arguments:

--marker <queue_id>
Queue’s paging marker.
--limit <limit>
Page size limit.

openstack queue set metadata

usage: openstack queue set metadata [-h] <queue_name> <queue_metadata>

Set queue metadata.

Positional arguments:

<queue_name>
Name of the queue.
<queue_metadata>
Queue metadata. It should be json like. For example: ‘{“age”: 18}’

openstack queue signed url

usage: openstack queue signed url [-h] [-f {json,shell,table,value,yaml}]
                                  [-c COLUMN] [--max-width <integer>]
                                  [--noindent] [--prefix PREFIX]
                                  [--paths <paths>]
                                  [--ttl-seconds <ttl_seconds>]
                                  [--methods <methods>]
                                  <queue_name>

Create a pre-signed url for the queue.

Positional arguments:

<queue_name>
Name of the queue.

Optional arguments:

--paths <paths>
Allowed paths in a comma-separated list. Options: messages, subscriptions, claims.
--ttl-seconds <ttl_seconds>
Length of time (in seconds) until the signature expires.
--methods <methods>
HTTP methods to allow as a comma-separated list. Options: GET, HEAD, OPTIONS, POST, PUT, DELETE.

openstack queue stats

usage: openstack queue stats [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>] [--noindent]
                             [--prefix PREFIX]
                             <queue_name>

Get queue stats.

Positional arguments:

<queue_name>
Name of the queue.