python-openstackclient/openstackclient/api
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
..
__init__.py Add low-level API base class 2014-09-29 12:32:45 -05:00
api.py Begin low-level API for Image v1 and v2 2015-01-20 17:01:23 -06:00
auth.py Add --os-cloud support 2015-04-18 23:04:51 -05:00
auth_plugin.py Base TokenEndpoint plugin on keystoneclient's 2015-03-11 19:16:18 +11:00
image_v1.py Don't hack the image url 2015-03-05 20:58:23 -06:00
image_v2.py Don't hack the image url 2015-03-05 20:58:23 -06:00
network_v2.py Begin low-level API for Network v2 2015-01-22 10:06:15 -06:00
object_store_v1.py Update use of open() in object API 2014-10-13 10:34:11 -05:00
utils.py Add filter to image list 2015-01-27 19:17:35 -06:00