Doc: Add instructions for creating cloud.yaml

Update the testing documentation with instructions for creating
a cloud.yaml file for a DevStack cloud environment.

Change-Id: I527f5aadee3b226a52ea43af24c11b9afa77e4eb
Related-Bug: #1466182
This commit is contained in:
Richard Theis 2015-12-04 12:35:44 -06:00
parent 8a4b83974c
commit 50d1903c13

View File

@ -78,6 +78,13 @@ under ``clouds`` must be named ``test_cloud``.
Replace ``xxx.xxx.xxx.xxx`` with the IP address or FQDN of your DevStack instance.
You can also create a ``~/.config/openstack/clouds.yaml`` file for your
DevStack cloud environment using the following commands. Replace
``DEVSTACK_SOURCE`` with your DevStack source checkout.::
(sdk3)$ source DEVSTACK_SOURCE/accrc/admin/admin
(sdk3)$ ./create_yaml.sh
Run
***
@ -107,8 +114,8 @@ practice, this means that the tests should initially be run against a stable
branch of `DevStack <http://docs.openstack.org/developer/devstack/>`_.
And like the functional tests, the examples tests connect to an OpenStack cloud
using `os-client-config <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_.
To setup os-client-config create a ``clouds.yaml`` file in the root of your
source checkout.
See the functional tests instructions for information on setting up DevStack and
os-client-config.
Run
***