Skip to content

Instantly share code, notes, and snippets.

View smccarney's full-sized avatar

Shawn McCarney smccarney

  • IBM
  • Rochester, MN, USA
View GitHub Profile
@smccarney
smccarney / test_plan.md
Created May 30, 2024 19:31
Test plan for CompatibleSystemTypesFinder

Test Plan

Automated Testing

  • Verify all automated tests run successfully

Manual Testing

  • CompatibleSystemTypesFinder::CompatibleSystemTypesFinder()
    • Verify callback is stored and can be called later
  • Verify DBusInterfacesFinder is set up correctly and calls interfaceFoundCallback()
@smccarney
smccarney / test_plan.md
Created May 25, 2024 07:28
pseq: Test plan for DBusInterfacesFinder

Test Plan

Automated Tests

  • Verify all automated tests run successfully

Manual Tests

  • DBusInterfacesFinder::DBusInterfacesFinder()
    • Verify InterfacesAdded signal handler is installed
  • Verify existing interfaces are found via ObjectMapper
@smccarney
smccarney / test_plan.md
Created February 7, 2024 00:36
pseq: Test plan for Services class hierarchy

pseq: Test plan for Services class hierarchy

Automated tests

  • Run all automated tests and verify they pass

Manual tests

  • BMCServices
    • BMCServices(sdbusplus::bus_t& bus)
  • Verify bus can be obtained from getBus() and used successfully
@smccarney
smccarney / README.md
Created December 16, 2023 04:34
README.md
@smccarney
smccarney / gpio.md
Created December 16, 2023 04:34
gpio.md

gpio

Description

A General Purpose Input/Output (GPIO) that can be read to obtain the pgood status of a voltage rail.

GPIO values are read using the libgpiod interface.

Properties

@smccarney
smccarney / rail.md
Created December 16, 2023 04:33
rail.md

rail

Description

A voltage rail that is enabled or monitored by the power sequencer device.

The "check_status_vout", "compare_voltage_to_limits", and "gpio" properties specify how to obtain the pgood status of the rail. You can specify more than one of these properties if necessary.

@smccarney
smccarney / config_file.md
Created December 16, 2023 04:32
config_file.md

config_file

Description

The root (outer-most) object in the configuration file.

Properties

Name Required Type Description
@smccarney
smccarney / pgood_iso_design.md
Last active December 4, 2023 23:02
Design for improved power sequencer pgood failure isolation

High level design of pgood isolation enhancements

Contents

  • Obtain pgood status for rails connected to analog pins
  • Enhance JSON file format
  • Enhance pgood failure isolation algorithm for UCD 90XXX devices
  • Update existing JSON files to conform to the new syntax

Obtain pgood status for rails connected to analog pins

@smccarney
smccarney / test_plan.md
Created April 26, 2023 01:03
Test plan for PowerSupplyMetrics and PSU Input History

Test Plan

Tests based on C++ code

  • include/dbus_utility.hpp
    • Verify timestamps and values obtained successfully from Maximum interface
    • Verify timestamps and values obtained successfully from Average interface
  • redfish-core/include/redfish.hpp
    • Verify PowerSupplyCollection URI works the same as before
    • Verify new PowerSupplyMetrics URI works
  • Verify ThermalSubsystem URI works the same as before
@smccarney
smccarney / test_plan.md
Last active April 3, 2023 23:21
Test Plan for Redfish PowerSubsystem Allocation properties

Test Plan

Tests based on C++ code

  • getPowerSubsystemAllocationProperties()
    • Test where D-Bus response has an error
      • Error code is EBADR
        • Verify no internal error in response message
      • Error code is not EBADR
        • Verify internal error in response message
  • Test where properties could not be unpacked successfully