From 5c1a1383f96bcbf55cd1b9eb9631577bc78fa15c Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 28 Aug 2012 15:07:28 +0000 Subject: [PATCH] document getNodeAttribs improvement git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13627 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Table.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Table.pm b/perl-xCAT/xCAT/Table.pm index c8b22718d..c3ad4d759 100644 --- a/perl-xCAT/xCAT/Table.pm +++ b/perl-xCAT/xCAT/Table.pm @@ -2889,7 +2889,9 @@ sub getAllAttribsWhere Arguments: Table handle - Attribute list + Attribute list + optional hash return style + ( changes the return hash structure format) Returns: Array of attribute values Globals: @@ -2897,7 +2899,8 @@ sub getAllAttribsWhere Error: Example: - my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']); + my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch']); + my @entries = $self->{switchtab}->getAllNodeAttribs(['port','switch'],1); Comments: none