Class: Y2Network::Wicked::ConnectionConfigReaders::Bonding

Inherits:
Base
  • Object
show all
Defined in:
src/lib/y2network/wicked/connection_config_readers/bonding.rb

Overview

This class is able to build a ConnectionConfig::Bonding object given a SysconfigInterfaceFile object.

Instance Attribute Summary

Attributes inherited from Base

#file

Instance Method Summary collapse

Methods inherited from Base

#connection_config, #initialize

Constructor Details

This class inherits a constructor from Y2Network::Wicked::ConnectionConfigReaders::Base

Instance Method Details

#update_connection_config(conn) ⇒ Object

See Also:

  • Y2Network::Wicked::ConnectionConfigReaders::Base#update_connection_config


29
30
31
32
# File 'src/lib/y2network/wicked/connection_config_readers/bonding.rb', line 29

def update_connection_config(conn)
  conn.ports = ports
  conn.options = file.bonding_module_opts
end