The OpenHPI clients always work with the default domain, even if the openhpiclient.conf file specifies domains.
There is no possibility to use them on other domains or in a multi domain configuration.
All clients should read the openhpiclient.conf file (as hpishell does) and provide options to target a specific domain.
If the openhpiclient.conf defines no domain, the default domain should be used.
If the openhpiclient.conf defines one domain, the clients should use the specified domain if no other option is given.
If the option specifies a domain, that is not defined in openhpiclient.conf, the clients should exit with an error.
If the openhpiclient.conf defines multiple domains, and the client is invoked with no domain option, in many cases the clients should work on all domains.
For instance hpitop, hpitree and hpiinv should display all domains.
In some cases, for instance hpipower, the domain may be mandatory to perform the action.
Log in to post a comment.