FSP/BPA redundancy: do_resetnet should skip operating on CEC and frame object.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2ed6bdc2dc
commit
d5d9989dbc
@ -1978,6 +1978,12 @@ sub do_resetnet {
|
||||
send_msg( $req, 0, "$name: no nodetype defined, skipping network reset" );
|
||||
next;
|
||||
}
|
||||
|
||||
# Skip frame and cec
|
||||
if ( $type->{nodetype} eq "cec" or $type->{nodetype} eq "frame" ) {
|
||||
send_msg( $req, 0, "$name: $type->{nodetype}, skipping network reset" );
|
||||
next;
|
||||
}
|
||||
|
||||
my $mac = $mactab->getNodeAttribs( $name, [qw(mac)]);
|
||||
if ( !$mac or !$mac->{mac} ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user