Class: Y2Network::ConnectionConfig::Infiniband
- Defined in:
- src/lib/y2network/connection_config/infiniband.rb
Overview
Configuration for infiniband connections
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#ipoib_mode ⇒ IpoibMode
Transport mode.
Attributes inherited from Base
#bootproto, #description, #ethtool_options, #firewall_zone, #hostname, #id, #interface, #ip, #ip_aliases, #lladdress, #mtu, #name, #startmode
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize ⇒ Infiniband
constructor
A new instance of Infiniband.
Methods inherited from Base
#all_ips, #find_master, #propose, #propose_startmode, #type, #virtual?
Constructor Details
#initialize ⇒ Infiniband
32 33 34 35 36 |
# File 'src/lib/y2network/connection_config/infiniband.rb', line 32 def initialize super self.ipoib_mode = IpoibMode::DEFAULT end |
Instance Attribute Details
#ipoib_mode ⇒ IpoibMode
30 31 32 |
# File 'src/lib/y2network/connection_config/infiniband.rb', line 30 def ipoib_mode @ipoib_mode end |
Instance Method Details
#==(other) ⇒ Object
38 39 40 41 42 43 44 |
# File 'src/lib/y2network/connection_config/infiniband.rb', line 38 def ==(other) return false unless super [:ipoib_mode].all? do |method| public_send(method) == other.public_send(method) end end |