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

Re: [Xen-devel] [OSSTEST PATCH 03/22] selecthost: Minor cleanups



On Tue, 2015-11-10 at 19:53 +0000, Ian Jackson wrote:
> Document the syntax for $ident.
> 
> Log the ident as well as the selected hostname.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
> Tested-by: Robert Ho <robert.hu@xxxxxxxxx>
> ---
> v14: New patch
> ---
> ÂOsstest/TestSupport.pm |ÂÂÂ16 +++++++++++++++-
> Â1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
> index aa41952..5e88add 100644
> --- a/Osstest/TestSupport.pm
> +++ b/Osstest/TestSupport.pm
> @@ -810,6 +810,20 @@ sub power_state ($$) {
> Âsub selecthost ($) {
> ÂÂÂÂÂmy ($ident) = @_;
> ÂÂÂÂÂ# must be run outside transaction
> +
> +ÂÂÂÂ# $ident is <identspec>
> +ÂÂÂÂ#
> +ÂÂÂÂ# <identspec> can be <ident>, typically "host" or "xxx_host"
> +ÂÂÂÂ# which means look up the runvar $r{$ident} which
> +ÂÂÂÂ# contains <hostspec>
> +ÂÂÂÂ# OR
> +ÂÂÂÂ# <identspec> can be <ident>=<hostspec>
> +ÂÂÂÂ# which means ignore <ident> except for logging purposes etc.
> +ÂÂÂÂ# and use <hostspec>
> +ÂÂÂÂ#
> +ÂÂÂÂ# <hostspec> uis <hostname> which means use that host (and all

          ^is

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


_______________________________________________
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®.