Continue to fix bug 3428 lsslp -n does not check xCAT DB properly for current objects, support using mtms to match cmm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
43a383bd68
commit
e9caf6e420
@ -1032,6 +1032,10 @@ sub parse_responses {
|
||||
$atthash{otherinterfaces} = ${$attributes->{'ipv4-address'}}[0];
|
||||
$outhash{'Server-'.$atthash{mtm}.'-SN'.$atthash{serial}} = \%atthash;
|
||||
$$length = length( $atthash{ip}) if ( length( $atthash{ip} ) > $$length );
|
||||
if (exists($::OLD_DATA_CACHE{"mp*".$atthash{mtm}."*".$atthash{serial}})){
|
||||
$atthash{hostname} = $::OLD_DATA_CACHE{"mp*".$atthash{mtm}."*".$atthash{serial}};
|
||||
push @matchnode,'Server-'.$atthash{mtm}.'-SN'.$atthash{serial};
|
||||
}
|
||||
trace( $request, "Discover node $atthash{hostname}: type is $atthash{type}, \
|
||||
mtm is $atthash{mtm}, sn is $atthash{serial}, side is $atthash{side}, \
|
||||
ip is $atthash{ip}, mac is $atthash{mac}, mname is $atthash{mname},\
|
||||
|
Loading…
Reference in New Issue
Block a user