Module nodeset
[hide private]
[frames] | no frames]

Module nodeset

source code


Usage: nodeset [options] [command]

Commands:
    --count, -c <nodeset> [nodeset ...]
        Return the number of nodes in nodesets.
    --expand, -e <nodeset> [nodeset ...]
        Expand nodesets to separate nodes.
    --fold, -f <nodeset> [nodeset ...]
        Compact/fold nodesets (or separate nodes) into one nodeset.
Options:
    --autostep=<number>, -a <number>
        Specify auto step threshold number when folding nodesets.
        If not specified, auto step is disabled.
        Example: autostep=4, "node2 node4 node6" folds in node[2,4,6]
                 autostep=3, "node2 node4 node6" folds in node[2-6/2]
    --exclude=<nodeset>, -x <nodeset>
        Exclude provided node or nodeset from result. Can be specified
        several times.
    --help, -h
        This help page.
    --intersection, -i
        Calculate nodesets intersection before processing command. This
        means that only nodes that are in every provided nodesets are
        used.
    --xor, -X
        Calculate symmetric difference (XOR) between two nodesets before
        processing command. This means that nodes present in only one of
        the nodesets are used.
    --rangeset, -R
        Switch to RangeSet instead of NodeSet. Useful when working on
        numerical cluster ranges, eg. 1,5,18-31.
    --quiet, -q
        Quiet mode, hide any parse error messages (on stderr).
    --version, -v
        Show ClusterShell version and exit.


Version: 1.1

Functions [hide private]
 
run_nodeset(args)
Main script function.
source code
Variables [hide private]
  __package__ = None