The ilo Command
Learn about the general syntax of the CLI Tool command, ilo, and how to use the command-line help to get more specific syntax information.
CLI Tool Formal Syntax
The formal syntax for the ilo command is:
ilo resource_or_specialCommand argument options
Where:
resource_or_specialCommandrepresents either a resource managed by the PCE or a command unrelated to a particular resource.A resource is an object that the PCE manages, such as a workload, label, or pairing profile.
Example resource command on Linux (create a workload):
ilo workload create --name FriendlyWorkloadName --hostname myWorkload.BigCo.com
A special command is a command that is not related to a specific resource. Special commands include
user,login,use_api_key, andnode_available.Example special command on Windows (log out of PCE):
ilo user logout --id 6
The
argumentrepresents an operation on the resource or special command.The
optionsare allowed options for theresource_or_specialCommand. The specific option depends on the type of resource or special command.
CLI Tool Help
To get a complete list of all the available CLI Tool commands, use the ilo command without options. This command displays the high-level syntax of special commands, resources, and their allowable options.
For details about a resource's or special command's arguments, specify the resource's name followed by the argument followed by the --help option. For example:
ilo workload create --help