python-openstackclient/openstackclient/tests
Dean Troyer 5649695c65 Add --os-cloud support
This adds a new option --os-cloud that allows the configuration values
for multiple clouds to be stored in a local file and selected with
a single option.

Internal option names have had 'os_' removed to be comptible with
the options returned from OpenStackConfig().get_one_cloud().

The config file is ~/.config/openstack/clouds.yaml:

Sample
------
clouds:
  devstack:
    auth:
      auth_url: http://192.168.122.10:35357/
      project_name: demo
      username: demo
      password: 0penstack
    region_name: RegionOne
  devstack:
     auth:
       auth_url: http://192.168.122.10:35357/
       project_name: demo
       username: demo
       password: 0penstack
     region_name: RegionOne

Co-Authored-By: Monty Taylor <mordred@inaugust.com>
Change-Id: I4939acf8067e44ffe06a2e26fc28f1adf8985b7d
Depends-On: I45e2550af58aee616ca168d20a557077beeab007
2015-04-18 23:04:51 -05:00
..
api Merge "Begin low-level API for Network v2" 2015-02-07 00:16:28 +00:00
common Add --os-cloud support 2015-04-18 23:04:51 -05:00
compute Add the ability to set and unset flavor properties 2015-03-19 13:54:19 -04:00
identity Add support to remote_id 2015-03-30 11:53:17 -04:00
image Add sort support to image list 2015-02-06 10:57:10 +08:00
network Add project and domain params to network create 2015-03-19 23:49:02 -07:00
object fix the wrong order of assertEqual args 2015-01-27 17:02:41 +08:00
volume Defer client imports 2015-04-15 22:40:52 -05:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Check volume status before extending size 2015-02-06 09:05:41 -08:00
test_shell.py Add --os-cloud support 2015-04-18 23:04:51 -05:00
utils.py Check volume status before extending size 2015-02-06 09:05:41 -08:00