HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

Parameters
Table 92 ImportHosts command parameters
DescriptionStatusParameter name
Host information file name
Use an absolute path or relative path to specify a CSV file that
contains host information.
If a host that cannot be registered with Device Manager is
specified, the record for that host is ignored and the subsequent
records are registered. However, if there are multiple records for
the same host name in the host information file, only the first
record is registered. If the first record for a given host name has
an error, information for that host is not registered, even if other
records for the same host name exist.
Required
inputfile
Mapping definition file name
Use an absolute path or relative path to specify a property format
file that associates the information in the host information file with
the host information to be imported.
If this parameter is omitted, import.properties in the Device
Manager CLI installation directory is used as the mapping
definition file.
Optional
mappingfile
Output destination for check result files and error information files
Use an absolute path or relative path to specify the output
destination for check result files to be output after a check, and
error information files output if an error occurs or a warning is
issued in the check function or import function.
If this parameter is omitted, the files are output to the Device
Manager CLI installation directory.
Optional
resultfilepath
Type of processing to be performed
check:
Check whether the format of the information in the input files
is correct.
import:
Import host information.
If this parameter is omitted, check is assumed.
Optional
function
Specifies whether to update (overwrite) information about a host
already registered with Device Manager if another host that has
the same name is specified.
true: Update
false: Do not update
If true is specified, only the hosts that were manually registered
by using the Device Manager GUI or CLI (AddHost command
or HostScan command) are updated.
If this parameter is omitted, false is assumed.
The specification of this parameter is ignored if check is specified
for the function parameter.
Optional
overwrite
CLI Reference Guide 263