Hi,
I would like to add an additional log output that helps to determine the
end of initial discovery in ipmidirect plugin.
Is that possible?
Here is the patch for it:

diff -ur openhpi-7130/plugins/ipmidirect/ipmi_discover.cpp
openhpi-u7130/plugins/ipmidirect/ipmi_discover.cpp
--- openhpi-7130/plugins/ipmidirect/ipmi_discover.cpp   2007-11-16
10:49:41.000000000 +0100
+++ openhpi-u7130/plugins/ipmidirect/ipmi_discover.cpp  2010-08-06
15:34:47.000000000 +0200
@@ -202,6 +202,11 @@
            stdlog << "BMC Discovery done\n";
            m_domain->m_bmc_discovered = true;
        }
+       else {
+           stdlog << "BMC Discovery (" << m_addr << ") done\n";
+          if (m_domain->m_initial_discover == 0) 
+               stdlog << "All BMC Discoveries Completed\n";
+       }
      }
 
   if (    ( m_mc  && (m_properties & dIpmiMcThreadPollAliveMc ) )

It creates one line for every BMC thread completing its discovery and a
final line when the lock is free.


I have now prepared the hpidomain client for commit (including man page
and reference in the other man pages).
Also I would like to commit a new openhpi.conf.example with 3 additional
plugin parameters listed 
(# IpmiConnectionTimeout = "5000", # AtcaConnectionTimeout = "1000", #
MaxOutstanding = "1").

If there is no objection, I would like to commit this tomorrow.
This fixes Feature Request 3032998 and Bug 3032617.
( make distcheck works ;-)  )

Thanks,
Uli
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to