Class: Y2Network::Wicked::ConnectionConfigWriters::Vlan
- Defined in:
- src/lib/y2network/wicked/connection_config_writers/vlan.rb
Overview
This class is responsible for writing the information from a ConnectionConfig::Vlan object to the underlying system.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Y2Network::Wicked::ConnectionConfigWriters::Base
Instance Method Details
#update_file(conn) ⇒ Object
30 31 32 33 |
# File 'src/lib/y2network/wicked/connection_config_writers/vlan.rb', line 30 def update_file(conn) file.vlan_id = conn.vlan_id file.etherdevice = conn.parent_device end |