def get_backup_device(self, ctxt, backup):
    (backup_device, is_snapshot) = self.driver.get_backup_device(ctxt, backup)
    secure_enabled = self.driver.secure_file_operations_enabled()
    backup_device_dict = {'backup_device': backup_device, 'secure_enabled': secure_enabled, 'is_snapshot': is_snapshot}
    return backup_device_dict
def get_backup_device(self, ctxt, backup):
    (backup_device, is_snapshot) = self.driver.get_backup_device(ctxt, backup)
    secure_enabled = self.driver.secure_file_operations_enabled()
    backup_device_dict = {'backup_device': backup_device, 'secure_enabled': secure_enabled, 'is_snapshot': is_snapshot}
    return backup_device_dict