| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Change-Id: Ib33a5fd162d760efa23a2fc496c1d11d79484491
|
| |
|
|
| |
Change-Id: Icbd68061a43d18dd27baa7ff68f9381a160cd545
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Encapsulate keystone logic in an convenience method.
Change-Id: I0a048e02f57d657b8b414a76d759ceb9e0e025df
|
| |
|
|
|
|
|
| |
Allow the period to be be specified as an addition parameter
when retrieving statistics.
Change-Id: Ied3add404fb8b20c46a4de00f07273a6d6c4ffce
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
Per (proposed) Hacking check, use except x as y:
instead of x,y:, which works with any Python version >= 2.6
Change-Id: I6e52cedec5c694bccae10541b1964a8547d4ffd1
|
| | |
| |
| |
| |
| |
| | |
Fixes bug 1190111
Change-Id: I45e5e5d5af97a4f75833d9ca000b1b555bdda752
|
| |/
|
|
|
|
|
|
| |
Enable Pyflakes tests. Fix those warnings that occur.
Also explicitely list the pep8 warnings that currently
fail.
Change-Id: Icfd7bf23007a99187cfee66cbd630e0e885bf7d3
|
| |
|
|
| |
Change-Id: I4e3be2e480803eeaf4ec11079e69e7e6afd5e0d1
|
| |
|
|
| |
Change-Id: I2a368f536ec440387d32a8076a86d143b94d7c90
|
| |
|
|
| |
Change-Id: Ib8509391d4c4521e18f0e980003c5e94c7ba2f54
|
| |
|
|
|
|
| |
Fixes bug 1179007.
Change-Id: Ie921a710d9460196ed8023ad63f05dec998b60f0
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Also remove some unused imports
This is an effort to get the pep ignores to be closer to nova.
Change-Id: I35612de45084fac0ae1c96dad84bb23cfade0e4f
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| | |
This is an effort to get the pep ignores to be closer to nova.
Change-Id: I451df579bbead00a8ff2c301c1a84e7c0a896002
|
| |/
|
|
| |
Change-Id: Ifbf682bc05ce47d04be1940238cd52d0e895588f
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Include the *_actions attributes in the CLI output.
Change-Id: I19e2e7b9c60b56c0c84687694365ef3614dd0e44
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| | |
Just getting the ball rolling on client support for the
new alarms API.
Change-Id: I66380a7bfd650357dd4ec34cbe64807ac6921163
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes bug 1180439
The change in importation in this commit:
https://github.com/openstack/python-ceilometerclient/commit/453f4d2a
caused the ceilometer CLI to fail in all cases with:
'module' object has no attribute 'Client'
due to the mis-scoping of ceilometerclient.client.Client
as ceilometerclient.Client.
Change-Id: I5ec30bf74233f758519810629763ccb70bb7af87
|
| |
|
|
|
|
|
|
| |
add support for --version
update openstack.common to bring in latest openstack.common.version
Change-Id: Ic1e66ea1f1aa65039b79902b893d1b2474ecb63e
Fixes:bug1177573
|
| |
|
|
|
|
|
|
| |
response
pep8 compliance
Change-Id: I7669c103fe3336aa82b289e04560192b44a186da
|
| |
|
|
|
|
|
|
| |
PrettyTable 0.7.2 changed the default to print
also tables when the result set is empty. Revert
to previous default.
Change-Id: I22ab7522227ef70929d31dd2c4aaff93c4c518c2
|
| |
|
|
|
|
| |
Since the v1 API is somewhat deprecated lets default to v2.
Change-Id: Iece5428b2a47e63995e26f58347d4f7c8f8cb238
|
| |
|
|
|
|
|
|
| |
Added resource-show command for v2 API.
blueprint more-cli-cmd.
Change-Id: I9e0dcff63b2ac6650094d47a947a2deaaea2ba4d
|
| |
|
|
|
|
|
| |
Currently the regex doesn't account for the "."
Change-Id: Ia01bb3e2a79e54fd01b0b6fa5437827694d4fb96
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Corrected the wrongly mentioning of glance in help strings.
Change-Id: Ic8613e8670f96be38d1a63777edc6c113a1894d4
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: logging still works with -d, this just quiets it down
for the normal case.
bug 1154408
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Change-Id: I0adccc8b2c83d917d2742e86fdb4b6363b398ca6
|
| |\ \
| |/
|/|
| | |
matching data on the server."
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
on the server.
When the server does not have any data matching the requested response_key, it can still return
successfully. A subsequent lookup in the returned data throws a KeyError exception. The simple
fix for this is to catch the KeyError exception and return an empty list. An empty list, rather
than None, is required because the calling code expects an iterable. The exception is caught
as early as possible after the server returns from the GET request. The end result is that the
CLI user sees an empty result when the requested data doesn't exist on the server. Prior to
this fix the keyError exception was propagated all the way to the user, causing a confusing
message to be printed. Also added associated unit test.
Fixes bug #1111972
Change-Id: I88ba658f8be7e7edf255ef9f7d83ba87f36f4efc
|
| |/
|
|
|
|
|
| |
Fixes: bug #1146690
Change-Id: I4258948f749128edeafb6ef3e64bda4ff35dbb58
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
This also moves the build_url function to a common file.
Change-Id: Ia94f9fa37c83fc756a395a918ad254111951f67b
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Fixed bug #1130286.
Change-Id: Ia0a8884f2738c31c3d91d6679622ebd3ec9b86b5
|
| | |/
|/|
| |
| |
| |
| | |
Fixes: bug #1133823
Change-Id: I98691379c9c0adf78ef9ab761c2f2b203cd1ee6c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| | |
ceilometer --ceilometer-api-version 2 sample-list -m <meter>
fixes bug #1132633
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Change-Id: I177c2f759b9b07b44dcd6dd20f457cefd036d0b9
|
| | |
| |
| |
| |
| |
| | |
Added timestamp support for resource/sample api. Fixed bug #1118542.
Change-Id: I644c480ca00f57549dc66bd387721c25d3b353c4
|
| |/
|
|
|
|
|
| |
Added project-id support in resource api and source-id support in user
api.
Change-Id: I3295a36a4b3a57e9451cc042d542ead1354f8e61
|
| |
|
|
|
| |
Change-Id: I861e53db5446d2e3dc49935ea1cdd1607cff0a2a
Signed-off-by: Julien Danjou <julien@danjou.info>
|
| |
|
|
|
|
| |
Gets things set for tag-based versions.
Change-Id: I8cc498562dde8831145583caf85de2ed46ccd206
|
| |
|
|
| |
Change-Id: I2ac7f9af13a38d1de0d61585f75e5955330284b7
|