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/trunk@14391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-11-21 19:59:08 +00:00
parent a01c99a24f
commit 847634175d

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);