Class: VBox::HostNetworkInterface

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

Instance Attribute Summary

Attributes inherited from Base

#ref

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 Method Details

#dhcp_enabledObject



18
19
20
# File 'lib/virtualbox/classes/host_network_interface.rb', line 18

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

#dhcp_rediscoverObject

Methods



60
61
62
# File 'lib/virtualbox/classes/host_network_interface.rb', line 60

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

#enable_dynamic_ip_configObject



64
65
66
# File 'lib/virtualbox/classes/host_network_interface.rb', line 64

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

#enable_static_ip_configObject



68
69
70
# File 'lib/virtualbox/classes/host_network_interface.rb', line 68

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

#enable_static_ip_config_v6Object



72
73
74
# File 'lib/virtualbox/classes/host_network_interface.rb', line 72

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

#hardware_addressObject



42
43
44
# File 'lib/virtualbox/classes/host_network_interface.rb', line 42

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

#idObject



10
11
12
# File 'lib/virtualbox/classes/host_network_interface.rb', line 10

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

#interface_typeObject



54
55
56
# File 'lib/virtualbox/classes/host_network_interface.rb', line 54

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

#ip_addressObject



22
23
24
# File 'lib/virtualbox/classes/host_network_interface.rb', line 22

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

#ipv6_addressObject



34
35
36
# File 'lib/virtualbox/classes/host_network_interface.rb', line 34

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

#ipv6_network_mask_prefix_lengthObject



38
39
40
# File 'lib/virtualbox/classes/host_network_interface.rb', line 38

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

#ipv6_supportedObject



30
31
32
# File 'lib/virtualbox/classes/host_network_interface.rb', line 30

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

#medium_typeObject



46
47
48
# File 'lib/virtualbox/classes/host_network_interface.rb', line 46

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

#nameObject

Attributes



6
7
8
# File 'lib/virtualbox/classes/host_network_interface.rb', line 6

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

#network_maskObject



26
27
28
# File 'lib/virtualbox/classes/host_network_interface.rb', line 26

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

#network_nameObject



14
15
16
# File 'lib/virtualbox/classes/host_network_interface.rb', line 14

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

#statusObject



50
51
52
# File 'lib/virtualbox/classes/host_network_interface.rb', line 50

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