summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for new alarm-history command1.0.6Eoghan Glynn2013-10-034-14/+256
| | | | | | Expose the new alarm history API via the CLI. Change-Id: I5757d309dd7143dfab83985fb51ee6d320478e3b
* Merge "Added support to --os-cacert"Jenkins2013-10-033-12/+22
|\
| * Added support to --os-cacertStefano Zilli2013-10-013-12/+22
| | | | | | | | | | | | Closes-Bug: #1224343 Change-Id: Ib0549d4496c47900c81cc970b99bcff25cad0040
* | Merge "Updated from global requirements"OpenStack Jenkins2013-10-031-1/+1
|\ \
| * | Updated from global requirementsOpenStack Jenkins2013-10-011-1/+1
| |/ | | | | | | Change-Id: I71d6d8aad148b240f8ab1325d3c3ff2996ebf642
* | Merge "Use standard CLI object-verb ordering for alarm-{g|s}set-state"Jenkins2013-10-032-4/+4
|\ \
| * | Use standard CLI object-verb ordering for alarm-{g|s}set-stateEoghan Glynn2013-10-022-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The openstack CLIs all use an object-followed-by-verb ordering convention when construct command names. Follow a similar convention for commands to get and set alarm state. Change-Id: I34e0f450019556c80476df782d4c86dca08bdc9d
* | | Merge "Fix shell.do_alarm_get_state to get as opposed to set"Jenkins2013-10-033-4/+42
|\ \ \ | |/ /
| * | Fix shell.do_alarm_get_state to get as opposed to setEoghan Glynn2013-10-023-4/+42
| |/ | | | | | | | | | | | | | | | | Otherwise the CLI fails when attempting to set a state arg that doesn't exist. (Simple copy'n'paste error in the original code). Change-Id: Iab117177805449ddec9d03656a95a0cbbbbd58bb
* | Allow to update an alarm partiallyMehdi Abaakouk2013-10-015-68/+129
|/ | | | | | | | | | | | | The patch allow to only modify a part of an alarm instead of force to set the full alarm description. This permit to an application that have been written code around alarm with ceilometerclient 1.0.4 and ceilometer pre havana-3. To update alarm without any change with this and ceilometer >= havana-3 (ie: heat). Fixes bug #1231303 Change-Id: I20250131d05d20bfadbca450dfe6b8237f4b7183
* Help messages: specify which options are requiredCyril Roelandt2013-09-253-18/+34
| | | | | | Closes-Bug: #1223283 Change-Id: I080fa73bd45a1f9f442dbcdfa65fdc24e30521da
* Improve the CM shell client alarm visualisationMehdi Abaakouk2013-09-252-8/+46
| | | | | | | | | | | | | | | | | | | This change aim to get a better alarm representation in shell. In alarm-list: * it add a short sentence to describe the alarm rule * it remove project_id/user_id because it always show the same id for all alarm for end-user In alarm-show, it show alarm rule attributes as alarm properties instead of a unparsable json in the rule property. example of short sentence for column 'Alarm condition': * combinated states (AND) of 8babd6a2-c457-42d0-9eb5-cdfb3cb50203, d0e11a94-8f59-48a9-8f6d-b0d68aaac8d0 * cpu_util >= 50.0 during 1 x 60s Change-Id: If4df2dc08f9f4cb7796fd98308c7d62e311d1138
* Merge "Pass region_name argument to keystone client"1.0.5Jenkins2013-09-231-0/+2
|\
| * Pass region_name argument to keystone clientBartosz Górski2013-09-171-0/+2
| | | | | | | | | | Change-Id: If82bd7fe5680faef6e56abb6f76d203b7296beb5 Closes-Bug: #1228063
* | Merge "Replace OpenStack LLC with OpenStack Foundation"Jenkins2013-09-2320-21/+21
|\ \
| * | Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-2020-21/+21
| |/ | | | | | | | | Change-Id: Ia007da282714d8ee7337fd3b51f6dcc3b64d7ec3 Fixes-Bug: #1214176
* | Use the new alarm formatMehdi Abaakouk2013-09-205-117/+431
|/ | | | | | | | | | | The change sync the client API with the new alarm type and keep compatibility with the previous format of the alarm. It allows to create the new type of alarm: combination alarm. Implements blueprint alarming-logical-combination Change-Id: Ie62265023cadc20cf36a0d0b3775f4d984e324cf
* Adding missing 'statistic' field to alarm-showBartosz Górski2013-09-171-4/+5
| | | | | | | | Closes-Bug: #1225049 Adding missing 'statistic field to printed table with alarm details Change-Id: I69a743bfa340d4e1193f58c84195db398cbdf02b
* Use global openstack requirementsLianhao Lu2013-09-132-4/+4
| | | | | | Update global openstack requirements. Change-Id: Idf561ce746c86c775855d00cb3436feaf9f65cba
* Merge "alarm: rename counter_name to meter_name"Jenkins2013-09-113-8/+48
|\
| * alarm: rename counter_name to meter_nameJulien Danjou2013-09-053-8/+48
| | | | | | | | | | | | | | This is a follow-up wrt the recent fix that handled in Ceilometer for the alarming API. Change-Id: Ide73a2e703bf31652b819c6d5170891c73b77ec9
* | Fix a typo in "sample-create" help messageCyril Roelandt2013-09-091-2/+2
| | | | | | | | | | | | The word "alarm" is used twice instead of "sample". Change-Id: I9a3ce514f3a3766add14ed1b352e31bf003f1cee
* | Added support for running the tests under PyPy with toxAlex Gaynor2013-09-051-1/+1
|/ | | | | | This is a precursor to having them run under check and gate. Change-Id: I42ed34362bb840fe3a6d1d22e28beba8963fdb85
* Merge "Add support for new alarm repeat_actions attribute"1.0.3Jenkins2013-08-093-1/+11
|\
| * Add support for new alarm repeat_actions attributeEoghan Glynn2013-08-083-1/+11
| | | | | | | | | | | | Continuous notification is generally required by Heat. Change-Id: Ib396f47c68298f883e305c755d821c2679a56a5c
* | Updated from global requirementsMonty Taylor2013-08-087-11/+36
|/ | | | Change-Id: Ibf423f14a5c37aa298b2115bfd4936f660c6f530
* Merge "Handle case where os_auth_token is set to ''"Jenkins2013-08-051-1/+1
|\
| * Handle case where os_auth_token is set to ''Eoghan Glynn2013-08-021-1/+1
| | | | | | | | | | | | | | Properly handle case (as in CLI) where os_auth_token is set, but to an empty string. Change-Id: I7e96bf22e2a91e0e3ec783b406fd05e4138860c8
* | Merge "Fix typo in help text."Jenkins2013-08-051-4/+4
|\ \
| * | Fix typo in help text.Eoghan Glynn2013-08-011-4/+4
| | | | | | | | | | | | | | | | | | Minor misspelling in alarm-{create|update} help text. Change-Id: I1ddbaec42dda175a17d32229029c08d46e64151f
* | | Merge "Enhance ceilometer statistics command with --period"Jenkins2013-08-052-1/+13
|\ \ \ | |_|/ |/| |
| * | Enhance ceilometer statistics command with --periodGuangyu Suo2013-07-232-1/+13
| |/ | | | | | | | | | | | | | | | | Currently, if don't specify query parameter in ceilometer statistics command, ceilometer statistics with --period will not work. This change is trying to fix this issue. Change-Id: I8723bad11d5c452c2834e33df9bb01ebdc6ce9ce Fixs: bug #1202658
* | Ensure keystoneclient.auth_token is re-evaluatedEoghan Glynn2013-08-024-5/+8
|/ | | | | | | | | | Fixes bug 1207441 Force the re-evaluation of the keystoneclient.auth_token property so as to avoid missing out on the in-built refresh logic when expiry is imminent. Change-Id: I8319e9e9a71e33e089fbe2fbc812d2b6c15da927
* Allow to set matching_metadata with the cli1.0.2Mehdi Abaakouk2013-07-223-1/+37
| | | | | | | | | | | This change allows to set the matching_metadata of a alarm like this: ceilometer alarm-create --matching-metadata 'key=value' \ --matching-metadata 'key2=value2' --name 'alarm' ... Fixes bug #1201877 Change-Id: I22bf261b0a9580a06ae107ed45d082171f21fcc4
* Add support for creating samplesAngus Salkeld2013-07-183-17/+93
| | | | Change-Id: Ib33a5fd162d760efa23a2fc496c1d11d79484491
* Rename README.md to README.rstDirk Mueller2013-07-142-1/+1
| | | | | | | It actually is a reStructuredText file and README.rst seems to be more common accross all OpenStack projects. Change-Id: I2f5ef97315ec906fc7f0089536b038b977f8f68c
* Relax OpenStack upper capping of client versionsGordon Chung2013-07-121-1/+1
| | | | | | | uncap upper keystoneclient version Change-Id: Id1017f6073be8b7b95ca7ff0c68e09f61b26bb82 Fixes: bug#1200214
* Merge "Add matching_metadata to the allowed attributes"Jenkins2013-07-112-1/+1
|\
| * Add matching_metadata to the allowed attributesAngus Salkeld2013-07-052-1/+1
| | | | | | | | Change-Id: Icbd68061a43d18dd27baa7ff68f9381a160cd545
* | Allow Keystoneclient 0.3.xDirk Mueller2013-07-102-4/+3
| | | | | | | | | | | | Sync requirements with openstack/requirements file. Change-Id: I344aa47f248071cea8b6cbe31450528cd343bca2
* | Sync install_venv_common from osloMonty Taylor2013-07-051-26/+17
|/ | | | Change-Id: I74ab14534d80b33f5b9eb1b2200facf82b6d9504
* Merge "requirements.txt is not configured properly"Jenkins2013-07-052-2/+3
|\
| * requirements.txt is not configured properlyGordon Chung2013-06-182-2/+3
| | | | | | | | | | | | | | | | the leading comment seems to cause an issue with pbr. also adding in d2to1 and pbr versions to requirements. Change-Id: I334d928b8a575522e3879f07d578be39890712b5 Fixes: bug 1192351
* | Move tests to ceilometerclient.Monty Taylor2013-06-3019-16/+17
| | | | | | | | | | | | | | | | tests.* implies an incorrect global package name. Additionally, consuming code can benefit from being able to choose to consume test code and fixtures. Change-Id: I7ba2b3ba1c2a99410b54fc40b48dfe2fc53eb79a
* | Avoid unnecessary GET of existing alarm for update1.0.1Eoghan Glynn2013-06-242-7/+3
| | | | | | | | | | | | | | | | | | | | | | The existing alarm representation is retrieved prior to update, which is uneccessary as the API merges the new and existing state in any case. This change saves the threshold eval logic one unnecessary API call per state transition. Change-Id: If21c53d6f43164315e1e70e62b0c70520fb5a45c
* | Make authenticated client easier to consume.Eoghan Glynn2013-06-213-55/+82
| | | | | | | | | | | | Encapsulate keystone logic in an convenience method. Change-Id: I0a048e02f57d657b8b414a76d759ceb9e0e025df
* | Add support for specifying statistics period.Eoghan Glynn2013-06-204-34/+61
|/ | | | | | | Allow the period to be be specified as an addition parameter when retrieving statistics. Change-Id: Ied3add404fb8b20c46a4de00f07273a6d6c4ffce
* Merge "Use Python 3.x compatible except construct"Jenkins2013-06-141-1/+1
|\
| * Use Python 3.x compatible except constructDirk Mueller2013-06-071-1/+1
| | | | | | | | | | | | | | Per (proposed) Hacking check, use except x as y: instead of x,y:, which works with any Python version >= 2.6 Change-Id: I6e52cedec5c694bccae10541b1964a8547d4ffd1
* | Drop unnecessary arg when instantiating HTTP classBrian Waldon2013-06-131-1/+1
| | | | | | | | | | | | Fixes bug 1190111 Change-Id: I45e5e5d5af97a4f75833d9ca000b1b555bdda752