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

Command execution result 1
RESPONSE:
Verification of records from 1 to 15
in "D:\work\hostImport.csv" is complete.
Number of hosts that can be imported = 10
Number of hosts that cannot be imported = 5
Number of hosts that can be imported but for which a warning was given = 1
See "D:\work\ImportHostsCheckResult-20120515113355.txt" for information
about the hosts that can be imported.
See "D:\work\ImportHostsResult-20120515113355.log" for details about
errors and warnings.
The command execution result is output to the standard output. Follow the instructions given in the
displayed message and confirm that the file contents are correct.
The following describes the output items:
Number of hosts that can be imported
Number of hosts that can be imported (including the value for Number of hosts that can
be imported but for which a warning was given)
Number of hosts that cannot be imported
Number of hosts that cannot be imported due to an invalid format or other problems
Number of hosts that can be imported but for which a warning was given
Number of hosts that can be imported but for which a warning was issued
Check the warnings issued to the error information output file, before importing hosts.
Command execution example 2
In this example, the ImportHosts command with import specified for the function parameter
imports information about hosts.
hdvmcli ImportHosts "function=import"
"inputfile=D:\work\hostImport.csv" "mappingfile=D:\work\import.properties"
"resultfilepath= D:\work" "overwrite=true"
Command execution result 2
RESPONSE:
The import of records from 1 to 10
in "D:\work\hostImport.csv" is complete.
Number of hosts added = 5
Number of hosts updated = 2
Number of hosts that failed = 3
Number of hosts added or updated with a warning = 2
See "D:\work\ImportHostsResult-20120515113355.log" for details
about errors and warnings.
The command execution result is output to the standard output. If there is an output file, follow the
instructions given in the displayed message and confirm that the file contents are correct.
CLI Reference Guide 305