Uses of Enum
org.metricshub.ipmi.core.coding.commands.PrivilegeLevel
Packages that use PrivilegeLevel
Package
Description
The client of a BMC.
The asynchronous API.
The API for Serial Over LAN (SOL) communication for IPMI.
The synchronous API of the protocol core:
IpmiConnector opens RMCP+
sessions and sends commands, waiting for their responses.The IPMI commands: one
IpmiCommandCoder per command, which encodes
the request and decodes the response into its ResponseData.Session management related commands.
Package responsible for
Connection management.The
StateMachine events.-
Uses of PrivilegeLevel in org.metricshub.ipmi.client
Methods in org.metricshub.ipmi.client with parameters of type PrivilegeLevelModifier and TypeMethodDescriptionIpmiClient.Builder.privilege(PrivilegeLevel level) Sets the maximum privilege of the session, requested at Open Session and RAKP 1. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.api.async
Methods in org.metricshub.ipmi.core.api.async that return PrivilegeLevelModifier and TypeMethodDescriptionConnectionHandle.getPrivilegeLevel()Returns the maximum privilege level requested for the session, declared withgetChannelAuthenticationCapabilities()orcreateConnection():MaximumAvailablestaysMaximumAvailable, whatever level the session runs at.Methods in org.metricshub.ipmi.core.api.async with parameters of type PrivilegeLevelModifier and TypeMethodDescriptionIpmiAsyncConnector.createConnection(InetAddress address, int port, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuiteandPrivilegeLevel, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.IpmiAsyncConnector.getChannelAuthenticationCapabilities(ConnectionHandle connectionHandle, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Declares the cipher suite and the privilege of the session, and returns the authentication capabilities of the remote host thatIpmiAsyncConnector.getAvailableCipherSuites(ConnectionHandle)read (requested at the User level): sends nothing.voidConnectionHandle.setPrivilegeLevel(PrivilegeLevel privilegeLevel) Sets the maximum privilege level requested for the session. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.api.sol
Methods in org.metricshub.ipmi.core.api.sol that return PrivilegeLevelModifier and TypeMethodDescriptionSerialOverLan.getRaisedPrivilegeLevel()Returns the privilege the console raised the session of the payload to, when that session was opened withMaximumAvailableand the BMC refused to activate the payload at its level: the owner of the session (seeSerialOverLan.getConnectionHandle()) runs it at that level from then on.Constructors in org.metricshub.ipmi.core.api.sol with parameters of type PrivilegeLevelModifierConstructorDescriptionSerialOverLan(IpmiConnector connector, Session session, PrivilegeLevel level, PrivilegeLevel ceiling) Tries to open SOL communication on given existing session, likeSerialOverLan(IpmiConnector, Session), for a session opened withMaximumAvailablewhose level its owner keeps: the console raises it from the given level, when the BMC refuses to activate the payload at that level, as far as the given ceiling only. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.api.sync
Methods in org.metricshub.ipmi.core.api.sync with parameters of type PrivilegeLevelModifier and TypeMethodDescriptionIpmiConnector.createConnection(InetAddress address, int port, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuiteandPrivilegeLevel, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.IpmiConnector.createConnection(InetAddress address, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel) Creates connection to the remote host, with pre setCipherSuiteandPrivilegeLevel, skipping the getAvailableCipherSuites and getChannelAuthenticationCapabilities phases.IpmiConnector.getChannelAuthenticationCapabilities(ConnectionHandle connectionHandle, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Declares the cipher suite and the privilege of the session, and returns the authentication capabilities of the remote host thatIpmiConnector.getAvailableCipherSuites(ConnectionHandle)read (requested at the User level): sends nothing. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.coding.commands
Methods in org.metricshub.ipmi.core.coding.commands that return PrivilegeLevelModifier and TypeMethodDescriptionstatic PrivilegeLevelReturns the enum constant of this type with the specified name.static PrivilegeLevel[]PrivilegeLevel.values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.coding.commands.session
Methods in org.metricshub.ipmi.core.coding.commands.session that return PrivilegeLevelModifier and TypeMethodDescriptionOpenSessionResponseData.getPrivilegeLevel()SetSessionPrivilegeLevel.getPrivilegeLevel()Returns the level the command requests.GetChannelAuthenticationCapabilities.getRequestedPrivilegeLevel()OpenSession.getRequestedPrivilegeLevel()Methods in org.metricshub.ipmi.core.coding.commands.session with parameters of type PrivilegeLevelModifier and TypeMethodDescriptionvoidRakp1.setRequestedMaximumPrivilegeLevel(PrivilegeLevel requestedMaximumPrivilegeLevel) voidGetChannelAuthenticationCapabilities.setRequestedPrivilegeLevel(PrivilegeLevel requestedPrivilegeLevel) voidOpenSession.setRequestedPrivilegeLevel(PrivilegeLevel requestedPrivilegeLevel) Constructors in org.metricshub.ipmi.core.coding.commands.session with parameters of type PrivilegeLevelModifierConstructorDescriptionGetChannelAuthenticationCapabilities(IpmiVersion version, IpmiVersion requestVersion, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel, byte channelNumber) Initiates class.OpenSession(int sessionID, PrivilegeLevel privilegeLevel, CipherSuite cipherSuite) Initiates class for encoding and decoding.Rakp1(int managedSystemSessionId, PrivilegeLevel privilegeLevel, String username, byte[] password, byte[] bmcKey, CipherSuite cipherSuite) Initiates class for encoding and decoding.SetSessionPrivilegeLevel(PrivilegeLevel privilegeLevel) InitiatesSetSessionPrivilegeLevelfor encoding and decoding -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.connection
Methods in org.metricshub.ipmi.core.connection with parameters of type PrivilegeLevelModifier and TypeMethodDescriptionConnection.getChannelAuthenticationCapabilities(int tag, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Declares the cipher suite and the privilege of the session, and returns the authentication capabilities of the managed system thatConnection.getAvailableCipherSuites(int), which must be performed first, read.ConnectionManager.getChannelAuthenticationCapabilities(int connection, CipherSuite cipherSuite, PrivilegeLevel requestedPrivilegeLevel) Declares the cipher suite and the privilege of the session, and returns the authentication capabilities of the managed system thatConnectionManager.getAvailableCipherSuites(int), which must be performed first, read (requested at the User level).intConnection.startSession(int tag, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel, String username, byte[] password, byte[] bmcKey) Initiates the session with the managed system.intConnectionManager.startSession(int connection, CipherSuite cipherSuite, PrivilegeLevel privilegeLevel, String username, byte[] password, byte[] bmcKey) Initiates the session with the managed system. -
Uses of PrivilegeLevel in org.metricshub.ipmi.core.sm.events
Methods in org.metricshub.ipmi.core.sm.events that return PrivilegeLevelModifier and TypeMethodDescriptionAuthenticationCapabilitiesReceived.getPrivilegeLevel()Default.getPrivilegeLevel()Constructors in org.metricshub.ipmi.core.sm.events with parameters of type PrivilegeLevelModifierConstructorDescriptionAuthenticationCapabilitiesReceived(int sessionId, PrivilegeLevel privilegeLevel) Authorize(CipherSuite cipherSuite, int sequenceNumber, PrivilegeLevel privilegeLevel, int sessionId) Default(CipherSuite cipherSuite, int sequenceNumber, PrivilegeLevel privilegeLevel) OpenSessionAck(CipherSuite cipherSuite, PrivilegeLevel privilegeLevel, int sequenceNumber, int managedSystemSessionId, String username, byte[] password, byte[] bmcKey) Provides data required to send RAKP Message 1.