Class: Y2Network::Wicked::ConnectionConfigReaders::Tap

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

Overview

This class is able to build a ConnectionConfig::Tap object given a Wicked::InterfaceFile 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

Parameters:

See Also:

  • Base#update_connection_config


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

def update_connection_config(conn)
  conn.owner = file.tunnel_set_owner
  conn.group = file.tunnel_set_group
end