openstack-python-openstackc.../openstackclient/compute/v2
Akihiro Motoki 50d54bb007 log_method: get logger from decorated method if unspecified
This commit makes 'log' optional.
'log' attribute of each command class does not exist
when the class is defined because 'log' is now setup
dynamically when a class is instantiated. Instead log_method
looks for a logger from a decorating method.

compute.v2.server is changed in this commit as an example.

Change-Id: Ic4d128f8e027d3b8e6f884f31369e9085c0f0871
Partial-Bug: #1532294
2016-01-20 22:02:19 +09:00
..
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
agent.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
aggregate.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
availability_zone.py Use a common decorator to log 'take_action' activation 2015-09-01 16:49:54 -07:00
console.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
fixedip.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
flavor.py Set up logger of each command by metaclass 2016-01-20 22:02:19 +09:00
floatingip.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
floatingippool.py Doc: Update and add IP address 2015-11-24 14:03:51 -06:00
host.py replace string format arguments with function parameters 2014-05-20 13:49:56 +02:00
hypervisor.py Show which aggregate a hypervisor is member of 2015-07-02 10:23:22 -04:00
hypervisor_stats.py Add ability for diplaying hypervisor statistics 2015-03-06 00:11:20 -08:00
keypair.py Trivial: Remove useless return from files in compute. 2015-12-17 09:34:12 +08:00
security_group.py Further improve output for "os security group show" 2016-01-06 08:21:57 -06:00
server.py log_method: get logger from decorated method if unspecified 2016-01-20 22:02:19 +09:00
service.py Docstring should say 'default' if option is default 2015-12-31 09:36:26 +05:30
usage.py Remove deprecated 'project usage list' command 2015-11-18 15:37:55 -06:00