summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add low-level API base classDean Troyer2014-09-294-0/+711
| | | | | | | | | | | | | | | | | | | | Adds the foundation of a low-level REST API client. This is the final prep stage in the conversion of the object-store commands from the old restapi interface to the keystoneclient.session-based API. * api.api.BaseAPI holds the common operations Change-Id: I8fba980e3eb2d787344f766507a9d0dae49dcadf
* | Test top-to-bottom: object-store containersDean Troyer2014-09-293-8/+352
|/ | | | | | | | | | Replicate the object-store container command tests but use requests_mock to test the entire stack down to the requests module. These will be useful regressions tests when the existing object-store lib modules are moved to the low-level API object. Change-Id: Ibf25be46156eb1009f1b66f02f2073d3913b846d
* Merge "utils.find_resource does not catch right exception"Jenkins2014-09-281-2/+9
|\
| * utils.find_resource does not catch right exceptionwanghong2014-09-241-2/+9
| | | | | | | | | | | | | | | | | | Currently, utils.find_resource catch NotFound exception defined in openstackclient. However, different client libraries raise different exceptions defined in thire own library. Change-Id: Idc40428e30e59f71dbdbfa0555c0066fddc441c2 Closes-Bug: #1371924
* | Remove unused reference to keyringSteve Martinelli2014-09-231-2/+0
| | | | | | | | | | | | There's a unnecessary reference that is not being used. Change-Id: I5ac85d2331385e4a31970b63fd17e650f82046ca
* | v3 credential set always needs --user optionwanghong2014-09-231-4/+5
|/ | | | | Change-Id: Ieca76bb6ee2f328f4e33010623c25eb9c18e6952 Closes-Bug: #1372744
* Use oslo.utilsOleksii Chuprykov2014-09-226-881/+2
| | | | | | | | Module `importutils` from common code was graduated to oslo.utils, so it would be great if we reuse this library. Remove unused strutils.py and gettextutils.py Change-Id: Iaae19fc5018d83103e5f15ff76d6da686bfdf5f8
* Merge "Fixing typo and improving docstring of find_domain"Jenkins2014-09-221-5/+5
|\
| * Fixing typo and improving docstring of find_domainVictor Silva2014-09-191-5/+5
| | | | | | | | | | | | | | | | | | This should make it easier to understand the purpose of find_domain - I believe the reason for which find_resource wasn't enough was not quite clear. Change-Id: I6a1cdfa86f52401d95c6da2cd38d7c95a140b4a1
* | Change help text for image save commandSteve Martinelli2014-09-212-2/+2
|/ | | | | Change-Id: Ib2aecb68ffa06f9ac831131944c98c49cf99c75a Closes-Bug: #1372070
* Merge "Add service catalog commands"Jenkins2014-09-192-0/+205
|\
| * Add service catalog commandsDean Troyer2014-09-182-0/+205
| | | | | | | | | | | | | | | | 'catalog list' and 'catalog show' for Identity v2 Identity v2 only so far. Change-Id: I9df0dac3d5bb7c18f38a81bd7d29f8119462d3a5
* | Merge "Return current user/project for user/project show commands"Jenkins2014-09-182-17/+53
|\ \
| * | Return current user/project for user/project show commandsDean Troyer2014-09-142-17/+53
| |/ | | | | | | | | | | | | | | If non-admin user attempts 'project show' or 'user show' on the currently authenticated project or user return the information that is already in the service catalog rather than throwing a Forbidden error. Change-Id: Ieeb6eacf71a471e410fbd3c09e7871740547e890
* | Merge "Add network extension list"Jenkins2014-09-183-15/+126
|\ \
| * | Add network extension listTerry Howe2014-07-263-15/+126
| | | | | | | | | | | | | | | | | | | | | Network extension list support Change-Id: I013f68ef2c3329c8db59e2441dd8d4ffafd4470e Closes-Bug: #1337685
* | | Merge "Multiple args for object and container commands"Jenkins2014-09-182-34/+57
|\ \ \
| * | | Multiple args for object and container commandsTerry Howe2014-09-062-34/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Have object and container create and delete handle multiple arguments. Change-Id: I389358c13ac2d99655ca26e784e3d299286c0af3
* | | | Merge "Add support for 'file' format objects"Jenkins2014-09-181-0/+4
|\ \ \ \
| * | | | Add support for 'file' format objectsSteve Martinelli2014-09-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some objects can be saved as 'dirname/filename' which causes the existing support to fail. The correct behaviour should be to create the directories needed. Change-Id: I71c61bc3b0f76a3e6d2703bd45508f9d6483546e
* | | | | Merge "Add preliminary save container support"Jenkins2014-09-182-0/+43
|\ \ \ \ \ | |/ / / /
| * | | | Add preliminary save container supportSteve Martinelli2014-09-152-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save all objects from a container implements bp: swift-client Change-Id: I7f2437236574e212033e63d768929d813289ed05
* | | | | Merge "Add preliminary support for downloading objects"Jenkins2014-09-182-0/+62
|\ \ \ \ \ | |/ / / /
| * | | | Add preliminary support for downloading objectsSteve Martinelli2014-09-152-0/+62
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Added command and library to download a single object from swift Change-Id: I3dc47b414ff37b526e6f633aa83ac3aa4b5be0ae implements: bp swift-client
* | | | Merge "Use Keystone client session.Session"Jenkins2014-09-1710-742/+102
|\ \ \ \ | |/ / /
| * | | Use Keystone client session.SessionDean Troyer2014-09-0810-742/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces the restapi requests wrapper with the one from Keystone client so we can take advantage of the auth plugins. As a first step only the v2 and v3 token and password plugins are supported. This maintainis no changes to the command options or environment variables. The next steps will include reworking the other API client interfaces to fully utilize the single auth session. Blueprint: ksc-session-auth Change-Id: I47ec63291e4c3cf36c8061299a4764f60b36ab89
* | | | Merge "Network use enable/disable vs admin state up/down"Jenkins2014-09-082-16/+21
|\ \ \ \ | |/ / / |/| | |
| * | | Network use enable/disable vs admin state up/downTerry Howe2014-08-182-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | Use --enable and --disable vs --admin-state-up/--admin-state-down Change-Id: I90040b925cb537a8ba13d1dd609c51bb669cf149
* | | | Merge "Add action 'user password set' for identiy v3"Jenkins2014-09-073-3/+83
|\ \ \ \
| * | | | Add action 'user password set' for identiy v3Mouad Benchchaoui2014-09-073-3/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new action will allow a user to change their own password by either providing the new password as an argument (--password) or by being prompted to enter the new password. In both cases user will be prompted to enter their current password as required by the v3 API. Closes-Bug: #1337245 Change-Id: I5e1e0fd2b46a4502318da57f7cce2b236fb2d93d
* | | | | Merge "Unordered dicts and lists causes variable results"Jenkins2014-09-072-2/+14
|\ \ \ \ \
| * | | | | Unordered dicts and lists causes variable resultsTerry Howe2014-09-062-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unordered dict and lists causes variable results. The user may see different results and tests can fail. Might as well make this more consistent. Change-Id: I7045b40b44cbf3ee0f2ca79c6ea0d279b6d8cfe3
* | | | | | Merge "Leverage openstack.common.importutils for import_class"Jenkins2014-09-071-13/+2
|\ \ \ \ \ \
| * | | | | | Leverage openstack.common.importutils for import_classAaron Rosen2014-09-061-13/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch drops the import_utils method from common.utils and leverages it from openstack.common.importutils instead. Change-Id: If7e7383aa742afe44f750f916c0d90d747793150 Closes-bug: 1365273
* | | | | | | Merge "Sync with oslo-incubator and add importutils"Jenkins2014-09-073-43/+169
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Sync with oslo-incubator and add importutilsAaron Rosen2014-09-063-43/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From oslo-incubator commit: c4bfdb94c25b4488da61d77184d97f8784f21a11 Change-Id: I81d1113d113faa609ab7713a0e04667b11786247
* | | | | | | Merge "assertEquals order wrong"Jenkins2014-09-071-10/+10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | / / | |_|_|_|/ / |/| | | | |
| * | | | | assertEquals order wrongTerry Howe2014-09-041-10/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | Change-Id: I822b6ac5b8e8c3009d1ee2d647376eff84559c11 Partial-Bug: #1277104
* | | | | Merge "Change app.restapi to app.client_manager.session"Jenkins2014-09-0613-180/+293
|\ \ \ \ \
| * | | | | Change app.restapi to app.client_manager.sessionDean Troyer2014-08-2513-180/+293
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is step 1 toward using Keystone client's session.Session as the primary session/requests interface in OSC. * Move the session create into ClientManager and rename 'restapi' attribute to 'session' * Set up ClientManager and session loggers * Fix container and object command references to restapi/api Change-Id: I013d81520b336c7a6422cd22c05d1d65655e64f8
* | | | | Merge "add service/interface/region filter for endpoint v3"Jenkins2014-09-062-1/+123
|\ \ \ \ \
| * | | | | add service/interface/region filter for endpoint v3wanghong2014-08-182-1/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7eac5b2ff5f5a6f3f08b22dd3a48a5ae7e2c056b Closes-Bug: #1281888
* | | | | | Merge "Fix security group list for non-admin"Jenkins2014-09-061-3/+9
|\ \ \ \ \ \
| * | | | | | Fix security group list for non-adminDean Troyer2014-08-271-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-admin users couldn't list security groups due to the project lookup failure. That shouldn't stop the listing. Change-Id: I27f6ff4975b35d1de1c852c8d4e830b83c7dec75
* | | | | | | Merge "Fix server add security group"Jenkins2014-09-061-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Fix server add security groupDean Troyer2014-08-271-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The group resource was being passed when only the name is needed. Change-Id: Ia303804be4e336f9880205d931467cb831e812de
* | | | | | | Merge "Make Identity client load like the others"Jenkins2014-09-062-36/+40
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | |
| * | | | | | Make Identity client load like the othersDean Troyer2014-08-282-36/+40
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does a couple of things: * Loads the Identity client module in the same manner as the other 'base' clients (where 'base' == 'included in the OSC repo') * Changes the entry point group name for the base clients to 'openstack.cli.base'. The extension group name remains the same. * Loads the base modules first followed by the extension modules. This load order ensures that the extension module commands are all loaded _after_ the base commands, allowing extensions to now override the base commands. Change-Id: I4b9ca7f1df6eb8bbe8e3f663f3065c2ed80ce20b
* | | | | | Merge "Add i18n module to openstackclient"Jenkins2014-08-241-0/+31
|\ \ \ \ \ \
| * | | | | | Add i18n module to openstackclientSteve Martinelli2014-08-241-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the information available at: http://docs.openstack.org/developer/oslo.i18n/usage.html implements bp i18n Change-Id: Ie44f95dcbf192736991f88d92773f0dc2e20fa64