summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Bring RESTApi closer to ithe imminent keystoneclient.Session"Jenkins2013-12-067-230/+427
|\
| * Bring RESTApi closer to ithe imminent keystoneclient.SessionDean Troyer2013-12-037-230/+427
| | | | | | | | | | | | | | Prepare to use the (soon to be) common Session from keystoneclient * Rework RESTApi to eventually be a subclass of keystoneclient.Session Change-Id: I68e610f8b19a3f6267a93f7bf3de54a228be68aa
* | Merge "Add module list command"Jenkins2013-12-053-0/+154
|\ \
| * | Add module list commandDean Troyer2013-12-033-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | Lists versions of installed python modules (Origianlly proposed as 'version list') Change-Id: I76a51d3d6783f46ef2daa0a41626019a880a2a50
* | | Update OSC's CommandManager subclassDean Troyer2013-12-032-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cliff.commandmanager.CommandManager gained an option, update openstackclient.common.commandmanager.ComamndManager to match. Also add CommandManager.get_command_groups() to return a list of the currently loaded command groups. I expect this to be useful in upcoming client diagnostic commands for plugins/extensions. If these turn out to be generally useful we'll propose them to upstream cliff. Change-Id: Ic15a7ca0ef975ca679e753be861be7c628b8e10c
* | | Add return Closes-Bug: 1246356Terry Howe2013-11-271-1/+1
| |/ |/| | | | | Change-Id: I70999a91062b9c61e5f420b1ed33a45086b62fd4
* | Restore Object API name 'object-store'Dean Troyer2013-11-256-10/+22
| | | | | | | | | | | | It's used in the service catalog, doh! Change-Id: If8f6db49c84756fd8e58cc68910160da4cd99b5d
* | Expand support for command extensionsDean Troyer2013-11-2113-118/+165
|/ | | | | | | | | | | | Allows client libraries to have complete access to the rest of the OSC ClientManager. In addition, extension libraries can define global options (for API version options/env vars) and define versioned API entry points similar to the in-repo commands. The changes to ClientManager exposed some issues in the existing object api tests that needed to be cleaned up. Change-Id: Ic9662edf34c5dd130a2f1a69d2454adefc1f8a95
* Merge "Add server image create command"Jenkins2013-11-204-8/+168
|\
| * Add server image create commandDean Troyer2013-11-184-8/+168
| | | | | | | | | | | | Translation of 'nova image-create', with tests! Change-Id: I8a833aeff6f291e4774063ed235876eb2ba9c13c
* | Merge "Complete basic test infrastructure"Jenkins2013-11-2029-438/+652
|\ \ | |/
| * Complete basic test infrastructureDean Troyer2013-11-1829-438/+652
| | | | | | | | | | | | | | This finally gets all of the API tests into a common framework regarding test classes and so forth. Change-Id: If675347129c50dcba0bfc5b6c58f5a2ca57ff46c
* | Merge "change execute to run"Jenkins2013-11-191-5/+19
|\ \
| * | change execute to runTerry Howe2013-11-161-5/+19
| | | | | | | | | | | | Change-Id: I23a210c8771c206df14d2713a2e72ccd92402c43
* | | Fix typoNoorul Islam K M2013-11-191-1/+1
| |/ |/| | | | | Change-Id: I7bca8b76c6746121314e688e9ed3825e04350b8d
* | Do lookups for user, project in volume createDean Troyer2013-10-256-59/+383
| | | | | | | | | | | | | | | | | | This required https://review.openstack.org/26323 in keystoneclient, merged long ago... Also adds some tests for 'volume create' Change-Id: I55bededbc20b5dcf2833c59eb2b6b069703d8a9a
* | Adjust to non-deprecated names in Keyring 1.6.+Dirk Mueller2013-10-241-1/+1
|/ | | | | | | | Keyring 1.1 moved the concrete backend implementations into their own modules. As we depend on 1.6.1+, we can make use of the new name and remove the old one without deprecation-fallback. Change-Id: I0682b13fc9f488b3f3d9fd057f712909fcd48bc4
* Merge "Sync oslo-incubator for py33 fixes"Jenkins2013-10-131-46/+152
|\
| * Sync oslo-incubator for py33 fixesDean Troyer2013-10-111-46/+152
| | | | | | | | Change-Id: I261ec6bb34b29169ba3547305deab051f85a3d4d
* | Merge "Add to clientmanager tests"Jenkins2013-10-131-1/+24
|\ \
| * | Add to clientmanager testsDean Troyer2013-09-051-1/+24
| | | | | | | | | | | | Change-Id: Iea59c494f31de9c3e1d662f89e6e2babcc8fbd61
* | | Add options to support TLS certificate verificationDean Troyer2013-10-077-7/+53
| |/ |/| | | | | | | | | | | | | | | | | Add --os-cacert and --verify|--insecure options using the same sematics as the other project CLIs. --verify is included for completeness. Bug: 1236608 Change-Id: I8a116d790db5aa4cb17a2207efedce7cb229eba3
* | Add object-store show commandsDean Troyer2013-09-268-17/+366
| | | | | | | | | | | | | | * Add lib.container.show_container() and lib.object.show_object() * Add container and object show commands Change-Id: I963d664c55b59739453345f0f353aa2eaf1bf70e
* | Delay authentication to handle commands that do not require itDean Troyer2013-09-121-11/+17
| | | | | | | | | | | | | | | | | | | | * Move the auth to OpenStackShell.prepare_to_run_command() and skip it if the command's auth_required == False * Default auth_required = True for all commands * Do authentication up-front for interactive use as OpenStackShell.prepare_to_run_command() is not called Change-Id: Id330092f242af624f430d469882d15f4a22f4e37
* | Identity v3 testsDean Troyer2013-09-0913-183/+2982
| | | | | | | | | | | | | | | | | | * Add project, user, role and service v3 tests * Fix issues in commands with enable/disable * Make commands and tests more consistent between versions * Make formatting and comments more consistent Change-Id: Id21e7a5abd7e421a7742f937861ec46b53095fc7
* | Prepare for Identity v3 testsDean Troyer2013-09-0912-141/+222
|/ | | | | | | | | * Split identity/fakes.py for v2_0 and v3 * Split identity/test_identity.py for v2_0 and v3 * Fix issues in commands with enable/disable * Clean up v2 commands Change-Id: I6e536b6a130fc556dbd7dcf9f2e76d939ca1bc1c
* Add Identity v2 role and service testsDean Troyer2013-09-046-24/+724
| | | | | | | | | * Add current auth info (auth_ref) to ClientManager * Fix identity.v2_0.role.ListUserRole to get default user/project from ClientManager.auth_ref * Fix identity.v2_0.role.AddRole call to roles.add_user_role() Change-Id: Ie8bf41c491d97b0292a2b86bdc9b7580989a7f97
* Refactor fake data for projects and usersDean Troyer2013-09-048-214/+470
| | | | | | | * Move fake data structures into tests/identity/fakes.py * Use fake clients correctly and support multiple client versions Change-Id: Icacbb2ca740b63937bd2c4442af61b620638b53e
* Object API commands using our REST API layerDean Troyer2013-08-2820-2/+1649
| | | | | | | | | | | | | * Add object-store API to ClientManager * Add object-store client * Add Object API library in openstackclient.object.v1.lib * Add Object API {container,object} list commands * Add library tests * Add command tests This should complete the Object v1 container and object list commands Change-Id: Ib1770d45efa8871959826b85faafa1e0bcef0a03
* Create a new base REST API interfaceDean Troyer2013-08-235-0/+551
| | | | | | | | | | | * restapi module provides basic REST API support * uses dicts rather than Resource classes * JSON serialization/deserialization * log requests in 'curl' format * basic API boilerplate for create/delete/list/set/show verbs * ignore H302 due to urllib import Change-Id: I3cb91e44e631ee19e9f5dea19b6bac5d599d19ce
* Merge "Re-order oauth commands and sync with keystoneclient"Jenkins2013-08-232-161/+193
|\
| * Re-order oauth commands and sync with keystoneclientSteve Martinelli2013-08-212-161/+193
| | | | | | | | | | | | | | 1) split out token and consumer 2) sync parameters with keystoneclient Change-Id: I2d529f0f9087f9939101e963af3d801497fc1171
* | Add Identity v2 user testsDean Troyer2013-08-192-28/+538
| | | | | | | | | | | | | | | | | | * implement Identity command tests for v2 user Also re-work the user create and set commands for exclusive options (--enable|--disable) to actually behave properly. Yay tests! Change-Id: Ie1ec2569b3d85a9d556ee70f2e8f69fd2a3c03c8
* | Add Identity v2 project testsDean Troyer2013-08-167-23/+528
|/ | | | | | | | | | | | * establish the the form of cliff command classes * implement some common fake objects * implement Identity command tests for v2 project * fix stdout/stderr capture Also re-work the project create and set commands for exclusive options (--enable|--disable) to actually behave properly. Yay tests! Change-Id: Icbb313db544c1f8dd3c9af7709971838b5a4d115
* Change version reporting to use pbr0.2.0Dean Troyer2013-08-022-4/+12
| | | | | | Gets rid of the hard-coded version string in shell.py Change-Id: I8b818c9a8f1224669079141e7a7caf614e588d20
* Merge "Prep for 0.2 release (0.2.rc1)"0.2.rc1Jenkins2013-08-011-1/+1
|\
| * Prep for 0.2 release (0.2.rc1)Dean Troyer2013-08-011-1/+1
| | | | | | | | | | | | | | | | * rename HACKING to HACKING.rst and refer to the common OpenStack HACKING file * add the barest of pointers to the wiki, etc. to the source docs * add a bare-bones man page Change-Id: I80e5b972af645f14ef17ae87f182ab09cb08dabe
* | Merge "Remove tenant round 3 - other commands"0.2.alpha1Jenkins2013-07-315-14/+37
|\ \
| * | Remove tenant round 3 - other commandsDean Troyer2013-07-315-14/+37
| | | | | | | | | | | | | | | | | | | | | Mostly options and help strings: * image, server, project usage, volume Change-Id: I788b0660f8c2daacde53c20a72dd1afc60cf5159
* | | Merge "Remove tenant round 2 - Identity API"Jenkins2013-07-313-110/+199
|\ \ \ | |/ /
| * | Remove tenant round 2 - Identity APIDean Troyer2013-07-313-110/+199
| | | | | | | | | | | | | | | | | | | | | Rename everything in the Identity v2 code including the file and classes. * role, tenant, user Change-Id: I0b99c60a24f5875120136d2f216aa3b6bce1c641
* | | Merge "Remove tenant round 1 - global options"Jenkins2013-07-316-39/+79
|\ \ \ | |/ /
| * | Remove tenant round 1 - global optionsDean Troyer2013-07-316-39/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | Change the global auth options to use 'project', leave the original tenant options in place but silent for compatability with the existing project CLI auth options. This is the only compatibility for tenant usage in this changeover. Change-Id: I3cce6e552f18822cc9f445ec5f301b0f5d9003f8
* | | Remove 'oauth authorization show' function from identity v3Steve Martinelli2013-07-311-24/+0
| | | | | | | | | | | | | | | | | | Remove the mentioned function since I removed it in the client. Change-Id: I45e713a1cdad92d257b895adfaa269404be6e6d8
* | | Merge "Add security group commands"Jenkins2013-07-317-2/+984
|\ \ \ | |/ / |/| |
| * | Add security group commandsDean Troyer2013-07-297-2/+984
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add security group: create, delete, list, set, show * Add server: add secgroup, remove secgroup * Add security group rule: create, delete, list * Add Oslo's strutils and gettextutils * Adds parseractions.RangeAction() to handle option arguments of either a single number or a range of numbers: '--port 25' or '--port 1024:65535' Blueprint: nova-client Change-Id: Iad2de1b273ba29197709fc4c6a1036b4ae99725f
* | | Merge "Begin Python 3 compatability"Jenkins2013-07-3127-82/+107
|\ \ \
| * | | Begin Python 3 compatabilityDean Troyer2013-07-2927-82/+107
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use six.iteritems() * replace basestring with six.string_types * convert print statements to functions (they're all debugging and should be removed eventually anyway) * clean up OpenStack copyright: LLC -> Foundation Change-Id: Icb14212bcb408e63816bfec3922a697bc1a6c946
* | | Add server ssh commandDean Troyer2013-07-291-0/+159
|/ / | | | | | | Change-Id: I9317ad6a47818d5479a046b4be8c5adbbce613ef
* | Add server resize commandDean Troyer2013-07-292-64/+148
| | | | | | | | | | | | | | | | | | | | | | | | * add server resize * update --wait handling for server create, reboot, rebuild * move _wait_for_status to utils Blueprint: nova-client Rebased after https://review.openstack.org/38162 was committed Change-Id: I7a43b996feecadc7628fcfe20cd5b17333762739