def _get_ilo_details(self):
        """Gets iLO details

        :raises: IloError, on an error from iLO.
        :raises: IloConnectionError, if iLO is not up after reset.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.
        """
        manager_uri = '/rest/v1/Managers/1'
        status, headers, manager = self._rest_get(manager_uri)

        if status != 200:
            msg = self._get_extended_error(manager)
            raise exception.IloError(msg)

        # verify expected type
        mtype = self._get_type(manager)
        if (mtype not in ['Manager.0', 'Manager.1']):
            msg = "%s is not a valid Manager type " % mtype
            raise exception.IloError(msg)

        return manager, manager_uri
def _get_ilo_details ( self ) : manager_uri = '/rest/v1/Managers/1' status , headers , manager = self . _rest_get ( manager_uri ) if status != 200 : msg = self . _get_extended_error ( manager ) raise exception . IloError ( msg ) mtype = self . _get_type ( manager ) if ( mtype not in [ 'Manager.0' , 'Manager.1' ] ) : msg = "%s is not a valid Manager type " % mtype raise exception . IloError ( msg ) return manager , manager_uri
Gets iLO details

        :raises: IloError, on an error from iLO.
        :raises: IloConnectionError, if iLO is not up after reset.
        :raises: IloCommandNotSupportedError, if the command is not supported
                 on the server.