selection string change *def manpages update
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
49683bda7f
commit
1b4e291b5c
@ -8,7 +8,7 @@ B<chdef> [B<-h>|B<--help>] [B<-t> I<object-types>]
|
||||
|
||||
B<chdef> [B<-V>|B<--verbose>] [B<-t> I<object-types>] [B<-o> I<object-names>]
|
||||
[B<-d>|B<--dynamic>] [B<-p>|B<--plus>] [B<-m>|B<--minus>] [B<-z>|B<--stanza>]
|
||||
[[B<-w> "I<attr>==I<val>"] [B<-w> "I<attr>=~I<val>"] ...] [I<noderange>] [I<attr>=I<val> [I<attr>=I<val...>]]
|
||||
[[B<-w> I<attr>==I<val>] [B<-w> I<attr>=~I<val>] ...] [I<noderange>] [I<attr>=I<val> [I<attr>=I<val...>]]
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
@ -54,7 +54,7 @@ A set of comma delimited object types. Use the help option to get a list of val
|
||||
|
||||
Verbose mode.
|
||||
|
||||
=item B<-w> I<"attr==val"> B<-w> I<"attr=~val"> ...
|
||||
=item B<-w> I<attr==val> B<-w> I<attr=~val> ...
|
||||
|
||||
Use one or multiple -w flags to specify the selection string that can be used to select objects. The operators ==, !=, =~ and !~ are available. Use the help option to get a list of validattributes for each object type.
|
||||
|
||||
@ -124,7 +124,7 @@ To update a set of definitions based on information contained in the stanza file
|
||||
|
||||
To update a dynamic node group definition to add the cons=hmc wherevals pair.
|
||||
|
||||
chdef -t group -o dyngrp -d -p -w "cons==hmc"
|
||||
chdef -t group -o dyngrp -d -p -w cons==hmc
|
||||
|
||||
=back
|
||||
|
||||
|
@ -8,7 +8,7 @@ B<lsdef> [B<-h>|B<--help>] [B<-t> I<object-types>]
|
||||
|
||||
B<lsdef> [B<-V>|B<--verbose>] [B<-l>|B<--long>] [B<-a>|B<--all>] [B<-t> I<object-types>]
|
||||
[B<-o> I<object-names>] [B<-z>|B<--stanza>] [B<-i> I<attr-list>]
|
||||
[[B<-w> "I<attr>==I<val>"] [B<-w> "I<attr>=~I<val>"] ...] [I<noderange>]
|
||||
[[B<-w> I<attr>==I<val>] [B<-w> I<attr>=~I<val>] ...] [I<noderange>]
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
@ -54,11 +54,11 @@ A set of comma delimited object types. Use the help option to get a list of vali
|
||||
|
||||
Verbose mode.
|
||||
|
||||
=item B<-w> I<"attr==val"> B<-w> I<"attr=~val"> ...
|
||||
=item B<-w> I<attr==val> B<-w> I<attr=~val> ...
|
||||
|
||||
Use one or multiple -w flags to specify the selection string that can be used to select objects. The operators ==, !=, =~ and !~ are available. Use the help option to get a list of validattributes for each object type.
|
||||
|
||||
Note: the operator !~ will be parsed by shell, if you want to use !~ in the selection string, use single quote instead. For example:-w 'mgt!~ipmi'.
|
||||
Note: if the "val" fields includes spaces or any other characters that will be parsed by shell, the "attr<operator>val" needs to be quoted. If the operator is "!~", the "attr<operator>val" needs to be quoted using single quote.
|
||||
|
||||
=item B<-z|--stanza>
|
||||
|
||||
@ -125,7 +125,7 @@ To list an osimage definition named "aix53J".
|
||||
|
||||
To list all node definitions that have a status value of "booting".
|
||||
|
||||
lsdef -t node -w "status==booting"
|
||||
lsdef -t node -w status==booting
|
||||
|
||||
=item 9.
|
||||
|
||||
|
@ -8,7 +8,7 @@ B<mkdef> [B<-h>|B<--help>] [B<-t> I<object-types>]
|
||||
|
||||
B<mkdef> [B<-V>|B<--verbose>] [B<-t> I<object-types>] [B<-o> I<object-names>]
|
||||
[B<-z>|B<--stanza>] [B<-d>|B<--dynamic>] [B<-f>|B<--force>]
|
||||
[[B<-w> "I<attr>==I<val>"] [B<-w> "I<attr>=~I<val>"] ...] [I<noderange>] [I<attr>=I<val> [I<attr>=I<val...>]]
|
||||
[[B<-w> I<attr>==I<val>] [B<-w> I<attr>=~I<val>] ...] [I<noderange>] [I<attr>=I<val> [I<attr>=I<val...>]]
|
||||
|
||||
|
||||
=head1 DESCRIPTION
|
||||
@ -52,11 +52,11 @@ A set of comma delimited object types. Use the help option to get a list of val
|
||||
|
||||
Verbose mode.
|
||||
|
||||
=item B<-w> I<"attr==val"> B<-w> I<"attr=~val"> ...
|
||||
=item B<-w> I<attr==val> B<-w> I<attr=~val> ...
|
||||
|
||||
Use one or multiple -w flags to specify the selection string that can be used to select objects. The operators ==, !=, =~ and !~ are available. For mkdef commmand, the -w flag only makes sense for creating dynamic node group. Use the help option to get a list of validattributes for each object type.
|
||||
|
||||
Note: the operator !~ will be parsed by shell, if you want to use !~ in the selection string, use single quote instead. For example:-w 'mgt!~ipmi'.
|
||||
Note: if the "val" fields includes spaces or any other characters that will be parsed by shell, the "attr<operator>val" needs to be quoted. If the operator is "!~", the "attr<operator>val" needs to be quoted using single quote.
|
||||
|
||||
=item B<-z|--stanza>
|
||||
|
||||
@ -124,7 +124,7 @@ To create node definitions for a set of node host names contained in the node ra
|
||||
|
||||
To create a dynamic node group definition called HMCMgtNodes containing all the HMC managed nodes"
|
||||
|
||||
mkdef -t group -o HMCMgtNodes -d -w "mgt==hmc" -w "cons==hmc"
|
||||
mkdef -t group -o HMCMgtNodes -d -w mgt==hmc -w cons==hmc
|
||||
|
||||
=item 9.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user