Search

US-12619565-B2 - Systems and methods for simulating desktop bus (D-Bus) services

US12619565B2US 12619565 B2US12619565 B2US 12619565B2US-12619565-B2

Abstract

Embodiments of the present disclosure provide a system and method to simulate property values generated by Desktop Bus (D-Bus) objects. According to one embodiment, an Information Handling System (IHS) includes multiple D-Bus services that communicate among one another using a D-Bus with executable instructions to generate a D-Bus simulation service that communicates with one or more other D-Bus services through a D-Bus, and sends simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service.

Inventors

  • Jun Gu
  • Arun Muthaiyan
  • Thomas William Erdman
  • Kang Quan

Assignees

  • DELL PRODUCTS, L.P.

Dates

Publication Date
20260505
Application Date
20231019

Claims (12)

  1. 1 . An Information Handling System (IHS) comprising: a plurality of Desktop Bus (D-Bus) services that communicate among one another using a D-Bus; at least one processor; and at least one memory coupled to the at least one processor, the at least one memory having program instructions stored thereon that, upon execution by the at least one processor, cause the IHS to: generate a D-Bus simulation service to emulate a second of one or more other D-Bus services through a D-Bus, and override the D-Bus simulation service over the second D-Bus service, wherein the D-Bus simulation service is configured to have a name similar to the second D-Bus service; and send simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service.
  2. 2 . The IHS of claim 1 , wherein the IHS comprises a Baseboard Management Controller (BMC).
  3. 3 . The IHS of claim 1 , wherein the instructions, upon execution, cause the IHS to generate the D-Bus simulation service using a D-Busplus platform.
  4. 4 . The IHS of claim 1 , wherein the instructions, upon execution, cause the D-Bus simulation service to: determine a first subset of a plurality of property values to be generated by the second D-Bus service that are obtained from the second D-Bus service; and determine a second subset of the property values that are simulated values.
  5. 5 . The IHS of claim 4 , wherein the instructions, upon execution, cause the D-Bus simulation service to obtain the simulated values from a test script.
  6. 6 . A Desktop Bus (D-Bus) service simulation method comprising: generating a D-Bus simulation service to emulate a second of one or more other D-Bus services through a D-Bus, and override the D-Bus simulation service over the second D-Bus service, wherein the D-Bus simulation service is configured to have a name similar to the second D-Bus service; and sending simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service.
  7. 7 . The D-Bus service simulation method of claim 6 , further comprising generating the D-Bus simulation service using a D-Busplus platform.
  8. 8 . The D-Bus service simulation of claim 6 , further comprising: determining a first subset of a plurality of property values to be generated by the second D-Bus service that are obtained from the second D-Bus service; and determining a second subset of the property values that are simulated values.
  9. 9 . The D-Bus service simulation method of claim 8 , further comprising obtaining the simulated values from a test script.
  10. 10 . A memory storage device having program instructions stored thereon that, upon execution by one or more processors of a client Information Handling System (IHS), cause the client IHS to: generate a D-Bus simulation service to emulate a second of one or more other D-Bus services through a D-Bus, and override the D-Bus simulation service over the second D-Bus service, wherein the D-Bus simulation service is configured to have a name similar to the second D-Bus service; and send simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service.
  11. 11 . The memory storage device of claim 10 , wherein the IHS comprises a Baseboard Management Controller (BMC).
  12. 12 . The memory storage device of claim 10 , wherein the instructions, upon execution, cause the D-Bus simulation service to: determine a first subset of a plurality of property values to be generated by the second D-Bus service that are obtained from the second D-Bus service; and determine a second subset of the property values that are simulated values.

Description

BACKGROUND As the value and use of information continues to increase, individuals and businesses seek additional ways to process and store information. One option available to users is Information Handling Systems (IHSs). An IHS generally processes, compiles, stores, and/or communicates information or data for business, personal, or other purposes thereby allowing users to take advantage of the value of the information. Because technology and information handling needs and requirements vary between different users or applications, IHSs may also vary regarding what information is handled, how the information is handled, how much information is processed, stored, or communicated, and how quickly and efficiently the information may be processed, stored, or communicated. The variations in IHSs allow for IHSs to be general or configured for a specific user or specific use such as financial transaction processing, airline reservations, enterprise data storage, or global communications. In addition, IHSs may include a variety of hardware and software components that may be configured to process, store, and communicate information and may include one or more computer systems, data storage systems, and networking systems. Modern day IHS administrative management is often provided via baseboard management controllers (BMCs). The baseboard management controller (BMC) generally includes a specialized microcontroller embedded in the IHS, and may provide an interface between system-management software and platform hardware. Different types of sensors built into the IHS report to the BMC on parameters such as temperature, cooling fan speeds, power status, operating system (O/S) status, and the like. The BMC monitors the sensors and can send alerts to a system administrator via the network if any of the parameters do not stay within pre-set limits, indicating a potential failure of the system. The administrator can also remotely communicate with the BMC to take certain corrective actions, such as resetting or power cycling the system to get a hung O/S running again. These abilities can often save on the total cost of ownership of an IHS, particularly when implemented in large clusters, such as server farms. SUMMARY Embodiments of the present disclosure provide a system and method to simulate property values generated by Desktop Bus (D-Bus) objects. According to one embodiment, an Information Handling System (IHS) includes multiple D-Bus services that communicate among one another using a D-Bus with executable instructions to generate a D-Bus simulation service that communicates with one or more other D-Bus services through a D-Bus, and sends simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service. According to another embodiment, a D-Bus service simulation method includes the steps of generating a D-Bus simulation service that communicates with one or more other D-Bus services through a D-Bus, and sending simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service. According to yet another embodiment, a memory storage device with program instructions stored thereon that, upon execution by one or more processors of a client HIS cause it to generate a Desktop Bus (D-Bus) simulation service that communicates with one or more other D-Bus services through a D-Bus, and send simulation test data to one of the other D-Bus services in response to a request from the one other D-Bus service. BRIEF DESCRIPTION OF THE DRAWINGS The present invention(s) is/are illustrated by way of example and is/are not limited by the accompanying figures. Elements in the figures are illustrated for simplicity and clarity, and have not necessarily been drawn to scale. FIGS. 1A and 1B is a block diagram illustrating certain components of a chassis comprising one or more compute sleds and one or more storage sleds that may be configured to implement the systems and methods described according to one embodiment of the present disclosure. FIG. 2 illustrates an example of an IHS configured to implement systems and methods described herein according to one embodiment of the present disclosure. FIG. 3 is a diagram illustrating several components of a Desktop Bus (D-Bus) service simulation system that may be used to simulate test data conveyed through a D-Bus enabled BMC according to one embodiment of the present disclosure. FIG. 4 is a block diagram showing how the simulation service may operate with a first service functioning as a client to simulate certain properties generated by a second service functioning as a server according to one embodiment of the present disclosure. FIG. 5 illustrates an example D-Bus service simulation method showing how a simulation service may be generated to simulate some, most, or all property values of a D-Bus service according to one embodiment of the present disclosure. DETAILED DESCRIPTION The present disclosure i