From: <jj...@us...> - 2011-12-08 06:23:30
|
Revision: 11169 http://xcat.svn.sourceforge.net/xcat/?rev=11169&view=rev Author: jjhua Date: 2011-12-08 06:23:24 +0000 (Thu, 08 Dec 2011) Log Message: ----------- change getAttribs to getNodeAttribs Modified Paths: -------------- xcat-core/branches/2.6/xCAT-server/lib/xcat/plugins/FIP.pm Modified: xcat-core/branches/2.6/xCAT-server/lib/xcat/plugins/FIP.pm =================================================================== --- xcat-core/branches/2.6/xCAT-server/lib/xcat/plugins/FIP.pm 2011-12-07 20:38:54 UTC (rev 11168) +++ xcat-core/branches/2.6/xCAT-server/lib/xcat/plugins/FIP.pm 2011-12-08 06:23:24 UTC (rev 11169) @@ -89,8 +89,8 @@ } - my ($current_ppc_ent) = $ppctab->getAttribs({ node=>$current_node},@ppcattribs); - my ($fip_ppc_ent) = $ppctab->getAttribs({ node=>$fip_node},@ppcattribs); + my ($current_ppc_ent) = $ppctab->getNodeAttribs($current_node,@ppcattribs); + my ($fip_ppc_ent) = $ppctab->getNodeAttribs($fip_node,@ppcattribs); my @current_attrs; my @fip_attrs; if( $current_ppc_ent->{'parent'} ne $fip_ppc_ent->{'parent'} ) { @@ -321,8 +321,8 @@ return 1; } - my ($current_ppc_ent) = $ppctab->getAttribs({ node=>$current_node},@ppcattribs); - my ($fip_ppc_ent) = $ppctab->getAttribs({ node=>$fip_node},@ppcattribs); + my ($current_ppc_ent) = $ppctab->getNodeAttribs( $current_node,@ppcattribs); + my ($fip_ppc_ent) = $ppctab->getNodeAttribs( $fip_node,@ppcattribs); my @current_attrs; my @fip_attrs; my $cec; @@ -407,8 +407,8 @@ return 1; } - my $current_ent = $nodepostab->getAttribs({ node=>$current_node},@nodeposattribs); - my $fip_ent = $nodepostab->getAttribs({ node=>$fip_node},@nodeposattribs); + my $current_ent = $nodepostab->getNodeAttribs( $current_node,@nodeposattribs); + my $fip_ent = $nodepostab->getNodeAttribs( $fip_node,@nodeposattribs); # swap the current ent and the fip ent $keyhash{'node'} = $current_node; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |