summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix a missed argument from a previous refactor"0.3.0Jenkins2014-10-261-1/+1
|\
| * Fix a missed argument from a previous refactorMonty Taylor2014-10-261-1/+1
| | | | | | | | | | | | | | | | | | Region name support got changed a little while ago, and a call that should now be a keyword argument style stayed as a positional ... which means that we lost region name support for clouds with more than one region. (it treated all of them like the first region) Change-Id: I666758a775b8fc8e03b7e9ddd3aa494c13505612
* | Map CloudConfig attributes to CloudConfig.configDean Troyer2014-10-212-0/+58
|/ | | | | | | | | | | | Treat the CloudConfig object as if it has the config attributes directly. And add some simple tests. This makes it easier to replace an argparse.Namespace() object with a CloudConfig object. It also might make initialization of some of the default attributes unnecessary. An example of this usage is in https://review.openstack.org/#/c/129795/1/openstackclient/shell.py Change-Id: I00ced540cf94742e8cb738f8f0767445ffeb4bfe
* Add support for argparse Namespace objectsDean Troyer2014-10-111-19/+49
| | | | | | | | | The Namespace objects returned by argparse contain all defined options even if they are unspecified and default to None or ''. Also it is not iterable. Change all that to add only the options presented to argparse to the cloud_config. Change-Id: Ia22fad60c81ab0b2878b404c0c8608d903ca964b
* Add support for command line argument processingMonty Taylor2014-10-111-6/+32
| | | | | | | | Now takes the ability to pass in a dict of key/value pairs, probably from a command line processing thing like argparse, and to overlay them on the config that came from the files or env vars. Change-Id: I830699476e2340389979b34704c0dfbfe97a1e08
* Handle lack of username for project_name defaultsMonty Taylor2014-10-101-1/+3
| | | | | | | It's possible that there will not be a value in username, so we can't use it as a blind default. Change-Id: Iae93b9ec0e691c7b2174a0138c5455e36ad77ad7
* Handle the project/tenant nonesense more cleanlyMonty Taylor2014-10-101-2/+20
| | | | | | | devstack clouds are more strict that public ones, so it's more important to get project_name vs. project_id correct. Solve it with brute force. Change-Id: I957b19c23266d379834361ab6a5b3b2dc5d15d3d
* Add cache control settingsMonty Taylor2014-10-102-0/+41
| | | | | | | Things need to do local caching, which means they need to control some settings about that. Add simple cache settings support. Change-Id: I7b56cc25ebe7a803816d95b79d0329f8e42025ba
* Handle no vendor clouds config filesMonty Taylor2014-10-101-3/+4
| | | | Change-Id: If0ab1db3df8ba3a2880473f2287ae3f85c84d9d5
* Remove unused class method get_servicesMonty Taylor2014-10-101-4/+0
| | | | Change-Id: Id133bc3c39b97a4489e75c3d38df601f999e8f3a
* Merge pull request #4 from dtroyer/vendor-configDean Troyer2014-09-231-6/+19
|\ | | | | Add clouds-public.yaml
| * Add clouds-public.yamlDean Troyer2014-09-231-6/+19
|/ | | | | | | | | Put vendor config outside of the code in clouds-public.yaml. Fall back to vendors.py if clouds-public.yaml not found. The search follows the same rules as clouds.yaml, the file is the same format except the top-level key is 'public-clouds'. Typically only auth_url and region_name are populated.
* Prep for move to stackforgeMonty Taylor2014-09-221-1/+1
|
* Merge pull request #3 from dtroyer/vendor-key0.2.0Monty Taylor2014-09-211-1/+5
|\ | | | | Handle missing vendor key
| * Handle missing vendor keyDean Troyer2014-09-211-1/+5
| | | | | | | | Continue on if the configured vendor config is not present
* | Merge pull request #1 from dtroyer/env-varsMonty Taylor2014-09-211-1/+3
|\ \ | | | | | | Make env vars lowest priority
| * | Make env vars lowest priorityDean Troyer2014-09-211-1/+3
| |/ | | | | | | | | | | | | | | | | | | | | When working with multiple tools the project CLIs only know about options and environment variables. When selecting a cloud config that includes a section from vendors.py environment vars overwrite that data if they are defined. The priority order should be: * command line args * cloud config selection * environment variables
* | Merge pull request #2 from dtroyer/null-regionMonty Taylor2014-09-211-1/+6
|\ \ | |/ |/| Handle null region
| * Handle null regionDean Troyer2014-09-211-1/+6
|/ | | | Not all clouds define/require region_name to be set
* Update the README file for more completenessMonty Taylor2014-09-212-3/+16
|
* Get rid of extra complexity with service values0.1.0Monty Taylor2014-09-212-11/+4
| | | | | We don't need to enumerate the service types - we can simply match at consumption time on patterns.
* Remove babel and add pyyamlMonty Taylor2014-09-214-17/+3
|
* Port in config reading from shadeMonty Taylor2014-09-218-14/+346
|
* Initial Cookiecutter Commit.Monty Taylor2014-09-2027-0/+614