hpiinv1
An openhpi sample application that shows resources' inventory records.
Usage
hpiinv [-D
nn]
[-N
host
[:port]]
[-C
<cfgfile>]
[-V]
[-X]
[-a
tag]
[-h]
hpiinv [--domain=nn]
[--host=host
[:port]]
[--cfgfile=file]
[--verbose]
[--debug]
[--asset-tag=tag]
[--help]
Overview
hpiinv walks the RPT (Resource Present Table) looking for resources that have Inventory Capability. It displays all inventory records found.
If no domain is selected, hpiinv uses a session with the default domain. The selected domain id must be configured via the openhpidclient.conf file specified in the environment.
Options
Help Options:
-
-h, --help -
Show help options
Application Options:
-
-a tag, --asset-tag=tag -
Set the asset tag to the specified string
-
-D nn, --domain=nn -
Select domain id nn
-
-X, --debug -
Display debug messages
-
-V, --verbose -
Verbose mode
-
-N "host[:port]", --host="host[:port]" -
Open session to the domain served by the daemon at the specified URL (host:port). This option overrides the OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT environment variables. If host contains ':' (for example IPv6 address) then enclose it in square brackets. For example: "[::1]" or "[::1]:4743".
-
-C "file", --cfgfile="file" -
Use passed file as client configuration file. This option overrides the OPENHPICLIENT_CONF environment variable.
Environment
For generic OpenHPI, there is *no* additional environment variable required. For some devices; sahalee, mBMC; BMCONLY flag needs to be set for additional device characterization based on rdr.IdString.Data.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.
--asset-tag since Debian 9 (Stretch);
--cfgfile since Debian 9 (Stretch);
--debug since Debian 9 (Stretch);
--domain since Debian 9 (Stretch);
--help since Debian 9 (Stretch);
--host since Debian 9 (Stretch);
--verbose since Debian 9 (Stretch);
-C since Debian 9 (Stretch);
-D since Debian 9 (Stretch);
-N since Debian 9 (Stretch);
-V since Debian 9 (Stretch);
-X since Debian 9 (Stretch);
-a since Debian 9 (Stretch);
-h since Debian 9 (Stretch).