/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_bmc_dumps.robot | 3 Documentation Test BMC dump functionality of OpenBMC. 12 Test Setup Redfish Delete All BMC Dumps 30 [Documentation] Delete non existing BMC dump and expect an error. 34 ${dump_id}= Create User Initiated BMC Dump Via Redfish 35 Wait Until Keyword Succeeds 15 sec 5 sec Redfish Delete BMC Dump ${dump_id} 36 Run Keyword And Expect Error ValueError: * Redfish Delete BMC Dump ${dump_id} 39 Verify User Initiated BMC Dump When Host Powered Off 40 [Documentation] Create user initiated BMC dump at host off state and 45 ${dump_id}= Create User Initiated BMC Dump Via Redfish 46 ${dump_entries}= Get BMC Dump Entries [all …]
|
H A D | test_managers_bmc.robot | 2 Documentation Test BMC Manager functionality. 25 Verify Redfish BMC Firmware Version 26 [Documentation] Get firmware version from BMC manager. 32 ${bmc_version}= Get BMC Version 37 Verify Redfish BMC Manager Properties 38 [Documentation] Verify BMC managers resource properties. 61 [Documentation] Verify BMC managers resource properties. 64 # Get OrderedDict from the BMC which contains active ethernet channel. 100 ${ipaddr_mac_addr}= Get BMC MAC Address List 106 Redfish BMC Manager GracefulRestart When Host Off [all …]
|
H A D | test_bmc_ipv6.robot | 32 Verify IPv6 On BMC ${ipv6_network_configuration['Address']} 41 Verify IPv6 On BMC ${ipv6_network_configuration['PrefixLength']} 51 Verify IPv6 Default Gateway On BMC ${ipv6_gateway} 54 Verify All Configured IPv6 And PrefixLength On BMC 55 [Documentation] Verify IPv6 address and its prefix length on BMC. 67 [Template] Configure IPv6 Address On BMC 78 Configure IPv6 Address On BMC ${test_ipv6_addr} ${test_prefix_length} 90 Configure IPv6 Address On BMC ${test_ipv6_addr} ${test_prefix_length} 95 Verify Persistency Of IPv6 After BMC Reboot 96 [Documentation] Verify persistency of IPv6 after BMC reboot. [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_discovery.robot | 2 Documentation Test to discover the BMC. Before running suit, 3 ... check BMC and Avahi browse machine should be in same subnet. 24 Discover BMC With Different Service Type 25 [Documentation] Discover all the BMC with different service type support. 27 [Template] Discover BMC With Service Type 34 Discover BMC Pre And Post Reboot 35 [Documentation] Discover BMC before and after reboot. 37 [Template] Set Daemon And Discover BMC After Reboot 44 Disable AvahiDaemon And Discover BMC After Reboot 45 [Documentation] BMC should be discoverable in next reboot even after disabling Avahi daemon. [all …]
|
H A D | test_savearea_management.robot | 3 Documentation Test Save Area feature of Management Console on BMC. 45 Redfish Upload Lower Limit Partition File To BMC 46 [Documentation] Upload lower limit of allowed partition file to BMC using Redfish. 54 Redfish Upload Partition File To BMC 55 [Documentation] Upload partition file to BMC using Redfish. 66 Test Upload Lower Limit Partition File To BMC And Expect Failure 67 [Documentation] Fail to upload partition file to BMC with file size 76 Test Upload Upper Limit Partition File To BMC And Expect Failure 77 [Documentation] Fail to upload partition file to BMC with file size 86 Redfish Upload Multiple Partition File To BMC [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_bmc_devicetree.robot | 2 Documentation This suite is for Verifying BMC device tree. 16 Check BMC Model Property Is Set 17 [Documentation] Verify if the BMC Model is populated in the device tree. 25 Check BMC Compatible Property Is Set 26 [Documentation] Verify if the BMC compatible property is populated. 34 Check BMC CPU Name Property Is Set 35 [Documentation] Verify if the BMC CPU name property is populated. 43 Check BMC CPU Compatible Property Is Set 44 [Documentation] Verify if the BMC CPU compatible property is populated. 52 Check BMC Memory Name Property Is Set [all …]
|
/openbmc/openbmc-test-automation/redfish/events/ |
H A D | test_bmc_snmp_trap.robot | 22 Configure SNMP Manager On BMC And Verify 23 [Documentation] Configure SNMP manager on BMC via Redfish and verify. 29 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 32 Configure SNMP Manager On BMC With Non Default Port And Verify 33 [Documentation] Configure SNMP Manager On BMC And Verify. 39 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} 42 Configure SNMP Manager On BMC With Out Of Range Port And Verify 43 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify. 50 ... Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${out_of_range_port} 53 ... msg=BMC is allowing to configure out of range port. [all …]
|
H A D | test_bmc_snmp_config.robot | 39 Configure SNMP Manager On BMC And Verify 40 [Documentation] Configure SNMP Manager On BMC And Verify. 43 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} Valid 48 Configure SNMP Manager On BMC With Non Default Port And Verify 49 [Documentation] Configure SNMP Manager On BMC And Verify. 52 Configure SNMP Manager On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} Valid 57 Configure SNMP Manager On BMC With Out Of Range Port And Verify 58 [Documentation] Configure SNMP Manager On BMC with out-of range port and verify. 60 [Template] Configure SNMP Manager On BMC 65 Configure SNMP Manager On BMC With Alpha Port And Verify [all …]
|
/openbmc/openbmc-test-automation/extended/code_update/ |
H A D | bmc_code_update.robot | 2 Documentation Update the BMC code on a target BMC. 39 Test Basic BMC Performance Before BMC Code Update 40 [Documentation] Check performance of memory, CPU & file system of BMC. 44 Check BMC Performance 51 BMC Execute Command rm -rf /tmp/tarball 52 Install Debug Tarball On BMC tarball_file_path=${DEBUG_TARBALL_PATH} 55 BMC Execute Command /tmp/tarball/bin/logging-test -c ${test_errlog_text} 73 REST BMC Code Update 74 [Documentation] Do a BMC code update by uploading image on BMC via REST. 76 [Teardown] REST BMC Code Update Teardown [all …]
|
/openbmc/openbmc-test-automation/extended/ |
H A D | test_bmc_reset_loop.robot | 33 # check if BMC is still pinging and FFDC is collected. 37 Run Multiple BMC Reset Via Redfish 43 # check if BMC is still pinging and FFDC is collected. 44 Repeat Keyword ${LOOP_COUNT} times BMC Redfish Reset Cycle 47 Run Multiple BMC Reset Via Reboot 53 # check if BMC is still pinging and FFDC is collected. 54 Repeat Keyword ${LOOP_COUNT} times BMC Reboot Cycle 57 Run Multiple BMC Reset When Host Is Booted Via Redfish 63 # check if BMC is still pinging and FFDC is collected. 64 Repeat Keyword ${LOOP_COUNT} times BMC Redfish Reset Runtime Cycle [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/operations_menu/ |
H A D | test_reboot_bmc_sub_menu.robot | 3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Operation" menu. 16 ${xpath_reboot_bmc_heading} //h1[text()="Reboot BMC"] 17 ${xpath_reboot_bmc_button} //button[contains(text(),'Reboot BMC')] 23 Verify Navigation To Reboot BMC Page 24 [Documentation] Verify navigation to reboot BMC page. 30 Verify Existence Of All Buttons In Reboot BMC Page 31 [Documentation] Verify existence of all buttons in reboot BMC page. 37 Verify Existence Of All Sections In Reboot BMC Page 38 [Documentation] Verify Existence Of All Sections In Reboot BMC Page. 41 Page Should Contain Last BMC reboot [all …]
|
/openbmc/phosphor-state-manager/ |
H A D | bmc_state_manager.cpp | 39 const std::map<server::BMC::Transition, const char*> SYSTEMD_TABLE = { 40 {server::BMC::Transition::Reboot, "reboot.target"}}; 47 std::string BMC::getUnitState(const std::string& unitToCheck) in getUnitState() 92 void BMC::discoverInitialState() in discoverInitialState() 119 void BMC::executeTransition(const Transition tranReq) in executeTransition() 123 if (server::BMC::Transition::HardReboot == tranReq) in executeTransition() 177 int BMC::bmcStateChange(sdbusplus::message_t& msg) in bmcStateChange() 223 BMC::Transition BMC::requestedBMCTransition(Transition value) in requestedBMCTransition() 233 if ((server::BMC::Transition::Reboot == value) && in requestedBMCTransition() 242 return server::BMC::requestedBMCTransition(value); in requestedBMCTransition() [all …]
|
/openbmc/docs/designs/ |
H A D | bios-bmc-smm-error-logging.md | 1 # BIOS->BMC SMM Error Logging Queue Daemon 16 (SMM) to provide error logs to the BMC, requiring messages to be sent as quickly 17 as possible without a handshake / ack back from the BMC due to the time 19 implement a circular buffer over a shared BIOS->BMC buffer that the BIOS can 24 There are various ways of communicating between the BMC and the BIOS, but there 28 Different BMC vendors support different methods such as Shared Memory (SHM, via 38 1. The BMC shall initialize the shared buffer in a way that the BIOS can 41 the BMC before any writes to the shared buffer (**no synchronization**) 42 3. The BIOS shall be the main writer to the shared buffer, with the BMC mainly 44 4. The BMC shall read new payloads from the shared buffer for further processing [all …]
|
H A D | remote-bios-configuration.md | 1 # Remote BIOS Configuration (RBC) via BMC 15 setup configuration parameters remotely via a BMC at any Host state. New BIOS 29 2. BMC should support the ability to set the value of all BIOS variables to the 31 3. Based on the host firmware support model, BMC should support both Immediate 33 4. In deferred model, When the system is in S0, S3, S4 or S5 state. BMC will 36 5. In immediate model, BMC should send message to the system firmware (BIOS) 38 6. BMC should support BIOS attribute registry in redfish schema for BIOS 40 7. BMC should provide secure way for updating BIOS setup password settings. 45 9. BMC should able to take default / current settings from host and store & 46 expose that for out of band updates. 10.BMC should provide the new values to [all …]
|
/openbmc/docs/architecture/ |
H A D | interface-overview.md | 3 Purpose: This introduces a simplified view of the BMC's primary interfaces. It 8 - Give BMC administrators and system integrators a simplified view of the BMC's 12 nicely. For example, to understand the BMC's attack surfaces. 16 This section shows the BMC's primary interfaces and how they are related. It 17 begins with the BMC's physical interfaces and moves toward abstractions such as 32 example, disabling a BMC service will disable the corresponding external 41 management agents on the left side, the BMC in the center, and host elements on 46 This shows the BMC's physical connections including network, USB, UART serial, 48 which shows only the host interfaces that connect directly to the BMC. A typical 51 Interfaces between the BMC and its host platform vary considerably based on BMC [all …]
|
/openbmc/openbmc-test-automation/xcat/ |
H A D | test_xcat_group.robot | 2 Documentation Module for testing BMC via XCAT. 21 Add BMC Nodes To XCAT 22 [Documentation] Connect and add BMC nodes. 25 # Add BMC nodes one by one and check whether it is successfully added. 36 # Power on each BMC node and validate the power status. 47 # Power off each BMC node and validate the power status. 55 [Documentation] Add BMC nodes into group. 58 # Add BMC nodes to group and validate. 78 # List the BMC nodes. 82 # Validate power status on each BMC node one by one. [all …]
|
/openbmc/openbmc-test-automation/openpower/pel/ |
H A D | test_bmc_pel.robot | 33 ${pel_id}= Get PEL Log Via BMC CLI 43 ${bmc_time1}= CLI Get BMC DateTime 45 ${bmc_time2}= CLI Get BMC DateTime 52 # [CreatorID]: BMC 55 # [Subsystem]: BMC Firmware 78 # Convert BMC and PEL time to epoch time before comparing. 92 ${pel_ids}= Get PEL Log Via BMC CLI 100 Verify PEL Log Persistence After BMC Reboot 101 [Documentation] Verify PEL log persistence after BMC reboot. 105 ${pel_before_reboot}= Get PEL Log Via BMC CLI [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | state_manager.robot | 222 Get BMC State 223 [Documentation] Return the state of the BMC. 231 Put BMC State 232 [Documentation] Put BMC in given state. 234 # expected_state - expected BMC state 236 ${bmc_state}= Get BMC State 238 ... Log BMC is already in ${expected_state} state 242 Initiate BMC Reboot 243 [Documentation] Initiate BMC reboot. 257 ${session_active}= Check If BMC Reboot Is Initiated [all …]
|
/openbmc/docs/architecture/code-update/ |
H A D | code-update.md | 3 Two BMC Code layouts are available: 12 The following are the steps to update the BMC. 14 1. Get a BMC image tar: After building OpenBMC, you will end up with a set of 22 The BMC tar image contains 5 files: u-boot, kernel, ro, and rw partitions and 30 purpose=xyz.openbmc_project.Software.Version.VersionPurpose.BMC 37 2. Transfer the generated BMC image to the BMC via one of the following methods: 42 - Method 2: Via scp: Copy the generated BMC image to the `/tmp/images/` 43 directory on the BMC. 56 - Method 1: From the BMC command line, note the most recent directory name 81 …tar xfO <BMC tar image> MANIFEST | sed -ne '/version=/ {s/version=//;p}' | head -n1 | tr -d '\n' |… [all …]
|
/openbmc/libmctp/docs/bindings/ |
H A D | vendor-ibm-astlpc.md | 1 # Management Component Transport Protocol (MCTP) LPC Transport Binding Specification for ASPEED BMC… 6 host and BMC over the LPC bus on ASPEED BMC platforms. 40 byte buffer which is written by the host and read by the BMC. 61 remapping of the LPC firmware cycles onto arbitrary regions of the BMC's 73 flag indicates that a value has been written by the BMC to the corresponding 79 byte buffer which is written by the BMC and read by the host. 84 BMC-controlled, eight-bit register exposed to both the BMC and the host for 102 BMC memory, using the LPC2AHB hardware 104 In order to transfer a packet, either side of the channel (BMC or host) will: 107 - The BMC will perform writes by writing to the memory backing the LPC window [all …]
|
/openbmc/openbmc-test-automation/gui/gui_test/settings_menu/ |
H A D | test_snmp_alerts_sub_menu.robot | 74 Configure SNMP Settings On BMC With Non Default Port Via GUI And Verify 75 [Documentation] Configure SNMP settings on BMC with non default port via GUI and verify. 83 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${NON_DEFAULT_PORT1} 86 Configure SNMP Settings On BMC Via GUI And Verify 87 [Documentation] Configure SNMP settings on BMC via GUI and verify. 95 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 98 Configure SNMP Settings On BMC With Empty Port Via GUI And Verify 99 [Documentation] Configure SNMP settings on BMC with empty port via GUI and verify. 108 Verify SNMP Manager Configured On BMC ${SNMP_MGR1_IP} ${SNMP_DEFAULT_PORT} 111 Configure Invalid SNMP Settings On BMC Via GUI And Verify [all …]
|
/openbmc/openbmc-test-automation/redfish/update_service/ |
H A D | test_redfish_bmc_code_update.robot | 2 Documentation Update firmware on a target BMC via Redifsh. 5 # IMAGE_FILE_PATH The path to the BMC image file. 88 Post BMC Reset Perform Redfish Code Update 89 [Documentation] Test to reset BMC at standby and then perform BMC firmware update and 93 Redfish Delete All BMC Dumps 101 Redfish BMC Dump Should Not Exist 106 Post BMC Reset Perform Image Switched To Backup Multiple Times 107 [Documentation] Test to reset BMC at standby and then perform switch 112 Redfish Delete All BMC Dumps 122 # change to backup image and reset the BMC. [all …]
|
/openbmc/phosphor-mboxd/Documentation/ |
H A D | mbox_protocol.md | 17 This document describes a protocol for host to BMC communication via the 34 the host and the BMC via the Aspeed mailbox registers. This protocol is used 37 Prior to the mbox protocol, the host uses a backdoor into the BMC address space 44 update it on each BMC generation, have all the quirks for all the flash 46 the one in the BMC itself. 49 host and the BMC. 51 3. It's very hard to support "BMC reboots" when doing that 56 risk. It means the host can access any address on the BMC internal bus and 57 implant malware in the BMC itself. So if the host is a "bare metal" shared 59 reflashed when switching from one customer to another, but the entire BMC [all …]
|
/openbmc/bmcweb/ |
H A D | AGGREGATION.md | 3 With Redfish aggregation the host BMC aggregates resources from specified 9 BMC handles the additional processing required to allow the aggregating BMC and 10 satellite BMCs to be observable as a singular combined BMC. 23 satellite BMC. The following is an example entity-manager json config for a 43 ## Satellite BMC Restrictions 45 - Can only aggregate a single satellite BMC 46 - HTTP only connection to satellite BMC 47 - No authentication on satellite BMC 65 versions could differ from the schema versions on the aggregating BMC. Instead 70 aggregating BMC is compatible with all aggregated satellite resources. [all …]
|
/openbmc/openbmc-test-automation/gui/test/server_control/ |
H A D | test_obmc_gui_reboot_bmc.robot | 3 Documentation Test OpenBMC GUI "Reboot BMC" sub-menu of "Server control". 14 ${xpath_reboot_bmc_button} //button[text()[contains(.,"Reboot BMC")]] 19 Verify Existence Of All Sections In Reboot BMC Page 20 [Documentation] Verify existence of all sections in reboot BMC page. 23 Page Should Contain Current BMC boot status 26 Verify Existence Of All Buttons In Reboot BMC Page 27 [Documentation] Verify existence of all buttons in reboot BMC page. 42 Wait Until Page Contains Reboot BMC
|