summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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 "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
* | | | | | Merge "Create message variables for exceptions"Jenkins2014-08-243-10/+15
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Create message variables for exceptionsSteve Martinelli2014-08-243-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of inline messages, let's create variables instead, as it's easier to find strings, and mark them for translation. Change-Id: Ibbcfdbc59d12a0cb4af50f73043d3ff7f3c76f99
* | | | | Merge "add tests for identity v3 endpoint"Jenkins2014-08-233-5/+602
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | add tests for identity v3 endpointwanghong2014-08-143-5/+602
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1479460473656ea4e2a48a976808371e840b49c1 Closes-Bug: #1348867
* | | | | Merge "add tests for identity v3 domain"Jenkins2014-08-223-5/+423
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | add tests for identity v3 domainwanghong2014-08-143-5/+423
| | | | | | | | | | | | | | | | | | | | Change-Id: I478215f62b51e6e73283f0304ea1b0736177d1b1
* | | | | a mistake in tests/identity/v3/test_role.pywanghong2014-08-121-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Change test_service_show to test_role_show. Change-Id: Ieef7fdeb9401b4dc28720c9ba14bf460ac171288
* | | | Add commands for object upload and deleteSteve Martinelli2014-08-082-0/+109
|/ / / | | | | | | | | | | | | | | | | | | | | | Add commands to upload an object to a container, and to delete an object from a container. Change-Id: I37c02315495bba5abe612733d1109a3d4ce256a1 implements: bp swift-client
* | | Merge "test_find_resource fails if run alone"Jenkins2014-08-071-0/+1
|\ \ \
| * | | test_find_resource fails if run alonewanghong2014-08-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we set 'NAME_ATTR' attribute for Volume and Snapshot class in volume.client.py. When we test test_find_resource alone, the Volume and Snapshot class do not have 'NAME_ATTR' attribute since we do not import volume.client, which causes the tests to fail. Change-Id: I06f727ffa8d37afe1a1191c36574887fecc7a733 Closes-Bug: #1353788
* | | | Merge "Add container create and delete support"Jenkins2014-08-073-3/+105
|\ \ \ \
| * | | | Add container create and delete supportSteve Martinelli2014-08-033-3/+105
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add basic container create and delete support to OSC. Change-Id: Ia104db9d7e580d33097ea33a5690998f817995d1 implements: bp swift-client
* | | | Merge "user create v2.0 depends on tenantId in response"Jenkins2014-08-071-3/+4
|\ \ \ \
| * | | | user create v2.0 depends on tenantId in responseSteve Martinelli2014-08-041-3/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | User create for v2.0 no longer always contains a tenantId in the response. Add a guard to check for tenantId first before pop'ing it. Change-Id: I428dbc26520bb86efad33768ce04f584217ad168 Closes-Bug: #1352119
* | | | v3 endpoint set shouldn't always need service optionwanghong2014-08-041-2/+6
|/ / / | | | | | | | | | | | | Change-Id: I71aab1ee4f467dc963e7afa7fc1c82b4255ea822 Closes-Bug: #1351121
* | | fix typo in identity/v3/endpoint.pywanghong2014-07-291-4/+4
| | | | | | | | | | | | Change-Id: Idf57a6a988f5c0f20f3b0b19ab896642ce10d70b
* | | Merge "More make_client() logging cleanup"Jenkins2014-07-262-2/+2
|\ \ \
| * | | More make_client() logging cleanupDean Troyer2014-07-262-2/+2
| | | | | | | | | | | | | | | | Change-Id: I5af4b9c52c69d6e31e6ca5f90d5880c097880a71
* | | | Merge "Add more columns to image list output"Jenkins2014-07-264-2/+112
|\ \ \ \ | |/ / / |/| | |
| * | | Add more columns to image list outputSteve Martinelli2014-07-254-2/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add disk_format, container_format, size and status to image list command. Added tests as well. Change-Id: I8e3822c6d46d0020fc706955c026549f6c635587 Closes-Bug: #1348475
* | | | Merge "Change V2 image tests to actually run V2 image code"Jenkins2014-07-252-2/+2
|\ \ \ \
| * | | | Change V2 image tests to actually run V2 image codeSteve Martinelli2014-07-252-2/+2
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current tests for image do not run v2 image code, changing that portion also made it's only test fail. I opted to change the image delete code and not the test, since passing the object ID is more in line with the rest of the project code. Change-Id: I62e13c063a5d68279dbbf31e59266db6285d73bf
* | | | Merge "Normalize more help strings"Jenkins2014-07-249-53/+58
|\ \ \ \
| * | | | Normalize more help stringsDean Troyer2014-07-249-53/+58
| | | | | | | | | | | | | | | | | | | | Change-Id: I2b21bc904e35c1cc50da369d148e607fe3e8cf90
* | | | | Merge "Change object API_NAME to 'object_store'"Jenkins2014-07-241-2/+3
|\ \ \ \ \
| * | | | | Change object API_NAME to 'object_store'Steve Martinelli2014-07-171-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the API_NAME was 'object-store' which caused all sorts of failures when running swift commands Change-Id: I448ca10f7d173024313722246e63cf23fd71117c Closes-Bug: #1343658