Class: Y2Network::S390DeviceActivators::Lcs

Inherits:
Ctc show all
Defined in:
src/lib/y2network/s390_device_activators/lcs.rb

Overview

The Lcs device activator is based in Ctc as both have two group device channels (read and write).

In the past they shared also the configure command 'ctc_configure' and the 'protocol' attribute was needed, but as the configuration has been moved to 'chzdev' command it is not the case anymore.

Constant Summary

Constants inherited from Y2Network::S390DeviceActivator

Y2Network::S390DeviceActivator::CONFIGURE_CMD, Y2Network::S390DeviceActivator::LIST_CMD

Instance Attribute Summary

Attributes inherited from Y2Network::S390DeviceActivator

#builder

Instance Method Summary collapse

Methods inherited from Ctc

#propose!, #propose_channels

Methods inherited from Y2Network::S390DeviceActivator

#configure, #configured_interface, for, #initialize, #propose!

Constructor Details

This class inherits a constructor from Y2Network::S390DeviceActivator

Instance Method Details

#configure_attributesObject



31
32
33
34
35
# File 'src/lib/y2network/s390_device_activators/lcs.rb', line 31

def configure_attributes
  return [] unless builder.timeout

  ["lancmd_timeout=#{builder.timeout}"]
end