l, pressing TAB a second time will list the possibilities. This is particularly useful when specifying object UUIDs in commands.

Note:

When executing commands on a remote XenServer host, tab completion does not normally work. However if you put the server, username, and password in an environment variable called XE_EXTRA_ARGS on the machine from which you are entering the commands, tab completion is enabled. See the section called “Basic xe syntax” for details.

Command types

Broadly speaking, the CLI commands can be split in two halves: Low-level commands concerned with listing and parameter manipulation of API objects, and higher level commands for interacting with VMs or hosts in a more abstract level. The low-level commands are:

<class>-list

<class>-param-get

<class>-param-set

<class>-param-list

<class>-param-add

<class>-param-remove

<class>-param-clear

where <class> is one of:

bond

console

host

host-crashdump

host-cpu

network

patch

pbd

pif

pool

sm

sr

task

template

vbd

vdi

vif

vlan

144

Page 164
Image 164
Citrix Systems 5.6 manual Command types, Class-list