You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If doing a raw write, the device type isn't checked (since write is general). If using the /power/... or /boot_target/... routes though, device types are checked preemptively to make sure that the given device does actually support that command.
We currently have
route
type(s)
/power/...
power
/boot_target/...
system
My question is: should those be the only allowable types? My question stems from work on the IPMI plugin. There, chassis power is currently a power type device, but chassis boot target is currently a boot_target device.
The system device isn't really used by anything else IIRC.
The text was updated successfully, but these errors were encountered:
I think this was 'fixed', or at least a decision was made, in the PR referenced above. Now, multiple device types are permissible on an endpoint, and boot target allows types system and boot_target.
If doing a raw write, the device type isn't checked (since write is general). If using the
/power/...
or/boot_target/...
routes though, device types are checked preemptively to make sure that the given device does actually support that command.We currently have
/power/...
power
/boot_target/...
system
My question is: should those be the only allowable types? My question stems from work on the IPMI plugin. There, chassis power is currently a
power
type device, but chassis boot target is currently aboot_target
device.The
system
device isn't really used by anything else IIRC.The text was updated successfully, but these errors were encountered: