Class: VBox::HostNetworkInterface
- Inherits:
-
Base
- Object
- Base
- VBox::HostNetworkInterface
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
#ref ⇒ Object
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_enabled ⇒ Object
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_rediscover ⇒ Object
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_config ⇒ Object
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_config ⇒ Object
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_v6 ⇒ Object
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_address ⇒ Object
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
|
#id ⇒ Object
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_type ⇒ Object
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_address ⇒ Object
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_address ⇒ Object
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_length ⇒ Object
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_supported ⇒ Object
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_type ⇒ Object
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
|
#name ⇒ Object
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_mask ⇒ Object
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_name ⇒ Object
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
|
#status ⇒ Object
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
|