def get_one_time_boot(self):
        """Retrieves the current setting for the one time boot.

        :returns: Returns boot device that would be used in next
                  boot. Returns 'Normal' if no device is set.
        """
        sushy_system = self._get_sushy_system(PROLIANT_SYSTEM_ID)
        if (sushy_system.boot.enabled == sushy.BOOT_SOURCE_ENABLED_ONCE):
            return DEVICE_REDFISH_TO_COMMON.get(sushy_system.boot.target)
        else:
            # value returned by RIBCL if one-time boot setting are absent
            return 'Normal'
def get_one_time_boot ( self ) : sushy_system = self . _get_sushy_system ( PROLIANT_SYSTEM_ID ) if ( sushy_system . boot . enabled == sushy . BOOT_SOURCE_ENABLED_ONCE ) : return DEVICE_REDFISH_TO_COMMON . get ( sushy_system . boot . target ) else : return 'Normal'
Retrieves the current setting for the one time boot.

        :returns: Returns boot device that would be used in next
                  boot. Returns 'Normal' if no device is set.