Package org.sentrysoftware.ipmi.client
Class IpmiClientConfiguration
java.lang.Object
org.sentrysoftware.ipmi.client.IpmiClientConfiguration
IPMI configuration including the required credentials that need to be used to establish the
communication with the IPMI interface
-
Constructor Summary
ConstructorsConstructorDescriptionIpmiClientConfiguration(String hostname, String username, char[] password, byte[] bmcKey, boolean skipAuth, long timeout) Instantiates a newIpmiClientConfigurationin order to query the IPMI host. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]char[]longbooleanvoidsetBmcKey(byte[] bmcKey) voidsetHostname(String hostname) voidsetPassword(char[] password) voidsetSkipAuth(boolean skipAuth) voidsetTimeout(long timeout) voidsetUsername(String username)
-
Constructor Details
-
IpmiClientConfiguration
public IpmiClientConfiguration(String hostname, String username, char[] password, byte[] bmcKey, boolean skipAuth, long timeout) Instantiates a newIpmiClientConfigurationin order to query the IPMI host.- Parameters:
hostname- IP Address or host name of the remote IPMI host.username- Name used to establish the connection with the host via the IPMI protocol.password- Password used to establish the connection with the host via the IPMI protocol.bmcKey- The key that should be provided if the two-key authentication is enabled, null otherwise.skipAuth- Whether the client should skip authenticationtimeout- Timeout used for each IPMI request.
-
-
Method Details
-
getHostname
-
setHostname
-
getUsername
-
setUsername
-
getPassword
public char[] getPassword() -
setPassword
public void setPassword(char[] password) -
getBmcKey
public byte[] getBmcKey() -
setBmcKey
public void setBmcKey(byte[] bmcKey) -
isSkipAuth
public boolean isSkipAuth() -
setSkipAuth
public void setSkipAuth(boolean skipAuth) -
getTimeout
public long getTimeout() -
setTimeout
public void setTimeout(long timeout)
-