python-openstackclient/openstackclient/compute
Tang Chen 809239ca1e Map server power state num to meanful string
In _prep_server_detail(), power_state is not formatted
by _format_servers_list_power_state(). So when executing
"server show" or "server create", the power state is
represented by number. This patch map the numbers to
meanful strings.

This patch also adds power_state attribute to FakeServer,
and improves unit tests for this attribute.

Change-Id: I2ec674327de4e5133b8712ba6bb53fa5ce55e3f4
2016-05-07 14:54:44 +08:00
..
v2 Map server power state num to meanful string 2016-05-07 14:54:44 +08:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
client.py Replace string format arguments with function parameters 2016-02-20 14:16:25 +08:00