rspconfig supports for redundancy FSPs.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
66b5609441
commit
3bcf7f6072
@ -278,7 +278,7 @@ sub fsp_api_passwd {
|
||||
############################
|
||||
# Set type for FSP or BPA
|
||||
############################
|
||||
if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/) {
|
||||
if($$attrs[4] =~ /^fsp$/ || $$attrs[4] =~ /^lpar$/ || $$attrs[4] =~ /^cec$/) {
|
||||
$type = 0;
|
||||
} else {
|
||||
$type = 1;
|
||||
@ -287,7 +287,8 @@ sub fsp_api_passwd {
|
||||
############################
|
||||
# Get IP address
|
||||
############################
|
||||
$fsp_ip = xCAT::Utils::get_hdwr_ip($fsp_name);
|
||||
#$fsp_ip = xCAT::Utils::get_hdwr_ip($fsp_name);
|
||||
$fsp_ip = xCAT::Utils::getNodeIPaddress($fsp_name);
|
||||
if($fsp_ip == -1) {
|
||||
$res = "Failed to get the $fsp_name\'s ip";
|
||||
return ([$node_name, $res, -1]);
|
||||
|
Loading…
Reference in New Issue
Block a user