From c1bf9b1413417ca7f5bee379af7845f8017bac45 Mon Sep 17 00:00:00 2001 From: yinle Date: Tue, 18 Oct 2011 06:30:26 +0000 Subject: [PATCH] Add the description of the sub routine get_nic_ip git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/NetworkUtils.pm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/perl-xCAT/xCAT/NetworkUtils.pm b/perl-xCAT/xCAT/NetworkUtils.pm index dec4f8080..c83760818 100755 --- a/perl-xCAT/xCAT/NetworkUtils.pm +++ b/perl-xCAT/xCAT/NetworkUtils.pm @@ -522,6 +522,24 @@ sub ip_forwarding_enabled } return $enabled; } +#------------------------------------------------------------------------------- + +=head3 get_nic_ip + Get the ip address for the node nics + + Arguments: + Returns: + Hash of the mapping of the nic and the ip addresses + Globals: + Error: + none + Example: + xCAT::NetworkUtils->get_nic_ip() + Comments: + none +=cut + +#------------------------------------------------------------------------------- sub get_nic_ip {