* [PATCH OSSTEST] mg-hosts: document "power" command
@ 2015-12-07 17:24 Wei Liu
2015-12-08 12:03 ` Ian Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Wei Liu @ 2015-12-07 17:24 UTC (permalink / raw)
To: Xen-devel; +Cc: ian.jackson, Wei Liu, ian.campbell
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
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
+#
# ./mg-hosts create-like SOURCE-HOST NEW-HOST[,NEW-HOST...]
# Create new host(s). This does NOT copy the
# flags and properties (!)
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH OSSTEST] mg-hosts: document "power" command
2015-12-07 17:24 [PATCH OSSTEST] mg-hosts: document "power" command Wei Liu
@ 2015-12-08 12:03 ` Ian Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2015-12-08 12:03 UTC (permalink / raw)
To: Wei Liu, Xen-devel; +Cc: ian.jackson
On Mon, 2015-12-07 at 17:24 +0000, Wei Liu wrote:
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>
> ---
> 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@citrix.com>
(c is for "cycle" I guess?)
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-08 12:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-07 17:24 [PATCH OSSTEST] mg-hosts: document "power" command Wei Liu
2015-12-08 12:03 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.