python-openstackclient/openstackclient/compute/v2
Dean Troyer bc11c4d7d8 Deprecate project usage list command
Rather than pointing the 'project usage list' entry point directly to
ListUsage, this makes a ListProjectUsage subclass to alias the desired
command and still allow for changing behaviour or issuing a deprecation
messages.  This implementation simply sets a new 'deprecated' attribute
in the command class that cliff will use to skip this command when
generating help output.

The actual skipping of the command in help output is dependant on
https://review.openstack.org/147349 merging in cliff, this review will
simply have no effect on help output until a version of cliff with
that update is present.

The deprecation message printed is somewhat generic until
https://review.openstack.org/147381 is merged in cliff.
Until that is merged, the deprecation message will not have the name
of the actual command given by the user in it, but rather the text
'this command'.

Closes-bug: #1406654
Change-Id: Ie08d4f88d71a660fca1862405351109cd0aa86b6
2015-01-15 00:04:55 -06:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
agent.py replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
aggregate.py Fine tune some of the helps commands 2015-01-13 00:58:57 -05:00
availability_zone.py Add docs for listing availability zones 2014-12-31 02:54:36 -05:00
console.py Command object docs: aggregate, console *, keypair 2014-11-19 14:47:53 -06:00
fixedip.py replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
flavor.py Fine tune some of the helps commands 2015-01-13 00:58:57 -05:00
floatingip.py Normalize more help strings 2014-07-24 11:22:29 -05:00
floatingippool.py Normalize more help strings 2014-07-24 11:22:29 -05:00
host.py replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
hypervisor.py Normalize more help strings 2014-07-24 11:22:29 -05:00
keypair.py Fine tune some of the helps commands 2015-01-13 00:58:57 -05:00
security_group.py Don't import form keystoneclient.openstack.common 2014-12-17 18:17:56 +10:00
server.py add multi-delete support for compute/image/net/volume 2014-12-23 09:31:10 +08:00
service.py replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
usage.py Deprecate project usage list command 2015-01-15 00:04:55 -06:00