saltext.bmc.utils.boot

Boot-device name canonicalisation shared by all backends.

The extension uses a small set of friendly names (disk, pxe, http, bios, cd, usb, none) regardless of which BMC protocol is in use. Each backend translates these to its own protocol-native value.

saltext.bmc.utils.boot.canonicalize(device: str) str[source]

Return the canonical friendly name for device.

Raises ValueError with the list of accepted names.