Add support for flexdiscover to work with x222 servers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e4d371d2e8
commit
be3e25ce00
@ -1946,6 +1946,9 @@ sub configure_hosted_elements {
|
||||
my $pass = $passwordmap{$cmm}->{password};
|
||||
foreach $immdata (values %{$flexchassismap{$uuid}}) {
|
||||
$slot=$immdata->{attributes}->{slot}->[0];
|
||||
if (defined $immdata->{attributes}->{'chassis-sub-slot'}) {
|
||||
$slot .= ":".$immdata->{attributes}->{'chassis-sub-slot'}->[0];
|
||||
}
|
||||
if ($node = $nodebymp{$cmm}->{$slot}) {
|
||||
my $addr = $immdata->{peername}; #todo, use sockaddr and remove the 427 port from it instead?
|
||||
if ($addr =~ /^fe80/) { #Link local address requires scope index
|
||||
|
Loading…
Reference in New Issue
Block a user