Provides methods for managing Parallels virtual networks.
|
__init__(self,
handle=0)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
create(self)
Creates a new instance of VirtualNet. |
|
|
|
get_network_id(self)
Return the ID of the specified virtual network. |
|
|
|
set_network_id(self,
sNetworkId)
Set the virtual network ID. |
|
|
|
get_description(self)
Return the description of the specified virtual network. |
|
|
|
set_description(self,
sDescription)
Sets the virtual network description. |
|
|
|
get_network_type(self)
Return the virtual network type. |
|
|
|
set_network_type(self,
nNetworkType)
Set the virtual network type. |
|
|
|
get_bound_card_mac(self)
Return the bound card MAC address of the specified virtual network. |
|
|
|
set_bound_card_mac(self,
sBoundCardMac)
Sets the specified virtual network bound card MAC address. |
|
|
|
get_adapter_name(self)
Return the name of the network adapter in the specified virtual
network. |
|
|
|
set_adapter_name(self,
sAdapterName)
Sets the specified virtual network adapter name. |
|
|
|
get_adapter_index(self)
Return a numeric index assigned to the network adapter in the
specified virtual network. |
|
|
|
set_adapter_index(self,
nAdapterIndex)
Sets the specified adapter index. |
|
|
|
get_host_ipaddress(self)
Return the host IP address of the specified virtual network. |
|
|
|
set_host_ipaddress(self,
sHostIPAddress)
Set the virtual network host IP address. |
|
|
|
get_host_ip6address(self) |
|
|
|
set_host_ip6address(self,
sHostIPAddress) |
|
|
|
get_dhcp_ipaddress(self)
Return the DHCP IP address of the specified virtual network. |
|
|
|
set_dhcp_ipaddress(self,
sDhcpIPAddress)
Set the virtual network DHCP IP address. |
|
|
|
get_dhcp_ip6address(self) |
|
|
|
set_dhcp_ip6address(self,
sDhcpIPAddress) |
|
|
|
get_ipnet_mask(self)
Return the IP net mask of the specified virtual network. |
|
|
|
set_ipnet_mask(self,
sIPNetMask)
Set the virtual network IP net mask. |
|
|
|
|
|
set_ip6net_mask(self,
sIPNetMask) |
|
|
|
get_vlan_tag(self)
Return the VLAN tag of the specified virtual network. |
|
|
|
set_vlan_tag(self,
nVlanTag)
Set the VLAN tag for the virtual network. |
|
|
|
get_ipscope_start(self)
Returns the DHCP starting IP address of the specified virtual
network. |
|
|
|
set_ipscope_start(self,
sIPScopeStart)
Set the virtual network DHCP starting IP address. |
|
|
|
get_ipscope_end(self)
Return the DHCP ending IP address of the specified virtual network. |
|
|
|
set_ipscope_end(self,
sIPScopeEnd)
Set the virtual network DHCP ending IP address |
|
|
|
|
|
set_ip6scope_start(self,
sIPScopeStart) |
|
|
|
|
|
set_ip6scope_end(self,
sIPScopeEnd) |
|
|
|
is_enabled(self)
Determine whether the virtual network is enabled or disabled. |
|
|
|
set_enabled(self,
bEnabled)
Enable or disable the virtual network. |
|
|
|
is_adapter_enabled(self)
Determine whether the virtual network adapter is enabled or disabled. |
|
|
|
set_adapter_enabled(self,
bEnabled)
Enable or disable a virtual network adapter. |
|
|
|
is_dhcpserver_enabled(self)
Determine whether the virtual network DHCP server is enabled or
disabled. |
|
|
|
set_dhcpserver_enabled(self,
bEnabled)
Enable or disable the virtual network DHCP server. |
|
|
|
is_dhcp6server_enabled(self) |
|
|
|
set_dhcp6server_enabled(self,
bEnabled) |
|
|
|
is_natserver_enabled(self)
Determine whether the specified virtual network NAT server is enabled
or disabled. |
|
|
|
set_natserver_enabled(self,
bEnabled)
Enable or disable the virtual network NAT server. |
|
|
|
get_port_forward_list(self,
nPortFwdType)
Return the port forward entries list. |
|
|
|
set_port_forward_list(self,
nPortFwdType,
hPortFwdList)
Set the port forward entries list. |
|
|
|
get_bound_adapter_info(self,
hSrvConfig)
Obtain info about a physical adapter, which is bound to the virtual
network object. |
|
|
|
set_host_assign_ip6(self,
bEnabled) |
|
|
|
|
Inherited from _Handle :
__del__ ,
add_ref ,
free ,
from_string ,
get_handle_type ,
get_package_id ,
get_type
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|