From 847634175d50999dc1a3180b8faf9f1a75615b68 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 21 Nov 2012 19:59:08 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/xcat/plugins/slpdiscover.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/slpdiscover.pm b/xCAT-server/lib/xcat/plugins/slpdiscover.pm index e5e2ca588..42b0db8f7 100644 --- a/xCAT-server/lib/xcat/plugins/slpdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/slpdiscover.pm @@ -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);