VMware {code} Community
bse1969
Contributor
Contributor

Help with getting Host Console IP.

I am trying to grab the host console IP.  Here is the call to get the information:

my $host_views = Vim::find_entity_views (

              view_type => 'HostSystem', begin_entity => $datacenter_view, properties => [ 'name','summary','hardware' ,'config']);

In order to trim some time out I want to pull only the network section of config. I have tried using 'config.network' but it doesn't like that.  Is there a way to tel lit to only collect the information from config->network rather than all of config?

Reply
0 Kudos
0 Replies