[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH OSSTEST] mg-hosts: document "power" command



On Mon, 2015-12-07 at 17:24 +0000, Wei Liu wrote:
> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> ---
> Âmg-hosts | 7 +++++++
> Â1 file changed, 7 insertions(+)
> 
> diff --git a/mg-hosts b/mg-hosts
> index a911099..0d02c56 100755
> --- a/mg-hosts
> +++ b/mg-hosts
> @@ -24,6 +24,13 @@
> Â#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂof osstest.ÂÂWill use "sudo". The HOST(s) must be
> Â#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂallocated (via mg-allocate HOST).
> Â#
> +#ÂÂ./mg-hosts power HOST ACTION
> +#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂPower cycles the host. Host must be allocated to the
> current
> +#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂuser.ÂÂActions are:
> +#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"0" or "on"ÂÂÂÂ: power on
> +#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"1" or "off"ÂÂÂ: power off
> +#ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ"c" or "r"ÂÂÂÂÂ: reboot

I think in reality the ACTION needs merely to start with any of those
strings, but in the interests of not making the docs too confusing I think
the above is good.

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

(c is for "cycle" I guess?)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.