openstack-python-openstackc.../openstackclient
Huanxuan Ao 7177014fcc Fix errors for "host set" command
"Host set" command cannot work. Because:
1.Host has no 'ID' attribute, so 'ID' attribute cannot be found
in "host set" command.
2.value "True" and "Flase" are invalid in updata() method of host.
3.Some update functionalities is not supported in host API now.

This patch solves the problems 1 and 2 in OSC. But the problem 3
is a API problem and can't be solved in OSC, only XenServer driver
support to set enable/disable and maintenance host, it is a normal
problem.
After this patch the output of "host set" command is:
The requested functionality is not supported. (HTTP 501)
(Request-ID: req-14031fce-8c90-48a0-8492-dc8e3dd349f3)
Just the same as the "host-update" command in novaclient.

Change-Id: Ibe94c4d3d492d3d63355de803810edb988e1b4e9
Closes-Bug: #1594689
2016-06-22 14:20:53 +08:00
..
api Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
common Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00
compute Fix errors for "host set" command 2016-06-22 14:20:53 +08:00
identity Merge "Make set/unset command in identity and image pass normally when nothing specified" 2016-06-17 06:24:35 +00:00
image Merge "Make set/unset command in identity and image pass normally when nothing specified" 2016-06-17 06:24:35 +00:00
locale Imported Translations from Zanata 2016-06-04 06:18:46 +00:00
network Support bulk deletion for delete commands in networkv2 2016-06-16 12:46:32 +00:00
object osc-lib: command 2016-06-13 11:00:22 -05:00
tests Fix errors for "host set" command 2016-06-22 14:20:53 +08:00
volume Merge "Standardize logger usage in volume" 2016-06-15 00:09:15 +00:00
__init__.py Change version reporting to use pbr 2013-08-02 12:11:49 -05:00
i18n.py Update translation setup 2016-01-29 08:18:50 +09:00
shell.py Do not prompt for scope options with default scoped tokens 2016-06-17 12:37:15 -04:00