Files
openstack-manuals/doc/install-guide/source/swift-verify.rst
Andreas Jaeger 25d1b7d617 Remove DocBook XML files for Install Guide
Remove DocBook XML files and rename directory from install-guide-rst to
install-guide.

Adjust everything so that publishing works.
Update README to remove DocBook XML Install Guide specific instructions.

Implements: blueprint installguide-liberty
Change-Id: If723c44c3c0383dc8ab8e53798d82e7f0ee2cc57
2015-08-19 16:35:31 +02:00

60 lines
1.3 KiB
ReStructuredText

Verify operation
~~~~~~~~~~~~~~~~
This section describes how to verify operation of the Object Storage
service.
.. note::
The ``swift`` client requires the ``-V 3`` parameter to use the
Identity version 3 API.
.. note::
Perform these steps on the controller node.
#. Source the ``demo`` credentials:
.. code-block:: console
$ source demo-openrc.sh
#. Show the service status:
.. code-block:: console
$ swift -V 3 stat
Account: AUTH_c75cafb58f5049b8a976506737210756
Containers: 0
Objects: 0
Bytes: 0
X-Put-Timestamp: 1429736713.92936
X-Timestamp: 1429736713.92936
X-Trans-Id: txdea07add01ca4dbdb49a2-0055380d09
Content-Type: text/plain; charset=utf-8
#. Upload a test file:
.. code-block:: console
$ swift -V 3 upload demo-container1 FILE
FILE
Replace ``FILE`` with the name of a local file to upload to the
``demo-container1`` container.
#. List containers:
.. code-block:: console
$ swift -V 3 list
demo-container1
#. Download a test file:
.. code-block:: console
$ swift -V 3 download demo-container1 FILE
FILE [auth 0.295s, headers 0.339s, total 0.339s, 0.005 MB/s]
Replace ``FILE`` with the name of the file uploaded to the
``demo-container1`` container.