/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sol.robot | 2 Documentation This suite tests IPMI SOL in OpenBMC. 12 Test Setup Start SOL Console Logging 26 Set SOL Enabled 27 [Documentation] Verify enabling SOL via IPMI. 31 ... sol set enabled true 33 # Verify SOL status from ipmitool sol info command. 34 ${sol_info_dict}= Get SOL Info 41 Set SOL Disabled 42 [Documentation] Verify disabling SOL via IPMI. 46 ... sol set enabled false [all …]
|
H A D | test_ipmi_payload.robot | 23 &{standard_payload_types} ipmi_message=0 sol=1 38 # SOL is the payload currently supported for payload status. 39 # Currently supports only one SOL session. 93 Verify Set User Access Payload For Standard Payload SOL 94 …[Documentation] Disable standard payload for SOL and verify IPMI sol activate command does not wo… 361 # Verify the standard payload 1 (sol) is disabled. 371 ... Verify Sol Activate Disabled ${user_name} 374 Verify Sol Activate Disabled 375 [Documentation] Verify SOL activate IPMI command is not working. 382 ... sol activate expected_rc=${1} U=${username} P=${new_user_passwd} [all …]
|
/openbmc/phosphor-net-ipmid/sol/ |
H A D | sol_manager.hpp | 16 namespace sol namespace 35 * Manager class acts a manager for the SOL payload instances and provides 46 /** @brief SOL Payload Instance is the key for the map, the value is the 47 * SOL context. 86 * This parameter is used to indicate when any of the SOL parameters 94 /** @brief SOL enable 96 * This controls whether the SOL payload can be activated. By default 97 * the SOL is enabled. 101 /** @brief SOL payload encryption. 105 * all SOL payload data. Encryption controlled by remote console: [all …]
|
H A D | sol_context.hpp | 11 namespace sol namespace 16 * Operation/Status in an outbound SOL payload format(BMC to Remote Console). 24 uint8_t SOLDeactivating:1; //!< 0 : SOL is active, 1 : SOL deactivated. 34 uint8_t SOLDeactivating:1; //!< 0 : SOL is active, 1 : SOL deactivated. 43 * Operation/Status in an Inbound SOL Payload format(Remote Console to BMC). 72 * SOL Payload Data Format.The following fields make up the SOL payload in an 93 * SOL sequence numbers. At the session level, SOL Payloads share the session 95 * packets under the IPMI session. At the payload level, SOL packets include 97 * retried SOL messages. The sequence numbers must be non-zero. Retried 104 /** @brief Get the SOL sequence number. [all …]
|
H A D | sol_context.cpp | 13 namespace sol namespace 39 // fetch the timeout from the SOL manager in enableAccumulateTimer() 40 std::chrono::microseconds interval = sol::Manager::get().accumulateInterval; in enableAccumulateTimer() 44 auto bufferSize = sol::Manager::get().dataBuffer.size(); in enableAccumulateTimer() 84 // fetch the timeout from the SOL manager in enableRetryTimer() 85 std::chrono::microseconds interval = sol::Manager::get().retryInterval; in enableRetryTimer() 113 * outstanding sequence numbers are not supported in this version of the SOL in processInboundPayload() 119 lg2::info("Out of sequence SOL packet - packet is dropped"); in processInboundPayload() 131 lg2::info("Out of sequence ack number - SOL packet is dropped"); in processInboundPayload() 136 * Retry the SOL payload packet in the following conditions: in processInboundPayload() [all …]
|
H A D | sol_manager.cpp | 20 constexpr const char* solInterface = "xyz.openbmc_project.Ipmi.SOL"; 21 constexpr const char* solPath = "/xyz/openbmc_project/ipmi/sol/"; 24 namespace sol namespace 96 // Register callback to close SOL session for disable SSH SOL in startHostConsole() 110 } // namespace sol in startHostConsole() 139 lg2::error("Get SOL service failed: {ERROR}", "ERROR", e); in updateSOLParameter() 150 lg2::error("Setting sol parameter: {ERROR}", "ERROR", e); in updateSOLParameter() 167 sol::accIntervalFactor * 1ms; in updateSOLParameter() 174 sol::retryIntervalFactor * 1ms; in updateSOLParameter() 198 // Create the SOL Context data for payload instance in startPayloadInstance() [all …]
|
/openbmc/phosphor-net-ipmid/command/ |
H A D | payload_cmds.cpp | 4 #include "sol/sol_manager.hpp" 12 namespace sol namespace 35 // SOL is the payload currently supported for activation. in activatePayload() 36 if (static_cast<uint8_t>(message::PayloadType::SOL) != request->payloadType) in activatePayload() 42 sol::Manager::get().updateSOLParameter(ipmi::convertCurrentChannelNum( in activatePayload() 44 if (!sol::Manager::get().enable) in activatePayload() 50 // Only one instance of SOL is currently supported. in activatePayload() 66 static_cast<uint8_t>(sol::Manager::get().solMinPrivilege)) in activatePayload() 72 // Is SOL Payload enabled for this user & channel. in activatePayload() 78 message::PayloadType::SOL)])) in activatePayload() [all …]
|
H A D | sol_cmds.hpp | 7 namespace sol namespace 13 /** @brief SOL Payload Handler 16 * given IPMI session. The UDP Port number for SOL is the same as the port that 32 * IPMI payload for SOL Activating command. 37 uint8_t sessionState:4; //!< SOL session state. 43 uint8_t sessionState:4; //!< SOL session state. 47 uint8_t majorVersion; //!< SOL format major version 48 uint8_t minorVersion; //!< SOL format minor version 51 /** @brief SOL Activating Command. 54 * that a SOL payload is activating on another channel.The request message is a [all …]
|
H A D | sol_cmds.cpp | 4 #include "sol/sol_context.hpp" 5 #include "sol/sol_manager.hpp" 9 namespace sol namespace 38 auto& context = sol::Manager::get().getContext(handler->sessionID); in payloadHandler() 74 } // namespace sol
|
/openbmc/ipmitool/src/plugins/lanplus/ |
H A D | README.sol | 7 Serial Over Lan (SOL) is defined in the IPMI v2 specification published by 8 Intel and available at http://www.intel.com/design/servers/ipmi/. SOL 12 The high end SOL logic is implemented in src/ipmitool/lib/ipmi_sol.c. SOL 13 sessions are begun in ipmitool using the "sol activate" command. This 16 establish the session. Although the spec allows for a SOL connection to be 23 escape sequences can suspend or deactivate the SOL session and so that data 28 Every SOL packet (with one exception) traveling in either direction causes 31 regarding acks, partial acks, sequence numbers. SOL acknowledgements 36 Note that one way that SOL communication differs from standard IPMI 38 may be returned asyncrhonously from the BMC. When establishing a SOL [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Ipmi/ |
H A D | SOL.interface.yaml | 2 SOL properties use for Get/Set SOL config parameter command in host-ipmid 3 sending config to SOL process in net-ipmid. Since some platforms need to 4 access Get/Set SOL config parameter command through KCS, and current SOL 19 SOL Enable property, this controls whether the SOL payload type can be 25 If SOL enable Force Payload Encryption. 30 If SOL enable Force Payload Authentication 36 to activate SOL by Activate Payload command. 47 BMC will automatically send an SOL character data packet containing
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sol.c | 126 /* payload 1 is SOL */ in ipmi_sol_payload_access() 130 lprintf(LOG_ERR, "Error %sabling SOL payload for user %d on channel %d", in ipmi_sol_payload_access() 134 lprintf(LOG_ERR, "Error %sabling SOL payload for user %d on channel %d: %s", in ipmi_sol_payload_access() 171 lprintf(LOG_ERR, "Error parsing SOL payload status for user %d on channel %d", in ipmi_sol_payload_access_status() 181 lprintf(LOG_ERR, "Error getting SOL payload status for user %d on channel %d: %s", in ipmi_sol_payload_access_status() 219 lprintf(LOG_ERR, "Error: No response requesting SOL parameter '%s'", in ipmi_get_sol_info() 230 "for SOL parameter '%s'", in ipmi_get_sol_info() 236 lprintf(LOG_ERR, "Info: SOL parameter '%s' not supported", in ipmi_get_sol_info() 240 lprintf(LOG_ERR, "Error requesting SOL parameter '%s': %s", in ipmi_get_sol_info() 247 * SOL enable in ipmi_get_sol_info() [all …]
|
/openbmc/docs/designs/ |
H A D | sol-sysrq.md | 1 # SysRq Support in SOL 12 low-level commands. BMC usually provides SysRq support in KVM and SOL functions, 14 in OpenBMC's SOL. 29 OpenBMC SOL involves several ways: 31 - The ipmitool SOL. 32 - The SOL in WebUI. 40 To implement the SysRq in OpenBMC SOL for ipmi and WebUI, the special key code 51 Then in ipmitool SOL session, user could enter `\n~B` keys to trigger the break, 110 The SysRq in SOL could be verified in both ipmitool SOL and WebUI SOL. In SOL
|
/openbmc/ipmitool/control/ |
H A D | ipmitool.spec.in | 90 - Add support for SOL payload status command 91 - SOL set parameter range checking added 92 - Fixed SOL activate options usage 93 - Fixed crashes when parsing 'sol payload' and 'tsol' cmds (#216967) 94 - Added retries to SOL keepalive 120 - Added retries to SOL keepalive 153 - Fix segfault in SOL 178 Intel IPMI v1.5 SOL functionality. Removed "isol setup" command. 192 and sol traffic occurs 207 - Add sol payload enable/disable comman [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | transportconstants.hpp | 141 * using for Set/Get SOL configuration parameters command. 146 Enable, //!< SOL Enable. 147 Authentication, //!< SOL Authentication. 149 Retry, //!< SOL Retry. 150 NonVbitrate, //!< SOL non-volatile bit rate. 151 Vbitrate, //!< SOL volatile bit rate. 152 Channel, //!< SOL payload channel. 153 Port, //!< SOL payload port.
|
/openbmc/openbmc-test-automation/gui/test/server_control/ |
H A D | test_obmc_gui_sol_console.robot | 3 Documentation Test OpenBMC GUI "SOL console" sub-menu of "Server control". 19 Verify Existence Of All Sections In SOL Console Page 20 [Documentation] Verify existence of all sections in SOL console page. 26 Verify Existence Of All Buttons In SOL Console Page 27 [Documentation] Verify existence of all buttons in SOL console page.
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_power_operations.robot | 17 # By default disable SOL logging collection. 70 Run Keyword If ${capture_sol} == ${1} Start SOL Console Logging 75 [Documentation] Collect FFDC and SOL log. 78 Run Keyword If ${capture_sol} == ${1} Stop SOL Capture 87 Stop SOL Capture 88 [Documentation] Stop SOL log collection. 90 ${sol_log}= Stop SOL Console Logging
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 2 * ID: 340 - ipmitool sol session improperly closes on packet retry 27 * ID: 295 - inform user if SOL session disconnected 31 * ID: 278 - Error in sol looptest 56 * ID: 304 - Incorect byteswap in SOL maximum payload 166 * ID: 3609472 - ipmi_sol - Add the instance to the SOL commands 167 * ID: 3588726 - 'ipmitool sol payload status ...;'segfaults on no rsp 193 * ID: 273 - Reduce SOL Input buffer size by SOL header size 359 * Add support for SOL payload status command 360 * SOL set parameter range checking added 361 * Fixed SOL activate options usage [all …]
|
/openbmc/openbmc-test-automation/extended/ |
H A D | test_bios_update.robot | 67 # Have to start SOL logging here. Starting SOL in test setup closes the 69 Run Key Start SOL Console Logging 75 ${keyword_buf}= Catenate Stop SOL Console Logging 76 ... \ targ_file_path=${EXECDIR}${/}logs${/}SOL.log 80 [Documentation] Log FFDC if test suite fails and collect SOL log for
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/settings/phosphor-settings-manager/ |
H A D | ampere_settings.override.yml | 1 /xyz/openbmc_project/ipmi/sol/eth0: 2 - Interface: xyz.openbmc_project.Ipmi.SOL 17 /xyz/openbmc_project/ipmi/sol/eth1: 18 - Interface: xyz.openbmc_project.Ipmi.SOL
|
/openbmc/phosphor-net-ipmid/ |
H A D | message_handler.hpp | 7 #include "sol/console_buffer.hpp" 33 * @brief Create a Handler intended for a send only (SOL) 66 /** @brief Send the SOL payload 68 * The SOL payload is flattened and sent out on the socket 70 * @param[in] input - SOL Payload 76 * This is used by commands like SOL activating, in which case the BMC 77 * has to notify the remote console that a SOL payload is activating
|
H A D | sol_module.hpp | 3 namespace sol namespace 9 /** @brief Register SOL commands to the Command Table */ 14 } // namespace sol
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Ipmi/ |
H A D | meson.build | 2 subdir('SOL') subdir 9 input: [ '../../../../yaml/xyz/openbmc_project/Ipmi/SOL.interface.yaml', ], 10 output: [ 'SOL.md' ], 17 'xyz/openbmc_project/Ipmi/SOL',
|
/openbmc/openbmc-test-automation/bin/ |
H A D | sol_utils.tcl | 5 # This file contains utilities for working with Serial over Lan (SOL). 26 ${program_name} [list "${program_name} is an SOL utilities program that\ 35 host_sol_port [list "The HOST SOL port number." "port"]\ 110 # Login to the SOL console. 129 "an SOL password prompt" 5] 143 "an SOL prompt" 10] 158 qprintn ; qprint_timen "Logged into SOL." 165 set expect_result [expect_wrap [list ${cr_lf_regex}] "an SOL prompt" 5] 168 qprintn ; qprint_timen "Logged into SOL." 176 # Logoff from the SOL console. [all …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_os_reboot.robot | 8 Suite Setup Run Key Start SOL Console Logging 42 # 2. Stop SOL logging. 47 ${keyword_buf}= Catenate Stop SOL Console Logging 48 ... \ targ_file_path=${EXECDIR}${/}logs${/}SOL.log
|