ASU proxy tool

ToolsCenter Suite CLI can utilize scripts from prior releases of Advanced Settings Utility using the ASU proxy tool. The ASU proxy tool is an executable binary that maps a script to its corresponding ToolsCenter Suite CLI command.

ASU proxy tool syntax

asu.exe [command][-parameter]
For more information about ASU, refer to:

The following table lists commands and parameters used by the ASU proxy tool and the corresponding ToolsCenter Suite CLI commands and parameters.

Table 1. ASU commands and parameters
ASU Command ASU parameter ToolsCenter Suite CLI command ToolsCenter Suite CLI parameter
show -n show node
--host --user --password --imm user:pwd@host
--group The mapped result for asu show --group IMM is OneCli show IMM. The --group parameter is removed in the ToolsCenter Suite CLI command string.
showvalues -n showvalues --node
--host --user --password --imm user:pwd@host
--group The mapped result for asu show --group IMM is OneCli show IMM. The --group parameter is removed in the ToolsCenter Suite CLI command string.
showdefault -n showdefault --node
--host --user --password --imm user:pwd@host
--group The mapped result for asu show --group IMM is OneCli show IMM. The --group parameter is removed in the ToolsCenter Suite CLI command string.
comparedefault -n comparedefault --node
--host --user --password --imm user:pwd@host
showgroups -n showgroups --node
--host --user --password --imm user:pwd@host
set -n set --node
--host --user --password --imm user:pwd@host
loaddefault -n loaddefault --node
--host --user --password --imm user:pwd@host
creatuuid --host --user --password creatuuid --imm user:pwd@host
delete -n delete --node
--host --user --password --imm user:pwd@host
save   save The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
--group The mapped result for asu show --group IMM is OneCli show IMM. The --group parameter is removed in the ToolsCenter Suite CLI command string.
replicate   replicate The --file parameter is added by default.
--host --user --password --imm user:pwd@host
restore   restore The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
batch   batch The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
generate   generate The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
export   export The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
import   import The --file parameter is added by default.
-n --node
--host --user --password --imm user:pwd@host
deletecert -n deletecert --node
--host --user --password --imm user:pwd@host
nodes --host --user --password nodes --imm user:pwd@host
help -n showdes --node
--host --user --password --imm user:pwd@host

Example of an ASU script using the --group parameter

asu.exe show --group GROUP1
This is the output generated from this example:
Lenovo ASU 0.1.5

Lenovo ToolsCenterSuite CLI tcliXXX-X.X.X
Based on module version X.X.X
Licensed Materials - Property of Lenovo
(C) Copyright Lenovo Corp. 2013-2016 All Rights Reserved
Invoking SHOW command ...
Connected to IMM by IP address 10.240.252.102
IMM.Cert_CSR_Export_Format=DER
IMM.SSH_SERVER_KEY=Installed
The SHOW command execute successful!

Example of an ASU script using the --host parameter

asu.exe help all --host 10.240.12.23 --user USERID --password password
In this example, the asu.exe --host parameter maps to:
OneCli.exe config showdes --imm USERID:password@10.240.12.23