Class: VBox::HostNetworkInterface

Inherits:
Base
  • Object
show all
Defined in:
lib/virtualbox/classes/host_network_interface.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

#_this, #delete!, #ensure_hash, #initialize, #vbox_class

Constructor Details

This class inherits a constructor from VBox::Base

Instance Attribute Details

#refObject (readonly)

Returns the value of attribute ref.



4
5
6
# File 'lib/virtualbox/classes/host_network_interface.rb', line 4

def ref
  @ref
end

Instance Method Details

#dhcp_enabledObject



20
21
22
# File 'lib/virtualbox/classes/host_network_interface.rb', line 20

def dhcp_enabled
  VBox::WebService.send_request(:i_host_network_interface_get_dhcp_enabled, _this)
end

#dhcp_rediscoverObject

Methods



62
63
64
# File 'lib/virtualbox/classes/host_network_interface.rb', line 62

def dhcp_rediscover
  VBox::WebService.send_request(:i_host_network_interface_dhcp_rediscover, _this)
end

#enable_dynamic_ip_configObject



66
67
68
# File 'lib/virtualbox/classes/host_network_interface.rb', line 66

def enable_dynamic_ip_config
  VBox::WebService.send_request(:i_host_network_interface_enable_dynamic_ip_config, _this)
end

#enable_static_ip_configObject



70
71
72
# File 'lib/virtualbox/classes/host_network_interface.rb', line 70

def enable_static_ip_config
  VBox::WebService.send_request(:i_host_network_interface_enable_static_ip_config, _this)
end

#enable_static_ip_config_v6Object



74
75
76
# File 'lib/virtualbox/classes/host_network_interface.rb', line 74

def enable_static_ip_config_v6
  VBox::WebService.send_request(:i_host_network_interface_enable_static_ip_config_v6, _this)
end

#hardware_addressObject



44
45
46
# File 'lib/virtualbox/classes/host_network_interface.rb', line 44

def hardware_address
  VBox::WebService.send_request(:i_host_network_interface_get_hardware_address, _this)
end

#idObject



12
13
14
# File 'lib/virtualbox/classes/host_network_interface.rb', line 12

def id
  VBox::WebService.send_request(:i_host_network_interface_get_id, _this)
end

#interface_typeObject



56
57
58
# File 'lib/virtualbox/classes/host_network_interface.rb', line 56

def interface_type
  VBox::WebService.send_request(:i_host_network_interface_get_interface_type, _this)
end

#ip_addressObject



24
25
26
# File 'lib/virtualbox/classes/host_network_interface.rb', line 24

def ip_address
  VBox::WebService.send_request(:i_host_network_interface_get_ip_address, _this)
end

#ipv6_addressObject



36
37
38
# File 'lib/virtualbox/classes/host_network_interface.rb', line 36

def ipv6_address
  VBox::WebService.send_request(:i_host_network_interface_get_ipv6_address, _this)
end

#ipv6_network_mask_prefix_lengthObject



40
41
42
# File 'lib/virtualbox/classes/host_network_interface.rb', line 40

def ipv6_network_mask_prefix_length
  VBox::WebService.send_request(:i_host_network_interface_get_ipv6_network_mask_prefix_length, _this)
end

#ipv6_supportedObject



32
33
34
# File 'lib/virtualbox/classes/host_network_interface.rb', line 32

def ipv6_supported
  VBox::WebService.send_request(:i_host_network_interface_get_ipv6_supported, _this)
end

#medium_typeObject



48
49
50
# File 'lib/virtualbox/classes/host_network_interface.rb', line 48

def medium_type
  VBox::WebService.send_request(:i_host_network_interface_get_medium_type, _this)
end

#nameObject

Attributes



8
9
10
# File 'lib/virtualbox/classes/host_network_interface.rb', line 8

def name
  VBox::WebService.send_request(:i_host_network_interface_get_name, _this)
end

#network_maskObject



28
29
30
# File 'lib/virtualbox/classes/host_network_interface.rb', line 28

def network_mask
  VBox::WebService.send_request(:i_host_network_interface_get_network_mask, _this)
end

#network_nameObject



16
17
18
# File 'lib/virtualbox/classes/host_network_interface.rb', line 16

def network_name
  VBox::WebService.send_request(:i_host_network_interface_get_network_name, _this)
end

#statusObject



52
53
54
# File 'lib/virtualbox/classes/host_network_interface.rb', line 52

def status
  VBox::WebService.send_request(:i_host_network_interface_get_status, _this)
end