From a3f3b3b46a0ceb5127e3c37369a43399637a5d62 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Fri, 10 Feb 2012 07:32:54 +0000 Subject: [PATCH] fix bug 3486467: rscan -z can not parse out the IP address for FSPs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/blade.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index f6340d65e..861ed4505 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -1645,6 +1645,8 @@ sub rscan_xml { if (!$ignore) { $href->{Node}->{$_} = $d; + } elsif (/^mpa$/ && $type eq "fsp") { + $href->{Node}->{ip} = $d; } } @@ -1734,6 +1736,8 @@ sub rscan_stanza { if (!$ignore) { $result .= "\t$_=$d\n"; + } elsif (/^mpa$/ && $type eq "fsp") { + $result .= "\tip=$d\n"; } } }