'Reboot a server.
:param server: The :class:`Server` (or its ID) to share onto.
:param reboot_type: either :data:`REBOOT_SOFT` for a software-level
reboot, or `REBOOT_HARD` for a virtual power cycle hard reboot.
:returns: An instance of novaclient.base.TupleWithMeta'

def reboot(self, server, reboot_type=REBOOT_SOFT):

    return self._action('reboot', server, {'type': reboot_type})
