| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
argparse was external in python 2.6 but not anymore, remove it from
requirements.
This should help with pip 8.0 that gets confused in this situation.
Installation of the external argparse is not needed.
Change-Id: Ib7e74912b36c1b5ccb514e31fac35efeff57378d
|
| |/
|
|
|
|
|
| |
* uuidutils has been ported to oslo.utils.uuidutils, so use the new one.
* port cliutils to ceilometerclient.common.utils
Change-Id: Ic5d3be140957510ed5d01f25552f2713845c4fdc
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: I27e6a97b0418247173abe95f29a0095af4e0523f
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Removes the option of meter-links
from CLI.Since meter-links are
never shown.
Change-Id: I3949bb6d77786926f22506d97d988f73fa614958
Closes-Bug: #1528318
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When using command alarm-gnocchi-* the project_id and user_id are not
set. The patch fix it and add related tests:
1.ceilometer gnocchi alarm create/update test cases
2.check gnocchi alarm create/update command args test cases
3.check update alarm without alarm-id
4.check shadowed args are restored
Closes-Bug: #1506509
Change-Id: If6a8cfd9bc52b3eeff99dfcfdee2f4da7220674b
|
| |/ /
| |
| |
| | |
Change-Id: Ie2c764b4f0f1f55a580937e2dcfa3977e87efd47
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For the command output in ceilometer cli, if it is a dict and it has
items which is list type, originally it won't handle the items in the
list.
As to under py27, the string type in the list is unicode, the string
always look like u"http://alarm", while under py34 the string is
"http://alarm", this cause output inconsistency. This patch will handle
this inconsistency.
Change-Id: I5e7cf4052f68e5a434bcf86242b11365b34750a0
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: I5ea12983db4a7df3b9189de124094e9dbda0c022
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The oslo.utils reflection module/code handles more variations
of where a class name may come from (on python 2 and python 3)
so its usage allows getting more accurate class names so we might
as well use it.
Change-Id: Ic6a1d4a34336ae6501c48e92e8114932c283650f
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds default field into help docs for all lists cli commands.
Closes-bug: #1527271
Change-Id: I3081f273bf7b5fd512b0bbd105b3dfd1d69772b9
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When token is provided and not the endpoint,
the client works, because keystoneauth/keystoneclient will
use the service_type to discover the endpoint.
Closes-bug: #1533712
Change-Id: I0cf1ba52f656a450d358b2356df67d004f9aba7d
|
| |\ \ \
| |/ / |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We must not copy a keystone session object or auth_plugin object.
This change simplifies the aodh redirection code by:
* sharing the keystone session object between aodh and ceilometer client
* creating a new AuthPlugin() for the aodh client instead of copying the ceilometer one
and then change its content.
Closes-bug: #1531452
Change-Id: I2b2195e32c5dd74136237f7166c9c0d325434611
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The comment describes the handling of HTTPNotFound exception about
alarm, but it is ambiguous, this change make it more clear.
Closes-Bug:#1523866
Change-Id: Id7be71dcda6693875222435e10cba929e7c81e56
|
| |\ \ \ |
|
| | | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
We don't sync from oslo-incubator, so don't
need this file any more.
Change-Id: I7160d4122c3c21aa62fa19e34f6b73ee8c35de69
|
| |\ \ \ |
|
| | | | |
| | | |
| | | |
| | | | |
Change-Id: If62986b3ba913776ee6b9328a10e358e0e14e7cd
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
strict the input parameter of enabled in the command :
ceilometer alarm-threshold-update <alarm-id> --enabled {True|False}
This commit will improve the enabled value validation, if the input
value is invalid such as "abde" "enabled", error info will be returned.
Closes-Bug: #1531042
Change-Id: Ic553bc9ffa05a84575fc5626416c79fc84687bbe
|
| |/ /
| |
| |
| |
| |
| |
| |
| | |
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).
Change-Id: Iabf8d017b47025309f186afb5e30b8ad990c2448
Closes-Bug:#1512207
|
| | |
| |
| |
| | |
Change-Id: Ib016dc7d31d4764e9a22ac45b9fb0d974cde47d2
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: I36db8bdcb67b8cc0a3bf1f063b4a7b42955b100b
Closes-bug: #1280522
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
pbr now can generate those content by default
Change-Id: I710502b73b020b7ee7309e00ff6f1ab83f8163e4
|
| |/ /
| |
| |
| | |
Change-Id: Ief6c8c5529660142fdd9bba98ed703b782ccefc3
|
| |/
|
|
|
|
|
|
|
|
| |
Caching is enabled by default from pip version 6.0
More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching
Change-Id: Iffa03444402f08c32efd698ba9694d9312edbd5e
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
I don't like recompiling my Python files on each run.
This reverts commit ce8957f04ffc5277645c59ab05232ead04373913.
Change-Id: I34cd22d249a201d3f5c948075dbd762085818cab
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
as of mitaka, the infra team won't have the resources available to
reasonably test py26, also the oslo team is dropping py26 support
from their libraries. sine we rely on oslo for a lot of our work,
and depend on infra for our CI, we should drop py26 support too.
Change-Id: I2218cf3464a9c1667f8eb812a519b2bc3ffe4d0d
Closes-Bug: 1519510
|
| |\ \ \
| |_|/
|/| | |
|
| | | |
| | |
| | |
| | | |
Change-Id: I7159129411254a940122a88941a642feb6d72ef2
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Because python creates pyc files during tox runs, certain
changes in the tree, like deletes of files, or switching
branches, can create spurious errors.
Change-Id: Ia60baa319624e8ae5f833b6956323cf9e973d1b7
Closes-Bug: #1368661
|
| | |
| |
| |
| | |
Change-Id: I71acba65fc610e258924b6aa5dd11c52d5987e13
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
On assertEqual, the parameter order should be (expected, actual).
Some of the tests in ceilometer client were written with invalid
parameter orders. This patch fixes those tests.
Change-Id: I9a7a81bdb0d9224f2b9cd53b7fb6eaf5ed7a582a
Partial-Bug: 1277104
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
The __eq__ of apiclient.base.Resource will return True,
if the two objects have same id, even if they have different
other attributes value. The behavior is weird and don't
match the semantics of object equal. The objects that have
different value should be different objects.
Fix this issue and add some test cases in this patch.
Change-Id: Ieb28aa179bda945686e0d9c2f341c373ce2bab74
Closes-Bug: #1499369
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If parameters os_token and os_endpoint were passed to
ceilometerclient.client.get_client to construct a ceilometer client, the
token will be wrongly replaced with None in method
ceilometerclient.client._adjust_kwargs, which will cause the
authentication error when use the instance of ceilometer client later.
This patch fixed this problem.
Change-Id: Ib15cdd73b62b7f0b86d0bd6f19d344fd24a665f6
Closes-Bug: #1519729
|
| | |
| |
| |
| | |
Change-Id: I46395d378a24b926c1bf4030b44f0f7983234d12
|