return new HostNetworkSystemMO(_context, configMgr.getNetworkSystem());
}
public HostFirewallSystemMO getHostFirewallSystemMO() throws Exception {
HostConfigManager configMgr = getHostConfigManager();
ManagedObjectReference morFirewall = configMgr.getFirewallSystem();
// only ESX hosts have firewall manager
if(morFirewall != null)
return new HostFirewallSystemMO(_context, morFirewall);
return null;