From 6ac917a748e3c775e1172424e89bba780ffa8c8b Mon Sep 17 00:00:00 2001 From: yinle Date: Thu, 27 Dec 2012 05:46:07 +0000 Subject: [PATCH] Give warning when the user is using slpdiscover. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/slpdiscover.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/slpdiscover.pm b/xCAT-server/lib/xcat/plugins/slpdiscover.pm index 4f605f643..bd78e8631 100644 --- a/xCAT-server/lib/xcat/plugins/slpdiscover.pm +++ b/xCAT-server/lib/xcat/plugins/slpdiscover.pm @@ -83,6 +83,10 @@ sub handle_new_slp_entity { sub process_request { my $request = shift; $callback = shift; + # Since slpdiscover has been merged into lsslp, + # it will return here. + sendmsg("Warning: Slpdiscover has been merged to lsslp. Please use lsslp --flexdiscover. \nUse man lsslp to see more details. ",$callback); + return; $docmd = shift; %searchmacs=(); my $srvtypes = [ qw/service:management-hardware.IBM:chassis-management-module/ ];