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

Class VmNetDev

  object --+                
           |                
 prlsdk.Base --+            
               |            
prlsdk.BaseAsync --+        
                   |        
prlsdk.OwnerRefAsync --+    
                       |    
               VmBaseDev --+
                           |
                          VmNetDev

Provides methods for managing virtual network adapters.

Instance Methods [hide private]
 
generate_mac_addr(self)
Generate a unique MAC address for the adapter.

Inherited from VmBaseDev: connect, create, create_image, disconnect, remove, set_default_stack_index

Inherited from prlsdk.OwnerRefAsync: __init__, __new__

Inherited from prlsdk.BaseAsync: __cmp__, __repr__, cancel, wait

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables [hide private]
  __prefix__ = 'vmdevnet'
  __ht__ = 268435467

Inherited from VmBaseDev: __int_prefix__

Properties [hide private]
  bound_adapter_index
The index of the adapter to which this virtual adapter is bound.
  bound_adapter_name
The name of the adapter to which this virtual adapter is bound
  mac_address
The MAC address of the adapter.

Inherited from VmBaseDev: connected, emulated_type, enabled, friendly_name, index, remote, sys_name, type

Inherited from prlsdk.OwnerRefAsync: __owner__

Inherited from prlsdk.BaseAsync: __expected_h_type__, __job__, finished, handle_type

Inherited from prlsdk.Base: __handle__

Inherited from object: __class__

Method Details [hide private]

generate_mac_addr(self)

 

Generate a unique MAC address for the adapter. The method generates a new MAC address and automatically assigns it to the adapter. The method does not return the address to the caller. To obtain the address, use VmNetDev.mac_address.


Property Details [hide private]

bound_adapter_index

The index of the adapter to which this virtual adapter is bound.

Get Method:
unreachable.vmdevnet__get_bound_adapter_index(vmdevnet, VmDevNet) - Gets net VM device bound physical adapter index.
Set Method:
unreachable.vmdevnet__set_bound_adapter_index(vmdevnet, VmDevNet, index) - Sets net VM device bound physical adapter index.

bound_adapter_name

The name of the adapter to which this virtual adapter is bound

Get Method:
unreachable.vmdevnet__get_bound_adapter_name(vmdevnet, VmDevNet) - Returns net VM device bound physical adapter name.
Set Method:
unreachable.vmdevnet__set_bound_adapter_name(vmdevnet, VmDevNet, new_bound_adapter_name) - Sets net VM device bound physical adapter name.

mac_address

The MAC address of the adapter.

Get Method:
unreachable.vmdevnet__get_mac_address(vmdevnet, VmDevNet) - Returns net VM device MAC address.
Set Method:
unreachable.vmdevnet__set_mac_address(vmdevnet, VmDevNet, new_mac_address) - Sets net VM device MAC address.