-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
This commit is contained in:
jbjohnso 2009-07-14 20:50:13 +00:00
parent 095ae0fd8f
commit 92d2b2f127

View File

@ -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;