From 92d2b2f127946897b7faba276acc6e7c7748bad9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 14 Jul 2009 20:50:13 +0000 Subject: [PATCH] -Remove property selection and go for a broader view in ESX plugin git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/esx.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/esx.pm b/xCAT-server/lib/xcat/plugins/esx.pm index 771cc97bf..00385e1be 100644 --- a/xCAT-server/lib/xcat/plugins/esx.pm +++ b/xCAT-server/lib/xcat/plugins/esx.pm @@ -972,7 +972,7 @@ sub mkvms { ); $disksize = getUnits($disksize,'G',1024); my $node; - $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn},properties=>['config','configManager']); + $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn}); #,properties=>['config','configManager']); unless (validate_datastore_prereqs($nodes,$hyp)) { return; } @@ -1412,7 +1412,7 @@ sub validate_vswitch_prereqs { my $switchname = shift; my $hostview = $hyphash{$hyp}->{hostview}; unless ($hostview) { - $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn},properties=>['config','configManager']); + $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn}); #,properties=>['config','configManager']); $hostview = $hyphash{$hyp}->{hostview}; } } @@ -1425,7 +1425,7 @@ sub validate_network_prereqs { if ($hostview) { $hostview->update_view_data(); #pull in changes induced by previous activity } else { - $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn},properties=>['config','configManager']); + $hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hyphash{$hyp}->{conn}); #,properties=>['config','configManager','network']); $hostview = $hyphash{$hyp}->{hostview}; } my $node; @@ -1493,7 +1493,7 @@ sub validate_datastore_prereqs { my $hypconn = $hyphash{$hyp}->{conn}; my $hostview = $hyphash{$hyp}->{hostview}; unless ($hostview) { - hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hypconn,properties=>['config','configManager']); + hyphash{$hyp}->{hostview} = get_hostview(hypname=>$hyp,conn=>$hypconn); #,properties=>['config','configManager']); $hostview = $hyphash{$hyp}->{hostview}; } my $node;