summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Remove keyring support from openstackclient"Jenkins2014-07-042-103/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove keyring support from openstackclientAlex Gaynor2014-07-042-103/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The encryption it purports to offer is completely insecure. * It also appears to be broken. Closes-Bug: #1319381 Change-Id: Id15ecfbbfd15f142b14c125bfd85afd5032699ac
* | | | Merge "trust authentication"Jenkins2014-07-044-17/+80
|\ \ \ \ | |_|/ / |/| | |
| * | | trust authenticationMatthieu Huin2014-07-034-17/+80
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This patch enables authenticating by using a trust. The trust ID must be set with the parameter --os-trust-id or the env variable OS_TRUST_ID. Trusts are available for the identity v3 API. Co-Authored-By: Florent Flament <florent.flament@cloudwatt.com> Change-Id: Iacc389b203bbadda53ca31a7f5a9b8b6e1a1f522
* | | Merge "Python 3: do not use __builtin__"Jenkins2014-07-031-1/+1
|\ \ \ | |_|/ |/| |
| * | Python 3: do not use __builtin__Cyril Roelandt2014-07-031-1/+1
| |/ | | | | | | | | | | Use six.moves.builtins instead, this works with both Python 2 and 3. Change-Id: I57e7257d4f06c805f26383e0778ad104d50ea139
* | Remove backslash usage from a few testsSteve Martinelli2014-07-022-27/+12
|/ | | | | | | Noticed these in the code, figured we should stick to not using backslashes if possible. Change-Id: I55e5402683141e14df7c2b38883b1f3cc2a6bb6a
* Merge "Fix PEP8 E126 and E202 errors"Jenkins2014-06-273-328/+368
|\
| * Fix PEP8 E126 and E202 errorsDean Troyer2014-06-273-328/+368
| | | | | | | | | | | | | | Do both as they are all in the same set of files that required major re-formatting. Change-Id: I6e8a8ce19a55105124a33c0e2487fc4b4e06d252
* | Merge "Fix PEP8 E265 errors"Jenkins2014-06-275-18/+3
|\ \ | |/
| * Fix PEP8 E265 errorsDean Troyer2014-06-275-18/+3
| | | | | | | | Change-Id: Ieb9a9af1da27d3935d1a4d3cfb61b0ccb03d099a
* | Merge "Fix PEP8 H405 errors"Jenkins2014-06-274-12/+22
|\ \ | |/
| * Fix PEP8 H405 errorsDean Troyer2014-06-274-12/+22
| | | | | | | | Change-Id: Id9ea03e7d88148f84bffe1b18b5b4315e6123012
* | Merge "Rename token classes to match command"Jenkins2014-06-274-27/+30
|\ \
| * | Rename token classes to match commandDean Troyer2014-06-274-27/+30
| |/ | | | | | | | | | | | | The token create/delete commands were renamed but not the class names. Rename them to match. Change-Id: Icbf9c0a954ed0332fa4c99e4ee2612bb11f89e3a
* | Fixed typos in the identity clientAlex Gaynor2014-06-261-2/+2
|/ | | | Change-Id: I76042110f5a008d4c097862a572448448f92a504
* Network CRUDTerry Howe2014-06-2412-2/+731
| | | | | | | bp/neutron https://wiki.openstack.org/wiki/OpenStackClient/Commands#Network_2 Change-Id: I89ee083154afa544b03587e84becace36d9d522a
* sync oslo bitsSteve Martinelli2014-06-204-249/+155
| | | | | | | | | update gettextutils.py, strutils.py, install_venv_common.py remove iniparsers.py oslo-incubator commit 1223cf Change-Id: I23923d580f57ab6c12622f10d9f278c44c863feb
* Complete Identity v3 list command filtersDean Troyer2014-06-194-30/+362
| | | | | | | Complete the 'group list' and 'user list' filter options following the refactor in https://review.openstack.org/69878 Change-Id: Ib4af417c56d4f7da4b88852f191af615cc7fa2ec
* Merge "Refactor role list subcommand for identity v3 api"Jenkins2014-06-195-333/+302
|\
| * Refactor role list subcommand for identity v3 apiQiu Yu2014-06-135-333/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently parts of user list and group list command are actually functioning as role listing, which is quite counter intuitive and misleading. This refactor change move role related logic to a single place of role list command. It now allows role grants listing for user/group + domain/project combinations. If no user or group specified, it will list all roles in the system, which is the default behaviour. Change-Id: I4ced6df4b76f018d01000d28b4281ad9f252ffcc
* | Merge "Change the token verb to issue/revoke"Jenkins2014-06-182-3/+3
|\ \
| * | Change the token verb to issue/revokeTerry Howe2014-06-182-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the token verb to issue/revoke as documented in: https://wiki.openstack.org/wiki/OpenStackClient/Commands#token https://wiki.openstack.org/wiki/OpenStackClient/Commands#Actions Change-Id: I44f77f98ad3269c4f2149301c204804dcb75ac81
* | | Merge "Add token delete command for identity v2"Jenkins2014-06-183-0/+45
|\ \ \ | |/ /
| * | Add token delete command for identity v2Terry Howe2014-05-233-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | Identity v2 has undocumented support for token delete and keystoneclient also has support. Change-Id: Ib98d17958ceb88f7b63471691dee71fdb884ce2e Closes-Bug: #1318442
* | | Fix find_resource for keystone and cinderTerry Howe2014-06-174-15/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The find_resource method had two hacks in in to support cinder and keystone and I have removed those in favor of a monkey patch for cinder. The find_resource method used to attempt to UUID parse the id, but it would do a manager.get anyway. I changed it to skip the UUID parsing. This will make things run minorly faster and it supports LDAP for keystone. The find_resource used to attempt to use display_name=name_or_id when finding. This was a hack for cinder support, but it breaks keystone because keystone totally messes up with the bogus filter and keystone refuses to fix it. Change-Id: I66e45a6341f704900f1d5321a0e70eac3d051665 Closes-Bug: #1306699
* | | Image create and set command updates and testsDean Troyer2014-06-163-182/+569
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor image create and set commands to properly handle properties. This is particularly tricky with exclusive booleans as in this case leaving both choices off the command line should NOT assume a default value but leave the existing value unchanged. Properties were not being updated correctly in the 'image set' command. Refactor it to use the same pattern as in other SetXxx commands. Add tests for arg handling. Change-Id: I123a64c9b4feecab25a3e2013cc047f55b1c9967
* | | Merge "Refactor oauth1 code for updates"Jenkins2014-06-175-141/+451
|\ \ \
| * | | Refactor oauth1 code for updatesSteve Martinelli2014-06-145-141/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The keystoneclient code for oauth1 support has changed. As such, we should remove the delete, list and authenticate functions, since they are not in keystoneclient. Also, we must now pass in the project id when creating a request token. Additionally we must now pass in roles when authorizing a request token. Added functional tests to ensure output and input args are the same. bp add-oauth-support Change-Id: I559c18a73ad95a0c8b7a6a95f463b78334186f61
* | | | Merge "Clean up logging levels"Jenkins2014-06-162-10/+44
|\ \ \ \ | |/ / / |/| | |
| * | | Clean up logging levelsDean Troyer2014-06-132-10/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following logging levels are set according to the combination of --verbose, --quiet and --debug options: verbose_level logging level options 0 --quiet ERROR 1 (none) WARNING 2 --verbose INFO 3+ --verbose --verbose DEBUG or --debug Logging levels for the requests and iso8601 modules are forced to ERROR. This is the first step in bp use-logging-not-print The difference between '--debug' and '--verbose --verbose' is --debug triggers cliff's exception handling and traceback display. Change-Id: Ide2233b3316471d279260fb1e7255a6ca2072023
* | | | Merge "Ignore most of the new hacking 0.9.2 rules"Jenkins2014-06-142-3/+4
|\ \ \ \
| * | | | Ignore most of the new hacking 0.9.2 rulesDean Troyer2014-06-132-3/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | So we can update requriements.txt. But fix a couple of easy ones: * Fix E251 (1 occurrance) * Fix E131 (1 occurrance) Change-Id: I62aaa423aa6da9e9f0ca026ec586b51cc6a6df03
* | | | Merge "Add support for extension list"Jenkins2014-06-145-0/+271
|\ \ \ \ | |/ / / |/| | |
| * | | Add support for extension listMatt Fischer2014-06-115-0/+271
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support in the common section for extension list. This only supports Identity for now. Once the APIs for volume and compute are supported in the respective APIs, they will be added. Once network is added to this client, it will be added (the API already supports it). - Include extension fakes for volume and compute for pre-enablement. Change-Id: Iebb0156a779887d2ab06488a2a27b70b56369376 Closes-Bug: #1319115
* | | Merge "Add role assignments list support to identity v3"Jenkins2014-06-133-0/+571
|\ \ \ | |/ / |/| |
| * | Add role assignments list support to identity v3henriquetruta2014-05-303-0/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The assignments manager and its test class were created. Some fake stubs were also added on the fakes.py module. The "openstack role assignment list" command was created. Change-Id: Iae94f4fee608ea3e09ff38961ad22edc38efb89c Implements: blueprint roles-assignment-list Closes-Bug: 1246310
* | | Merge "Add tests for identity endpoints"Jenkins2014-06-102-0/+288
|\ \ \
| * | | Add tests for identity endpointsMatt Fischer2014-05-152-0/+288
| | | | | | | | | | | | | | | | | | | | Change-Id: If15cc74fafbbe52fa86aa353f2598aa31daf0695 Closes-Bug: #1319450
* | | | Merge "replace string format arguments with function parameters"Jenkins2014-06-1048-214/+215
|\ \ \ \ | |_|/ / |/| | |
| * | | replace string format arguments with function parametersChristian Berendt2014-05-2048-214/+215
| | |/ | |/| | | | | | | | | | | | | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* | | Merge "Fixed several typos throughout the codebase"Jenkins2014-05-283-3/+3
|\ \ \
| * | | Fixed several typos throughout the codebaseAlex Gaynor2014-05-213-3/+3
| |/ / | | | | | | | | | Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
* | | Merge "Fix server image create"Jenkins2014-05-282-9/+5
|\ \ \ | |/ / |/| |
| * | Fix server image createDean Troyer2014-05-082-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | The final find_resource() call errored because servers.create_image() returns an image ID rather than an Image resource. Reset expectations and arguments. Change-Id: I1b9132f66091f9df76198724156acb7a6fb2f6fe
* | | Change volume create --volume-type to --typeDean Troyer2014-05-153-18/+158
| |/ |/| | | | | | | | | | | This makes it consistent with the other --type options in OSC. Also add a few more volume_create tests. Change-Id: I50ef927932cabf157ecdfd6c4faa1914b4fdf413
* | Merge "Implement CRUD operations for Identity Providers"Jenkins2014-05-093-0/+575
|\ \
| * | Implement CRUD operations for Identity ProvidersMarek Denis2014-04-243-0/+575
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Operations for: * adding Identity Provider * listing Identity Providers * showing Identity Provider * updating Identity Provider * deleting Identity Provider Change-Id: I4557168309f93e4670116b5c3c0e29252ff0c40f Implements: bp/add-openstackclient-federation-crud
* | | Merge "Fix help message for `ip floating delete`"Jenkins2014-05-071-1/+1
|\ \ \
| * | | Fix help message for `ip floating delete`Yejia Xu2014-05-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the help message incorrectly had the string "IP address to add to server". This should probably read "IP address to delete". Change-Id: If592b736448199f84c30e0cbc8110a0a76e2c140 Closes-Bug: #1316877