MyFirstApp: Durability section with shade (RST file)

Adding list of objects after clean up (step-9), fixing typos and removing extra note.

Change-Id: Ie0a5d0a59af38c73c242b4dda90c8b62adac5267
This commit is contained in:
Marcela Bonell 2016-06-21 16:24:53 -05:00
parent c3f02d06b2
commit 2578bde8a3

View File

@ -220,7 +220,7 @@ all containers in your account:
Munch({u'count': 0, u'bytes': 0, u'name': u'fractals_segments'})]
The next logical step is to upload an object. Find a photo of a goat
on line, name it :code:`goat.jpg`, and upload it to your
online, name it :code:`goat.jpg`, and upload it to your
:code:`fractals` container:
.. only:: fog
@ -411,6 +411,16 @@ Finally, clean up by deleting the test object:
u'tx46c83fa41030422493110-0057427af3', u'date': u'Mon, 23 May 2016
03:37:23 GMT', u'content-type': u'text/plain; charset=utf-8'})
Now, no more objects are available in the :code:`fractals` container.
.. literalinclude:: ../samples/shade/durability.py
:start-after: step-9
:end-before: step-10
::
[]
Back up the Fractals from the database on the Object Storage
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -475,7 +485,6 @@ A simple loop takes care of that:
<Object: name=26ca9b38-25c8-4f1e-9e6a-a0132a7a2643, size=136298, hash=9f9b4cac16893854dd9e79dc682da0ff, provider=OpenStack Swift ...>
<Object: name=3f68c538-783e-42bc-8384-8396c8b0545d, size=27202, hash=e6ee0cd541578981c294cebc56bc4c35, provider=OpenStack Swift ...>
.. note:: Replace :code:`IP_API_1` with the IP address of the API instance.
.. note:: The example code uses the awesome
`Requests library <http://docs.python-requests.org/en/latest/>`_.
@ -488,8 +497,6 @@ A simple loop takes care of that:
:start-after: step-11
:end-before: step-12
.. note:: Replace :code:`IP_API_1` with the IP address of the API instance.
.. note:: The example code uses the awesome
`Requests library <http://docs.python-requests.org/en/latest/>`_.
Before you try to run the previous script, make sure that
@ -591,6 +598,7 @@ your SDK.
:start-after: step-13
:end-before: step-14
Large objects
~~~~~~~~~~~~~