summaryrefslogtreecommitdiff
path: root/openstackclient/compute
Commit message (Collapse)AuthorAgeFilesLines
* Ignore most of the new hacking 0.9.2 rulesDean Troyer2014-06-131-1/+1
| | | | | | | | 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 "replace string format arguments with function parameters"Jenkins2014-06-1015-74/+74
|\
| * replace string format arguments with function parametersChristian Berendt2014-05-2015-74/+74
| | | | | | | | | | | | | | | | There are files containing string format arguments inside logging messages. Using logging function parameters should be preferred. Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
* | Merge "Fix server image create"Jenkins2014-05-281-4/+4
|\ \ | |/ |/|
| * Fix server image createDean Troyer2014-05-081-4/+4
| | | | | | | | | | | | | | | | 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
* | 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
* | Display all server log when --lines option is NoneYejia Xu2014-05-071-3/+7
|/ | | | | | | | Without --lines option, `console log show xxx` cmd will break. Change-Id: I4027aacac245e6916c1808fd9f878fb708c8a5f0 Closes-Bug: #1316870
* Merge "In anticipation of network agents, rename compute"Jenkins2014-04-171-4/+4
|\
| * In anticipation of network agents, rename computeTerry Howe2014-02-271-4/+4
| | | | | | | | | | | | | | Rename the compute agents in anticipation of network agents Change-Id: I201121915638d89dfbe46a7e0026aa4c2777e590 Closes-Bug: #1285800
* | Fix 'keypair show' command outputDean Troyer2014-03-071-1/+1
| | | | | | | | | | | | | | | | The attempt to get the data dict out of the keypair resource object uses a key 'keypair. This is incorrect, no key is required. Closes-Bug: 1289594 Change-Id: I7887119c1d800d389cb6f63ea7847bea1e25bb52
* | Merge "Fix format errors in nova security group rule list"Jenkins2014-02-281-7/+15
|\ \ | |/ |/|
| * Fix format errors in nova security group rule listTerry Howe2014-02-201-7/+15
| | | | | | | | | | | | | | | | | | | | * port range was throwing exception for None to/from ports * ip_range didn't always have cidr causing error * ip_protocol None at times and looked bad Closes-Bug #1256935 Change-Id: I451a0f038a3e9646bca3f278c5d6f6d7e3097a83
* | Fix some help stringsAndreas Jaeger2014-02-213-14/+14
|/ | | | | | | | | | This fixes some errors and inconsistencies I found reviewing the help strings: * Capitalize help strings * Add missing space between words (in multi-line strings) * Improve wording Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
* Merge "Remove copyright from empty files"Jenkins2014-01-232-28/+0
|\
| * Remove copyright from empty filesAlexander Ignatov2014-01-202-28/+0
| | | | | | | | | | | | | | | | | | According to policy change in HACKING: http://docs.openstack.org/developer/hacking/#openstack-licensing empty files should no longer contain copyright notices. Change-Id: Iba09a00f24dfbd1cd03c1c9f70ea216788e64d93 Closes-Bug: #1262424
* | Merge "Remove remaining print statements"Jenkins2014-01-231-2/+5
|\ \ | |/ |/|
| * Remove remaining print statementsDean Troyer2014-01-221-2/+5
| | | | | | | | | | | | I think these are the last two stragglers, including debugging lines Change-Id: Ic3dd98480211d0f7d3cc951bec5cd54f902a101f
* | Displaying curl commands for nova and cinder callsFlorent Flament2014-01-021-1/+6
|/ | | | | | | | | | | | When using the -v option, displays curl equivalent commands and http messages exchanged with the nova and cinder API servers. Displays the same messages as those displayed with the --debug option of python-novaclient and python-cinderclient. Implements: blueprint curl-commands-in-debugging-messages for nova and cinder related calls Change-Id: Ibc8ef79d874334585b81d652b9c7df9e874fffa9
* Expand support for command extensionsDean Troyer2013-11-211-0/+16
| | | | | | | | | | | | 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
* Add server image create commandDean Troyer2013-11-181-0/+67
| | | | | | Translation of 'nova image-create', with tests! Change-Id: I8a833aeff6f291e4774063ed235876eb2ba9c13c
* Add options to support TLS certificate verificationDean Troyer2013-10-071-2/+2
| | | | | | | | | | 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
* Merge "Remove tenant round 3 - other commands"0.2.alpha1Jenkins2013-07-312-5/+24
|\
| * Remove tenant round 3 - other commandsDean Troyer2013-07-312-5/+24
| | | | | | | | | | | | | | Mostly options and help strings: * image, server, project usage, volume Change-Id: I788b0660f8c2daacde53c20a72dd1afc60cf5159
* | Merge "Remove tenant round 1 - global options"Jenkins2013-07-311-1/+1
|\ \ | |/
| * Remove tenant round 1 - global optionsDean Troyer2013-07-311-1/+1
| | | | | | | | | | | | | | | | | | 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
* | Merge "Add security group commands"Jenkins2013-07-312-0/+467
|\ \ | |/ |/|
| * Add security group commandsDean Troyer2013-07-292-0/+467
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-317-18/+22
|\ \
| * | Begin Python 3 compatabilityDean Troyer2013-07-297-18/+22
| |/ | | | | | | | | | | | | | | | | | | | | * 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-291-64/+115
| | | | | | | | | | | | * 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
* Add server migrate commandDean Troyer2013-07-291-0/+92
| | | | | | | | | Blueprint: nova-client Note: I've tested that the API calls are made correctly but do not have an environment with migration proerly enabled to watch it complete... Change-Id: Ideaf0985d43aa2be22390cf0d2850124c549632d
* Add server commands: (un)lock, (un)rescue, (un)set, add/remove volumeDean Troyer2013-07-291-26/+317
| | | | | | | | | * server lock/unlock, rescue/unrescue, set/unset * add/remove volume Blueprint: nova-client Change-Id: I3709ecdb297ab15ad44df09d89af840164271a66
* Merge "Add usage command for compute api"Jenkins2013-07-261-0/+91
|\
| * Add usage command for compute apiSteve Martinelli2013-07-261-0/+91
| | | | | | | | | | | | | | As per the blueprint: nova-client, adding usage command for compute Change-Id: Ib694b0b1ebf56b2a62b6f09c67ffaa6959911605
* | Merge "Fix --password in server rebuild"Jenkins2013-07-261-2/+2
|\ \ | |/ |/|
| * Fix --password in server rebuildDean Troyer2013-07-221-2/+2
| | | | | | | | | | | | | | | | Use correct attribute to get password in server rebuild command. Fixes bug 1190722 Change-Id: Ibe2ccb8840a385319781885b8aadca6e1ba4cc43
* | Add server diagnose for compute apiSteve Martinelli2013-07-231-3/+15
| | | | | | | | | | | | Add server diagnose for compute api as per blueprint: nova-client Change-Id: I0a2c13e36e1e13f61ef4ba00ec146634f9644648
* | Merge "Clean up properties (metadata) formatting"Jenkins2013-07-231-19/+57
|\ \ | |/ |/|
| * Clean up properties (metadata) formattingDean Troyer2013-07-211-19/+57
| | | | | | | | | | | | | | | | | | | | * Reformat default dict output to key='value' using utils.format_dict() * Changes utils.get_item_properties() to pass the specific field to the formatter function rather than the entire resource object, this allows the formatter to handle multiple attributes. * Updates server, volume, volume type commands Change-Id: I90eebf6b84ae200532f09cd925f371598ea54a64
* | Merge "Add aggregate commands"Jenkins2013-07-191-0/+322
|\ \ | |/ |/|
| * Add aggregate commandsDean Troyer2013-07-191-0/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add aggregate: add host, create, delete, list, remove host, set, show * Add list --long option * Filter 'availability_zone' from the metadata fields * Rename 'metadata' column to 'properties' in all output Bug: 1172032 Blueprint: nova-client Change-Id: Icd408c2b34af07f5102f53d3778d8546952a12c5
* | Remove api = apiName calls from each methodSteve Martinelli2013-07-1211-37/+0
|/ | | | | | | | | | | As discussed in https://review.openstack.org/#/c/36352/ for each command, we were setting api = identity or volume... etc, this was for an old way of calling commands that are is no longer used. Also removed openstackclient/common/command.py Change-Id: I2705f35d343f2ae729dc22d6aed0b852b2f8ca19
* Remove python3 incompatible exception syntax.Monty Taylor2013-06-301-2/+2
| | | | Change-Id: I5f0687a83362ceebf03bae4a0a5b109aad7e5200
* Fix flake8 errors in anticipation of flake8 patch.Monty Taylor2013-05-141-1/+1
| | | | Change-Id: Ifdc4322b699f2bd91a6900e55695acd3d736568e
* Rename all instances of 'metadata' to 'property'.Josh Kearney2013-05-071-3/+3
| | | | Change-Id: I454cbe685dc5afa0a09ecc976a90d6eb6bc57d14
* Add console commandsDean Troyer2013-04-251-0/+123
| | | | | | | | | | Adds: * console-log * console-url Part of blueprint nova-client Change-Id: Ibea7f96382283770988d05379d41a148f8cd8c4f
* Merge "Add compute keypair commands"Jenkins2013-04-251-0/+160
|\
| * Add compute keypair commandsDean Troyer2013-04-121-0/+160
| | | | | | | | | | | | | | | | Add create, delete, list, show keypair commands Part of blueprint nova-client Change-Id: Ieba00d3b3e3a326f875c01ac2a2b9bbd036cd7c9