Class: Y2Network::ConnectionConfig::Tun
- Defined in:
- src/lib/y2network/connection_config/tun.rb
Overview
Configuration for TUN connections
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#group ⇒ String
Tunnel group (name or GID).
-
#owner ⇒ String
Tunnel owner (name or UID).
Attributes inherited from Base
#bootproto, #description, #dhclient_set_hostname, #ethtool_options, #firewall_zone, #hostnames, #id, #interface, #ip, #ip_aliases, #lladdress, #mtu, #name, #startmode
Instance Method Summary collapse
-
#initialize ⇒ Tun
constructor
A new instance of Tun.
- #virtual? ⇒ Boolean
Methods inherited from Base
#all_ips, #dhcp?, #find_parent, #hostname, #hostname=, #propose, #propose_startmode, #static?, #type
Constructor Details
#initialize ⇒ Tun
Returns a new instance of Tun.
33 34 35 36 37 |
# File 'src/lib/y2network/connection_config/tun.rb', line 33 def initialize super() @owner = "" @group = "" end |
Instance Attribute Details
#group ⇒ String
Returns tunnel group (name or GID).
29 30 31 |
# File 'src/lib/y2network/connection_config/tun.rb', line 29 def group @group end |
#owner ⇒ String
Returns tunnel owner (name or UID).
27 28 29 |
# File 'src/lib/y2network/connection_config/tun.rb', line 27 def owner @owner end |
Instance Method Details
#virtual? ⇒ Boolean
39 40 41 |
# File 'src/lib/y2network/connection_config/tun.rb', line 39 def virtual? true end |