summaryrefslogtreecommitdiff
path: root/ceilometerclient
Commit message (Collapse)AuthorAgeFilesLines
* Corrected the errors in sample-show and sample-createLianhao Lu2015-02-122-5/+9
| | | | | | | | | Patchset I67152c636526dad3ec27e06058ff73ad969ae2b9 broke the sample-show and sample-create when introducing the new sample API support. This patch fixes those. Change-Id: I3e36df61cf672b44c376c4a18dc808d565315bf6 Closes-Bug: #1421040
* Merge "Allow create/update gnocchi alarm rule"Jenkins2015-02-091-0/+146
|\
| * Allow create/update gnocchi alarm ruleMehdi Abaakouk2015-02-061-0/+146
| | | | | | | | Change-Id: Id1c6832c2db32c5cce0e31cd0022a86508630a7e
* | Merge "Don't enforce a kind of alarm rules"Jenkins2015-02-091-4/+4
|\ \ | |/
| * Don't enforce a kind of alarm rulesMehdi Abaakouk2015-02-061-4/+4
| | | | | | | | | | | | | | | | | | Now, the alarm rules are extendable with stevedore in ceilometer API, so we should not enforce the list of supported alarm rule. This change does that. Change-Id: I06067bdd02cf88f6fd4cd060bdfa310ded504e65
* | Merge "add --no-traits for event-list"Jenkins2015-02-052-6/+60
|\ \
| * | add --no-traits for event-listZhiQiang Fan2015-02-052-6/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently we print traits list for each event when run event-list command, but that is a lot of information. After system run for a few days, the event-list command prints so much that it is not convenient to know the whole event-list even with less command. This patch adds a simple argument called --no-traits, it is False by default, event-list will not print traits if this argument is specified. Since this argument is boolean type, no need to assign a value, if it is specified, then it is actived. Change-Id: Ib69209fef5967a18f094f2d4665fa189e4ca3e6a
* | | Merge "Add Sample API support"Jenkins2015-02-056-73/+337
|\ \ \
| * | | Add Sample API supportZhiQiang Fan2015-02-056-73/+337
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Sample API has been implemented in Ceilometer for a long time, but CLI is lack of such support, this patch implements Sample CLI. Implements blueprint cli-samples-api Change-Id: I67152c636526dad3ec27e06058ff73ad969ae2b9 DocImpact
* | | Merge "Remove trailing space before , in the help string of --time-constraint"Jenkins2015-02-051-1/+1
|\ \ \ | |/ / |/| |
| * | Remove trailing space before , in the help string of --time-constraintChristian Berendt2015-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | Instead of 'with a cron expression , whereas its duration' it should be 'with a cron expression, whereas its duration'. Change-Id: Id545045dd4b25b5cbd2d79933851adab4963dada
* | | Add severity field to alarm CLIPradeep Kilambi2015-01-264-37/+51
| |/ |/| | | | | | | Change-Id: I699bea4859d4f0a5832ced5ba74ba7fb26c122ef Partially-Implements: blueprint ceilometer-alarm-level
* | Merge "Triple double-quoted strings should be used for docstrings"Jenkins2015-01-202-28/+28
|\ \
| * | Triple double-quoted strings should be used for docstringsLena Novokshonova2015-01-122-28/+28
| | | | | | | | | | | | Change-Id: Ib563a9817f6f24ce0d72fe7a8ba96cb6e35c4e46
* | | Merge "Allow all pep8 checks"Jenkins2015-01-205-31/+33
|\ \ \ | |/ /
| * | Allow all pep8 checksDina Belova2015-01-125-31/+33
| | | | | | | | | | | | | | | | | | | | | Fix H405 pep8 issue. H904 issue check was ignored, although there were no places in client code violating this rule. Change-Id: If3b84eb8abb03511d7f77cabfa2955f472a60f23
* | | Merge "Fix H105 pep8 error"Jenkins2015-01-204-8/+0
|\ \ \ | |/ / | | / | |/ |/|
| * Fix H105 pep8 errorDina Belova2015-01-124-8/+0
| | | | | | | | Change-Id: I4587bc2d57c35eef772fbaf3483dfb58c3ae9309
* | Merge "Fix improper parameter setup for cacert and client certs"Jenkins2015-01-165-20/+46
|\ \
| * | Fix improper parameter setup for cacert and client certsSrinivas Sakhamuri2015-01-155-20/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The client passes cacert incorrectly, CA cert need to be passed in verify parameter to requests library. Also at present, key file is not being used, which if it is supplied need to be passed as a tuple in cert parameter Python requests library relevant doc link http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification Change-Id: Ie71e760bce6a78ed1444373adfa0a133e82ec434 Closes-Bug: 1408372
* | Merge "Remove redundant parentheses (except openstack.common)"Jenkins2015-01-133-9/+9
|\ \
| * | Remove redundant parentheses (except openstack.common)Dina Belova2014-12-103-9/+9
| | | | | | | | | | | | Change-Id: I594234648a37d283559a0365969a7fe3609079f8
* | | event-list should sort by timestamp, not idZhiQiang Fan2015-01-132-1/+48
| |/ |/| | | | | | | | | | | | | | | | | Currently, event-list output will be sorted by message id, that is because table field 0 is the default sort field. But sort by id makes no sense, and REST API returns events by timestamp order, so let's keep consistent with upstream. Change-Id: I524b05ed5ff9db34430afd722991d02545c263cb Closes-Bug: #1406622
* | Merge "Support ceilometer-url and os-endpoint"Jenkins2015-01-094-25/+50
|\ \
| * | Support ceilometer-url and os-endpointZhiQiang Fan2015-01-084-25/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | Ceilometerclient has messed up with (ceilometer-url and os-endpoint) and (os-auth-token and token). This patch marks ceilometer-url and auth-token as deprecated, and unifies the two pairs arguments. Change-Id: Id55e5b603d8075018cf45b9833d397173439b3ce Closes-Bug: #1396811
* | | Merge "sync to latest oslo-incubator code"Jenkins2015-01-088-90/+195
|\ \ \ | |/ / |/| |
| * | sync to latest oslo-incubator codeZhiQiang Fan2014-12-268-90/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch also syncs with latest oslo-incubator, to solve bug 1354470 and safe log auth token when --debug is enabled, see https://github.com/openstack/oslo-incubator/blob/master/openstack/common/apiclient/client.py#L128 Note, this patch also removes importutils.py since it is no longer used. Change-Id: I4f2d18ef05c3be27cf2ee3474761408e3f5ccbcd Closes-Bug: #1354470
* | | Merge "Add client property for common.base.Manager"Jenkins2015-01-081-0/+5
|\ \ \ | |/ /
| * | Add client property for common.base.ManagerZhiQiang Fan2014-12-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latest oslo-incubator.apiclient code assumes resource manager has property named client, but ceilometerclient has named that property to api, which will cause problem when we sync with oslo-incubator. This patch simply uses client as an alias of api. Change-Id: I90c5ff10309ff7ad3fb634274e16c26ec8e6a1a2
* | | Merge "Enable --os-insecure CLI option"Jenkins2015-01-074-3/+46
|\ \ \ | |/ / |/| |
| * | Enable --os-insecure CLI optionZhiQiang Fan2014-12-064-3/+46
| |/ | | | | | | | | | | | | | | | | | | | | | | | | --os-insecure is not correctly passed to Keystoneclient because it expects a bool type but we assgin a string value to the insecure parameter, this patch fixes it by using oslo.utils.strutils.bool_from_string. --os-insecure is ignored by Ceilometerclient.v2.client because it expects parameter verify rather than insecure, this patch fixes it by converting insecure to verify if that field is not set. Change-Id: I545de167cdf8cfec6b5c67984b74327fb76c513a Closes-Bug: #1394449
* | Allow graceful shutdown on Ctrl+Cliu-sheng2014-12-121-0/+3
| | | | | | | | Change-Id: If02a849af2b0dd471ffa078a53864b3cf751b9bb
* | Make methods static where it's possibleDina Belova2014-12-104-5/+10
| | | | | | | | Change-Id: If6c1fa05044e65ec1e72a3e5f63e6db826469a2d
* | Merge "Fix old-style classes declaration"Jenkins2014-12-102-5/+5
|\ \
| * | Fix old-style classes declarationDina Belova2014-12-102-5/+5
| |/ | | | | | | Change-Id: I8759dd64637e5150f6744d0989eaa5e584487f5e
* | sync with oslo and use oslo.i18ngordon chung2014-12-057-783/+73
|/ | | | | | | | | - remove strutils and gettextutils from openstack/common - start use of oslo.i18n sync to Change-Id: Ia1820495a989f4f84530ab83f2d87d53a9f761df Change-Id: I7e2ead688ac9fcab0ac6a2479e0eca12af415b07
* Merge "Support os-endpoint-type"Jenkins2014-12-041-2/+3
|\
| * Support os-endpoint-typeZhiQiang Fan2014-11-271-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Ceilometerclient will always get publicURL even though we specify endpoint type via arguments, it is because we call kesytone session with wrong keyword argument, which should be interface rather than endpoint_type. see: https://github.com/openstack/python-keystoneclient/blob/master/keystoneclient/auth/identity/base.py Change-Id: Ic2b03bd900d913c7efd22c9b91dfaa79e0cdd4bc Closes-Bug: #1396493
* | Alarm TimeConstraint display incorrectRohit Jaiswal2014-11-252-4/+38
|/ | | | | | | Added test case for print_dict function Change-Id: I3ab8a4e25f946b409ede2a598a5b9cf8593a044e Closes-Bug: #1395110
* Merge "Fix wrong initialization of AuthPlugin for keystone v3"Jenkins2014-11-252-7/+42
|\
| * Fix wrong initialization of AuthPlugin for keystone v3ZhiQiang Fan2014-11-112-7/+42
| | | | | | | | | | | | | | | | Ceilometerclient doesn't pass domain related arguments to AuthPlugin, which will cause keystoneclient v3 cannot be used properly. Change-Id: I2554a36f214c0eae61b7ba6b8580c41b8f8c6370 Closes-Bug: #1391122
* | Fix timeout argument not treated as integerZhiQiang Fan2014-11-144-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | Currently, if we specify --timeout 30 in CLI commands. we will get 'a float is required' error. Since we already specify timeout is ingeter in ceilometer.v2.client, this patch converts CLI argument timeout to integer. Note, if zero is passed to v2.client, we treat it as disable timeout. Change-Id: I213b6c24964095297cb4e87c25bb871ebd668bb4 Closes-Bug: #1391606
* | Refactor tests/test_shell.pyZhiQiang Fan2014-11-131-18/+10
|/ | | | | | | Remove unnecessary help test for keystone shell test. Change-Id: I4891a3e7d13f924ba0a1f7c57e87cd092ed8f9ff Closes-Bug: #1391965
* sync oslo codeicehouse-eol1.0.12stable/icehousegordon chung2014-10-029-324/+642
| | | | | | | | | | | - sync code up to Change-Id: Ie6064e73abe4b0729498a0343d50e1be35684b75 - includes fix to resolve alarm-evaluator failure - does not include openstack/common/strutils sync as it requires test update Co-Authored-By: Vaibhav Kale <vaibhav_kale@persistent.co.in> Closes-Bug: #1357343 Change-Id: Ieec08520cb39c5bf2e795dfeb3e36e52c6fd2a82
* switch to oslo.utilsgordon chung2014-09-293-15/+14
| | | | | | | oslo.utils is released and corresponding code in oslo-incubator has been removed. Change-Id: Ic3a13380809a8b00c979e5ac405b4084f486a31d
* Merge "Fix a help string nit for statistics command"1.0.11Jenkins2014-09-211-1/+1
|\
| * Fix a help string nit for statistics commandliu-sheng2014-09-091-1/+1
| | | | | | | | Change-Id: I0aee668d9a19da76bb01646c87b3cd17418822e5
* | Merge "keystone discovery fallback support"Jenkins2014-09-201-42/+41
|\ \
| * | keystone discovery fallback supportgordon chung2014-09-101-42/+41
| |/ | | | | | | | | | | | | | | | | version discovery and sessions aren't supported by all external auth systems. this patch adds a fallback when discovery does not work. Closes-Bug: #1333961 Change-Id: Ib253c736e37f8dbc50881f9fc691bfdb4ab87d71
* | Merge "Reduce redundant parameter of some commands in CLI"Jenkins2014-09-203-32/+79
|\ \