Package prlsdkapi :: Class HostNet
[hide private]
[frames] | no frames]

Class HostNet

object --+        
         |        
   _Handle --+    
             |    
    HostDevice --+
                 |
                HostNet

Provides methods for obtaining information about a physical network adapter on the host computer.

Instance Methods [hide private]
 
get_net_adapter_type(self)
Return the network adapter type.
 
get_sys_index(self)
Return the network adapter system index.
 
is_enabled(self)
Determine whether the adapter is enabled or disabled.
 
is_configure_with_dhcp(self)
Determine whether the adapter network settings are configured through DHCP.
 
is_configure_with_dhcp_ipv6(self)
 
get_default_gateway(self)
Obtain the default gateway address for the specified network adapter.
 
get_default_gateway_ipv6(self)
 
get_mac_address(self)
Return the MAC address of the specified network adapter.
 
get_vlan_tag(self)
Return the VLAN tag of the network adapter.
 
get_net_addresses(self)
Obtain the list of network addresses (IP address/Subnet mask pairs) assigned to the network adapter.
 
get_dns_servers(self)
Obtain the list of addresses of DNS servers assigned to the specified network adapter.
 
get_search_domains(self)
Obtain a list of search domains assigned to the specified network adapter.

Inherited from HostDevice: get_device_state, get_id, get_name, get_type, is_connected_to_vm, set_device_state

Inherited from _Handle: __del__, __init__, add_ref, free, from_string, get_handle_type, get_package_id

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__