Add a simulated cluster data loader
[ganeti-local] / hspace.1
index d88982c..145f619 100644 (file)
--- a/hspace.1
+++ b/hspace.1
@@ -33,6 +33,7 @@ Request options:
 .BI "[--memory " mem "]"
 .BI "[--disk " disk "]"
 .BI "[--req-nodes " req-nodes "]"
+.BI "[--vcpus " vcpus "]"
 
 
 .SH DESCRIPTION
@@ -177,6 +178,10 @@ The number of nodes for the instances; the default of two means
 mirrored instances, while passing one means plain type instances.
 
 .TP
+.BI "--vcpus " vcpus
+The number of VCPUs of the instances to be placed (defaults to 1).
+
+.TP
 .BI "--max-cpu " cpu-ratio
 The maximum virtual-to-physical cpu ratio, as a floating point number
 between zero and one. For example, specifying \fIcpu-ratio\fR as
@@ -295,6 +300,36 @@ socket on which the master daemon listens; otherwise, the default path
 used by ganeti when installed with "--localstatedir=/var" is used.
 
 .TP
+.BI "--simulate " description
+Instead of using actual data, build an empty cluster given a node
+description. The \fIdescription\fR parameter must be a comma-separate
+list of four elements, describing in order:
+
+.RS
+
+.RS
+.TP
+the number of nodes in the cluster
+
+.TP
+the disk size of the nodes, in mebibytes
+
+.TP
+the memory size of the nodes, in mebibytes
+
+.TP
+the cpu core count for the nodes
+
+.RE
+
+An example description would be \fB20,102400,16384,4\fR describing a
+20-node cluster where each node has 100GiB of disk space, 16GiB of
+memory and 4 CPU cores. Note that all nodes must have the same specs
+currently.
+
+.RE
+
+.TP
 .B -v, --verbose
 Increase the output verbosity. Each usage of this option will increase
 the verbosity (currently more than 2 doesn't make sense) from the