@@ -119,9 +119,9 @@ Each previous operators can be negated by adding \fB!\fP before it.
\fB,n\fP limit from n object to last object
.SS NUMBER FACILITY
\fB10k\fP = 1000
\fB1k\fP = 1000
.br
\fB10ki\fP = 1024
\fB1ki\fP = 1024
.br
\fB1m\fP = 1 000 ^ 2
.br
@@ -132,7 +132,7 @@ Each previous operators can be negated by adding \fB!\fP before it.
\fB1gi\fP = 1 024 ^ 3
.SS EXAMPLE
For example, See the command \fBlist\fP
For examples, See the command \fBlist\fP
.SH GENERIC COMMANDS
@@ -171,7 +171,7 @@ All is deny by default
.br
When a user tape a command, cli check the rights from index 0 to the last, if the method and the right tql match whith command, right is applied, else it check the next rights, and if not found a matching rights, it deny the command
.TP
Example:
\fBExample :\fP
\fB[0] tql: method:* target:allow\fP
.br
\fB[1] tql: method:list target:deny\fP
@@ -217,13 +217,12 @@ No tagdisplay custom display
\fB--no-color\fP
No output coloration
.TP
\fBExample\fP
\fBExample :\fP
.TP
\fBaddright id=toto "" * allow 0\fP
.br
Allow all method whith all query tql in index 0 for account toto
\fBaddright id=toto "id=toto" list deny 0\fP
.br
Deny method list whith tql "id=toto" for account toto in index 0 (deny commands' example: list id=toto, list id:t*, ...)
.SS alias [\fIoptions\fP] [\fIname\fP] [\fIvalue\fP]
@@ -240,6 +239,7 @@ show this help message and exit
.TP
\fBalias w "list a&con!=offline&r=cli"\fP
Setting an alias w, which list online client
.TP
\fBalias vm "list r=vm&status=running$cpu"\fP
Setting an alias vm, which list running vm (and show cpu)
@@ -453,7 +453,7 @@ line aligment display
.P
\fBExample :\fP
.br
\fBlist\fP
.br
list all accounts
@@ -484,7 +484,7 @@ line aligment display
\fBlist r=hv&cpu=2&mem>10g\fP
.br
list hypervisor with no vm
list hypervisor with 2 cpu and 10G memory
\fBlist cpu>=2$pop$alloc\fP
.br
@@ -551,6 +551,7 @@ Print TQL before sending to server
No tagdisplay custom display
.TP
\fBExample :\fP
\fB>>right id=toto\fP
.br
a:toto
@@ -581,6 +582,8 @@ show server version
.SS shutdown [\fIoptions\fP] \fI<tql>\fP
Shutdown a physical host
The command add tql \fB&con&r~'host|hv'\fP
.TP
\fBOptions :\fP
.TP
@@ -615,6 +618,7 @@ Reboot after shutdown (default)
Halt after shutdown
.TP
\fB-F\fP
.br
do not go through init but go down real fast
@@ -666,97 +670,97 @@ Reserved tags are tags with a special meaning and cannot be set or remove direct
\fBip\fP : ipv4 of connection
.SS WELL KNOWN TAGS
\fBh\fP : hostname (eg: access)
.br
\fBhv\fP : hypervisor name (eg: kvmlab-1)
\fBalloc\fP : host is allowed to be selected to a migration
.br
\fBhtype\fP : hypervisor type (xen/kvm)
\fBarch\fP : hardware architecture (x86/x64)
.br
\fBlibvirtver\fP : Libvirt version
\fBchaasset\fP : blade chassis asset tag (dell tag)
.br
\fBstatus\fP : VM status (running/paused/stopped)
\fBchaserial\fP : blade chassis serial number (dell tag)
.br
\fBcpu\fP : cpu count
.br
\fBrcpu\fP : reserved cpu count
\fBcpufreq\fP : cpu core frequency
.br
\fBmem\fP : memory total size
\fBcputhread\fP : total number of cpu thread
.br
\fBmemused\fP : memory used
\fBcpuuse\fP : global cpu usage (percentage)
.br
\fBmemfree\fP : memory free
\fBdisk\fP : disk index list (eg: 1 2 3 4)
.br
\fBarch\fP : hardware architecture (x86/x64)
\fBdisk1_path\fP : disk 1 path (eg: /dev/vg/sex)
.br
\fBuname\fP : output of uname command
\fBdisk1_pool\fP : storage pool back reference (eg: vg) [vmonly]
.br
\fBuptime\fP : uptime of hostname
\fBdisk1_size\fP : disk 1 size (eg: 1024)
.br
\fBload\fP : load average
\fBdisk1_vol\fP : storage pool volume back reference (eg: titi) [vmonly]
.br
\fBos\fP: operating system (linux/windows)
\fBh\fP: hostname (eg: access)
.br
\fBalloc\fP : host is allowed to be selected to a migration
\fBhbios\fP : host bios version and/or date (eg: A05 (01/09/2006))
.br
\fBhvm\fP : hardware virtualisation enabled
\fBhmodel\fP : host model (eg: PowerEdge 2850)
.br
\fBnvm\fP : vm count on an hypervisor
\fBhserial\fP : host serial number (eg: Dell service tag)
.br
\fBvmstarted\fP : started vm count on an hypervisor
\fBhtype\fP : hypervisor type (xen/kvm)
.br
\fBvmstopped\fP : stopped vm count on an hypervisor