Skip to content

Conversation

ares
Copy link
Member

@ares ares commented Jul 9, 2025

This patch introduces support for Wake on LAN. It introduces a new authenticated API endpoint, that requires MAC address. It validates the MAC address and if everything is correct, it creates and sends the magic UDP broadcast packet, instructing the machine with this MAC address to wake up.

While it is likely that the WOL functionality will live in the same network where DHCP feature is, I didn't want to create a dependency between the two. WOL should be possible even with DHCP feature disabled.

I also didn't want mix it into BMC module. While both modules work with power state, BMC can do the full cycle (power on and off), WOL can only wake up suspended machines, it's not full baseboard management controller.

This patch introduces support for Wake on LAN. It introduces a new
authenticated API endpoint, that requires MAC address. It validates the
MAC address and if everything is correct, it creates and sends the
magic UDP broadcast packet, instructing the machine with this MAC
address to wake up.

While it is likely that the WOL functionality will live in the same
network where DHCP feature is, I didn't want to create a dependency
between the two. WOL should be possible even with DHCP feature disabled.

I also didn't want mix it into BMC module. While both modules work with
power state, BMC can do the full cycle (power on and off), WOL can only
wake up suspended machines, it's not full baseboard management
controller.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant