Break slpdiscover activity into pieces to increase odds of success of each pass

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-11-21 19:58:56 +00:00
parent 7f5e911c2a
commit 3860a56041

View File

@ -84,7 +84,11 @@ sub process_request {
$callback = shift;
$docmd = shift;
%searchmacs=();
my $srvtypes = [ qw/service:management-hardware.IBM:chassis-management-module service:management-hardware.IBM:management-module service:management-hardware.IBM:integrated-management-module2/ ];
my $srvtypes = [ qw/service:management-hardware.IBM:chassis-management-module/ ];
xCAT::SLP::dodiscover(SrvTypes=>$srvtypes,Callback=>\&handle_new_slp_entity);
$srvtypes = [ qw/service:management-hardware.IBM:management-module/ ];
xCAT::SLP::dodiscover(SrvTypes=>$srvtypes,Callback=>\&handle_new_slp_entity);
$srvtypes = [ qw/service:management-hardware.IBM:integrated-management-module2/ ];
xCAT::SLP::dodiscover(SrvTypes=>$srvtypes,Callback=>\&handle_new_slp_entity);
my $mpatab=xCAT::Table->new("mpa",-create=>0);