Class: Y2Network::ConnectionConfig::Vlan
- Defined in:
- src/lib/y2network/connection_config/vlan.rb
Overview
Configuration for vlan connections
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#parent_device ⇒ String
FIXME: By now it will be just the interface name although in NM it could be a ifname, UUID or even a MAC address.
- #vlan_id ⇒ Integer?
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
Methods inherited from Base
#all_ips, #dhcp?, #find_parent, #hostname, #hostname=, #initialize, #propose, #propose_startmode, #static?, #type
Constructor Details
This class inherits a constructor from Y2Network::ConnectionConfig::Base
Instance Attribute Details
#parent_device ⇒ String
FIXME: By now it will be just the interface name although in NM it could be a ifname, UUID or even a MAC address. TODO: consider using Interface instead of plain string?
31 32 33 |
# File 'src/lib/y2network/connection_config/vlan.rb', line 31 def parent_device @parent_device end |
#vlan_id ⇒ Integer?
33 34 35 |
# File 'src/lib/y2network/connection_config/vlan.rb', line 33 def vlan_id @vlan_id end |
Instance Method Details
#virtual? ⇒ Boolean
38 39 40 |
# File 'src/lib/y2network/connection_config/vlan.rb', line 38 def virtual? true end |