Class: Y2Network::S390DeviceActivators::Ctc
- Inherits:
-
Y2Network::S390DeviceActivator
- Object
- Y2Network::S390DeviceActivator
- Y2Network::S390DeviceActivators::Ctc
- Defined in:
- src/lib/y2network/s390_device_activators/ctc.rb
Overview
This class is responsible of activating CTC group devices.
Direct Known Subclasses
Constant Summary
Constants inherited from Y2Network::S390DeviceActivator
Y2Network::S390DeviceActivator::CONFIGURE_CMD, Y2Network::S390DeviceActivator::LIST_CMD
Instance Attribute Summary
Attributes inherited from Y2Network::S390DeviceActivator
Instance Method Summary collapse
- #configure_attributes ⇒ Object
- #propose! ⇒ Object
-
#propose_channels ⇒ Object
Modifies the read and write channel from the the device id.
Methods inherited from Y2Network::S390DeviceActivator
#configure, #configured_interface, for, #initialize
Constructor Details
This class inherits a constructor from Y2Network::S390DeviceActivator
Instance Method Details
#configure_attributes ⇒ Object
31 32 33 34 35 |
# File 'src/lib/y2network/s390_device_activators/ctc.rb', line 31 def configure_attributes return [] unless builder.protocol ["protocol=#{builder.protocol}"] end |
#propose! ⇒ Object
42 43 44 |
# File 'src/lib/y2network/s390_device_activators/ctc.rb', line 42 def propose! propose_channels unless device_id end |
#propose_channels ⇒ Object
Modifies the read and write channel from the the device id
38 39 40 |
# File 'src/lib/y2network/s390_device_activators/ctc.rb', line 38 def propose_channels builder.device_id = builder.name end |