Skip to content

Configure sushy-tools BMC #9

@abhibongale

Description

@abhibongale

Configure the sushy-tools container (started in Issue #2) to emulate a Redfish BMC for the virtual machines created in Issue #8. This allows Ironic to control the VMs (power on/off, boot device selection) through the Redfish protocol.

sushy-tools provides a libvirt driver that translates Redfish API calls into libvirt commands.

Goals

  • Configure sushy-tools for libvirt backend
  • Map VMs to Redfish systems
  • Enable Redfish power and boot management
  • Test BMC can control VMs
  • Document Redfish endpoints

Tasks

  • Create sushy-tools configuration file
  • Configure libvirt connection
  • Map VM UUIDs to Redfish systems
  • Set up authentication (optional for local dev)
  • Mount libvirt socket into container
  • Test power control via Redfish API
  • Test boot device control
  • Document BMC URLs for enrollment
  • Integrate with init command

Acceptance Criteria

  • sushy-tools container starts successfully
  • Can access Redfish API at http://localhost:8000/redfish/v1/
  • VM appears in Systems collection
  • Can power on VM via Redfish
  • Can power off VM via Redfish
  • Can set boot device via Redfish
  • sushy-tools logs show successful operations
  • Configuration is properly mounted

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions