summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Align to generic password auth-type1.6.1Monty Taylor2015-08-011-0/+6
| | | | | | | | v2password can't handle v3 parameter names. But we align to those for sanity. Ensure that a user gets the v2plugin that can handle the auth instead of the one that can't. Change-Id: Ie693e613fd5d0e20a4837923300502b1de02364b
* Merge "Clarify floating ip use for vendors"1.6.0Jenkins2015-07-271-2/+3
|\
| * Clarify floating ip use for vendorsMonty Taylor2015-07-271-2/+3
| | | | | | | | | | | | | | | | HP was not listed as needing a floating ip. Also, the non-floating IP case mentions direct routing, so amend the floating IP case to mention NAT for completeness and clarity. Change-Id: I220c41f6c822b7b6ffb1ec11038749153ef5a6ee
* | Add per-service endpoint overridesMonty Taylor2015-07-272-0/+9
|/ | | | | | | Make it possible to override a service's endpoint like service_type and service_name. This is already documented as working. Change-Id: I8764ed68f8a38563c4242d4b50e2158e99ed4109
* Merge "Remove requirements.txt from tox.ini"1.5.0Jenkins2015-07-271-2/+1
|\
| * Remove requirements.txt from tox.iniTerryHowe2015-07-171-2/+1
| | | | | | | | | | | | | | From lifeless: pbr reflects the package dependencies from requirements.txt into the sdist that tox builds. Change-Id: Iaa6026a504cc53784aad5731e9afe8b684b3ede5
* | Merge "Remove region list from single cloud"Jenkins2015-07-201-0/+4
|\ \ | |/ |/|
| * Remove region list from single cloudMonty Taylor2015-07-161-0/+4
| | | | | | | | | | | | | | | | | | regions is a list of regions that can be used to create more than one CloudConfig object for each cloud/region combo. The regions field itself makes no sense to set on each of those CloudConfigs, so do not pass it through. Change-Id: I76b3bb3bc4778223d72f86d01d02ce150651b3b9
* | Merge "Rename 'endpoint_type' to 'interface'"Jenkins2015-07-175-10/+40
|\ \
| * | Rename 'endpoint_type' to 'interface'TerryHowe2015-07-165-10/+40
| | | | | | | | | | | | | | | | | | | | | The keystone folks seem to feel that interface is a better name than endpoint type. Change-Id: Ibfc54e725b6dae843c07f7786f51f9fb9141c983
* | | Merge "Have service name default to None"Jenkins2015-07-172-1/+30
|\ \ \ | |/ /
| * | Have service name default to NoneTerryHowe2015-07-162-1/+30
| | | | | | | | | | | | | | | | | | | | | It seems like having service name default to service_type would not work in a lot of situations. Change-Id: Ia70242fad346c1681fa4abca9d604aea3ae002dd
* | | Remove py26 and py33 from tox.iniTerryHowe2015-07-161-1/+1
|/ / | | | | | | Change-Id: I79a9dceffc0432398bda70949db2e523cbbff515
* | Fix set_default() when used before config initDavid Shrewsbury2015-07-142-1/+23
| | | | | | | | | | | | | | | | | | | | Using set_default() before initializing OpenStackConfig would cause an error since the _defaults dict would still be None and not an actual dict. This corrects that by calling get_defaults() to make sure it is initialized properly, and also adds a warning to note that the method is now deprecated. Change-Id: I81803c680b614f9bee47c6f69a4efffa638dcebc
* | Merge "Specify the config file with environment variable"Jenkins2015-07-113-0/+17
|\ \
| * | Specify the config file with environment variableMonty Taylor2015-07-093-0/+17
| |/ | | | | | | | | | | | | | | | | | | The fine folks at ansible want to be able to specify a specific location for the config file with an env var which seems like a perfectly reasonable thing to allow. Inject the specified file at the beginning of the list so that it'll be the first one found. Change-Id: Ib1947be1c0ae812e9cb83c7b99168c05dfc6fa6a Co-authored-by: Chris Church <chris@ninemoreminutes.com>
* | Merge "Add support for configuring region lists with yaml"Jenkins2015-07-118-14/+73
|\ \ | |/
| * Add support for configuring region lists with yamlMonty Taylor2015-07-098-14/+73
| | | | | | | | | | | | | | | | | | | | yaml supports encoding lists in a manner that is cleaner than comma separated lists. While the old commas-in-region_name will still work, add a 'regions' option that can be used to configure lists of regions. Remove the comma-separated-list from the docs so that people don't try to use it - even though it will work. Change-Id: Ieb0aedb9c03fd26e644e9ba733b935f2c69daaf0
* | Fix rendering issue in ReadmeSpencer Krum2015-07-081-0/+1
|/ | | | Change-Id: If089b0331c6b40e983d81623ee3a6a541f93a45a
* Merge "Clean up vendor data"Jenkins2015-07-0412-69/+86
|\
| * Clean up vendor dataMonty Taylor2015-06-2612-69/+86
| | | | | | | | | | | | | | | | There are some clear central defaults. Call them out and don't repeat them. Also, ran the yaml files through a flamel conversion so they're all consistently formatted. Change-Id: Id19116c5e8266c109cf015d097cb6cb35f1beae8
* | Add support for indicating preference for IPv6Monty Taylor2015-06-267-2/+82
|/ | | | | | | | People, such as Infra, would like to use IPv6 when it's there, but don't want to need to write the "if ipv6, awesome, else, ipv4" code all the time. Change-Id: I870955863f1e8851c684dc604584c1ef3e20dd6b
* Normalize project_name aliasesGregory Haynes2015-06-223-2/+19
| | | | | | | We arent normalizing keys before we check for project_name aliases, therefore using hyphenated versions of the aliases fail. Change-Id: I3e0aa9dc38bbafc3c3a205f08b65abbd4528e874
* Merge "Add some accessor methods to CloudConfig"1.4.0Jenkins2015-06-172-19/+60
|\
| * Add some accessor methods to CloudConfigMonty Taylor2015-06-162-19/+60
| | | | | | | | | | | | | | | | There are some questions that people might want to ask without necessarily digging in to the underlying dict (this came up when noodling on openstacksdk factory functions. Change-Id: I3d9554a5e64797794de646d4d0d61936b857f2b4
* | Merge "Add missing tests"Jenkins2015-06-111-0/+17
|\ \ | |/ |/|
| * Add missing testsGhe Rivero2015-06-091-0/+17
| | | | | | | | | | | | | | | | - Test get_all_clouds returns a full list of available clouds - Test env. variables are stripped of initial 'os_' and '-' replaced with '_' Change-Id: If277aade17776d57236cc0e48a46fbb04158e7ed
* | Merge "Use one yaml file per vendor"Jenkins2015-06-0910-98/+97
|\ \
| * | Use one yaml file per vendorGhe Rivero2015-06-0610-98/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | With an increasing numbers of vendors, having all profiles in a single file, and with dicts inside dicts inside dicts... is getting more complicated to have a general view of what is available. Change-Id: I6f386829774365125d585a6ff1b6e22f4c98df2a
* | | Merge "Raise warning when a vendor profile is missing"Jenkins2015-06-091-1/+3
|\ \ \ | |/ / | | / | |/ |/|
| * Raise warning when a vendor profile is missingGhe Rivero2015-06-061-1/+3
| | | | | | | | Change-Id: I12f5c9d824abee4af42403a86db8bf4a8bbcac16
* | Add test to check cert and key as a tupleGhe Rivero2015-06-091-4/+16
| | | | | | | | | | | | | | When the cert file doesn't include a key within it, a tuple with the cert and key needs to be passed to the requests library. Change-Id: I17534b8e7d07b3ad102cc6a6a839541c83281b8e
* | Merge "Some cleanup in the README.rst"Jenkins2015-06-081-18/+19
|\ \ | |/ |/|
| * Some cleanup in the README.rstGhe Rivero2015-06-061-18/+19
| | | | | | | | Change-Id: I9f7c6c727708a9095566bce8d4ff03837be95d07
* | Merge "Add support for OVH Public Cloud"Jenkins2015-06-062-0/+28
|\ \ | |/ |/|
| * Add support for OVH Public CloudMonty Taylor2015-06-052-0/+28
| | | | | | | | Change-Id: If2b4bc34a159d1ef4180fbd5de9bbedfaa5b3e82
* | Merge "Stringify project details"Jenkins2015-06-053-4/+22
|\ \ | |/
| * Stringify project detailsMonty Taylor2015-06-053-4/+22
| | | | | | | | | | | | | | | | | | There are some clouds that have things like integer project names. That's no fun when they are interperted at int, so stringify them. Stringifying integer project ids is apparently less important, but does not hurt. Change-Id: Ife9ecaa28c552d589dbea9a065da0dfa483592eb
* | Add SSL documentation to README.rstGhe Rivero2015-06-051-0/+14
| | | | | | | | | | | | | | Explain usage and warn avoid behavior with conflicting cacert and verify options. Change-Id: I25b43ba47bd0feb941b649265c6e67723a93e277
* | Raise a warning with conflicting SSL paramsGhe Rivero2015-06-051-0/+7
| | | | | | | | | | | | | | | | | | Setting a cacert to check the cloud cert is useless when changing the default verify flag to False since this will have precedence. Raise a warning to alert the user about this behavior. Change-Id: I099d03fef5e8da0d6eed572613f4693604173ecd
* | Change references of "clouds.yaml" for real fileGhe Rivero2015-06-051-5/+6
| | | | | | | | | | | | | | | | | | The config file clouds.yaml can be located in several places, and even the file extension can be .yml. Replace all user visible messages making reference for that file to show the full path of the config file used. Change-Id: I489d87368b72dfe69b7d4e3c07ba5d5249c45667
* | Raise a warning when using 'cloud' in configGhe Rivero2015-06-041-0/+6
| | | | | | | | | | | | | | The former use of 'cloud' in the config file, was changed in favor of 'profile' to avoid confusions. Change-Id: Iba08746a06ebb397ee1d0f59d5cda41db2b86053
* | Add cloud vendor files config in docGhe Rivero2015-06-041-2/+4
|/ | | | | | | Although it is possible to include specific config files for unknown vendors, this wasn't specified in the documentation. Change-Id: Ib27277d480e373a8a083e820161e0bdb985de284
* Provide a helper method to get requests ssl values1.3.0Monty Taylor2015-06-032-0/+42
| | | | | | | | | | | | | | There is a weird logic around the interaction between how the openstack things all accept cacert and verify/insecure parameters and how requests wants them. Rather than spreading the parameter combining logic across the universe, put it here. Note that this inverts the usual requests logic in that !verify will override the presence of a cacert value and cause verification to NOT occur. This is intended to become the normal mode of operation for OpenStack clients. Change-Id: I3c76d9a10e6e5d60a593ceefc87dafdc6857d9c6
* Add more defaults to our defaults fileMonty Taylor2015-06-021-0/+7
| | | | | | It's easier logic when we have default values for things. Change-Id: I2d66dcee68ea95371609640677fd41cca4b0a7cf
* Change naming in vendor doc to match vendors.pyMonty Taylor2015-05-301-8/+8
| | | | Change-Id: I90da039d8b0551b80ec34975480e650885f59d3a
* Add auro to list of known vendorsMonty Taylor2015-05-302-0/+28
| | | | Change-Id: I48d6cffdcc16bdbf4912da775fb29876007fe8db
* Add list of image params needed to disable agentsMonty Taylor2015-05-303-0/+8
| | | | | | | | | | Some clouds have an in-instance agent to handle things like online password resets and other such activities. When building and uploading images, it's often advantageous to not install such an agent and instead handle such things via config management... but doing so requires data to be set on the image itself. Change-Id: I5b7c9d72fd2d49890bc466d7dd22a3cb9595f670
* Add set_one_cloud method1.2.0Gregory Haynes2015-05-282-0/+68
| | | | | | | | It is useful for clients to be able to update configuration as well. By doing this in shade we can perform things like merging and do some testing rather than require clients to do it. Change-Id: Ia185847c29c10f2cc6838adf962defd80894d0db
* Merge "Add flag to indicate handling of security groups"Jenkins2015-05-283-0/+8
|\