2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Merge pull request #2149 from xuweibj/usage

fix probe discovery usage bug
This commit is contained in:
Weihua Hu 2016-11-14 11:08:16 +08:00 committed by GitHub
commit a9f0237ca8

View File

@ -32,6 +32,9 @@ my $monitor = 1;
#used by developer, to debug the detail information about function running
my $debug = 0;
my @valid_discovery_type = ("mtms", "switch");
my $valid_discovery_type_str = join(",", @valid_discovery_type);
#---------------------------------------------
# Command Usage
#---------------------------------------------
@ -72,8 +75,6 @@ my $maxwaittime = 60; #unit is minute, the max wait time of monitor
my $rollforward_time_of_replay; #used by feature replay discovery log
my $noderange;
my $discovery_type;
my @valid_discovery_type = ("mtms", "switch");
my $valid_discovery_type_str = join(",", @valid_discovery_type);
my $no_pre_check = 0;
my $nics;
if (