-Assume 'all' for eventlog for ipmi and blade if no value given
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e2b1e7ed0a
commit
638163ba59
@ -258,6 +258,9 @@ sub eventlog { #Tried various optimizations, but MM seems not to do bulk-request
|
||||
my $data;
|
||||
my @output;
|
||||
my $oid = $eventlogoid;
|
||||
unless ($cmd) {
|
||||
$cmd='all';
|
||||
}
|
||||
if ($cmd eq 'all') {
|
||||
$cmd=65535; #no MM has this many logs possible, should be a good number
|
||||
}
|
||||
|
@ -2349,6 +2349,9 @@ sub eventlog {
|
||||
|
||||
($rc,$text,$mfg_id,$prod_id,$device_id) = getdevid();
|
||||
$rc=0;
|
||||
unless (defined($subcommand)) {
|
||||
$subcommand = 'all';
|
||||
}
|
||||
if($subcommand eq "all") {
|
||||
$num = 0x100 * 0x100;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user