[firstapp] Added link to README.rst

Change-Id: I64da7bd6443b96d1d0549f7ab000607f2681d88e
Closes-Bug: #1538326
This commit is contained in:
sharat.sharma 2016-03-14 21:44:50 +05:30 committed by Anne Gentle
parent ddbc019403
commit fd9425e03f
2 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,7 @@
my-provider:
profile: $PROVIDER_NAME
auth:
username: $YOUR_USERNAME
password: $YOUR_PASSWORD
project_name: $YOUR_PROJECT
region_name: $REGION

View File

@ -305,6 +305,16 @@ to run code snippets in your language of choice.
you can avoid specifying :code:`auth_url:` and instead specify
:code:`profile: $PROVIDER_NAME` in the clouds.yml file.
To configure shade using a profile, use your credentials above to specify the cloud provider
name, username, password, project name, and region name in the file
:file:`~/.config/openstack/clouds.yml`.
.. literalinclude:: ../samples/shade/shade.yml
:language: yaml
See `configure shade <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_,
to configure your cloud using a profile.
.. literalinclude:: ../samples/shade/getting_started.py
:start-after: step-1
:end-before: step-2