Comment 4 for bug 1427923

Revision history for this message
bin Yu (froyo-bin) wrote :

Hi, for the time-consuming and may failed operations, could we cache its operations and use a configuration wait-time to ensure the API have the maximum response time.?

for the operations like get/set_boot_device,

for get_boot_device:
how about we store the current boot device in node's driver field? every time when we call set_boot_device, we update this value in cache?

For set_boot_device:

whether we can set a maximum wait time, if we cannot get success response from hardware in the given time, we return 202 to notify the user?