Files
python-ceilometerclient/ceilometerclient/v2
ZhiQiang Fan 0c23c62cef Enable specified project_id in CLI commands
After we port to oslo-incubator.apiclient, the project_id can no
longer be specified for alarm-{,threhsold,combination}-{create,update}
and sample-create, this is because client.AuthPlugin registers a CLI
argument named --os-project-id which will shadow the project-id
argument.

Since os-project-id is used for Keystone V3 API, we should not
remove it from AuthPlugin, so this patch moves the dest of project_id
to {alarm,sample}_project_id, and adds a decorator to restore shadowed
project_id field when we call v2 client.

Change-Id: I0ce2416dccd61eb50584799e6df0b8c45d44cdda
Closes-Bug: #1393489
2015-02-25 09:18:55 +08:00
..
2015-02-05 11:17:02 +08:00
2014-06-16 14:42:16 +04:00
2015-01-20 11:37:38 +00:00
2014-07-31 18:59:58 +03:00
2014-06-16 14:42:16 +04:00
2015-02-05 11:17:02 +08:00