code: def get_bootdev(self):
          
          result = self._do_web_request(self.sysurl)
          overridestate = result.get('Boot', {}).get(
              'BootSourceOverrideEnabled', None)
          if overridestate == 'Disabled':
              return {'bootdev': 'default', 'persistent': True}
          persistent = None
          if overridestate == 'Once':
              persistent = False
          elif overridestate == 'Continuous':
              persistent = True
          else:
              raise exc.PyghmiException('Unrecognized Boot state: '
                                        + repr(overridestate))
          uefimode = result.get('Boot', {}).get('BootSourceOverrideMode', None)
          if uefimode == 'UEFI':
              uefimode = True
          elif uefimode == 'Legacy':
              uefimode = False
          else:
              raise exc.PyghmiException('Unrecognized mode: ' + uefimode)
          bootdev = result.get('Boot', {}).get('BootSourceOverrideTarget', None)
          if bootdev not in boot_devices_read:
              raise exc.PyghmiException('Unrecognized boot target: '
                                        + repr(bootdev))
          bootdev = boot_devices_read[bootdev]
          return {'bootdev': bootdev, 'persistent': persistent,
                  'uefimode': uefimode}
docs: Get current boot device override information.
  
          :raises: PyghmiException on error
          :returns: dict