Reviewed: https://review.openstack.org/61016 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=e1fdd8f9b1536c75e36dd74416dd3aad1495e203 Submitter: Jenkins Branch: master
commit e1fdd8f9b1536c75e36dd74416dd3aad1495e203 Author: Vladik Romanovsky <email address hidden> Date: Mon Dec 9 15:54:50 2013 -0500
libvirt: making set_host_enabled to be a private methods
Currently _set_host_enabled() is being used only for internal libvirt driver purposes, which doesn't correlate to set_host_enabled in the compute API.
_set_host_enabled in the driver is disabling and re-enabling the compute service automatically and shouldn't be exposed to the users.
Also, adding disable_reason as an optional variable and enabled variable to be boolean only.
Change-Id: I5fd13ef352fcbb4a1c96764a9e473cdaf7b128da Closes-Bug: #1251803
Reviewed: https:/ /review. openstack. org/61016 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e1fdd8f9b15 36c75e36dd74416 dd3aad1495e203
Committed: https:/
Submitter: Jenkins
Branch: master
commit e1fdd8f9b1536c7 5e36dd74416dd3a ad1495e203
Author: Vladik Romanovsky <email address hidden>
Date: Mon Dec 9 15:54:50 2013 -0500
libvirt: making set_host_enabled to be a private methods
Currently _set_host_enabled() is being used only for internal libvirt
driver purposes, which doesn't correlate to set_host_enabled in the
compute API.
_set_ host_enabled in the driver is disabling and re-enabling
the compute service automatically and shouldn't be exposed to the users.
Also, adding disable_reason as an optional variable and enabled variable
to be boolean only.
Change-Id: I5fd13ef352fcbb 4a1c96764a9e473 cdaf7b128da
Closes-Bug: #1251803