Class: Y2Network::FcoeConnGenerator
- Inherits:
-
Object
- Object
- Y2Network::FcoeConnGenerator
- Includes:
- Yast::Logger
- Defined in:
- src/lib/y2network/fcoe_conn_generator.rb
Overview
This class is responsible for creating the connection configuration for a given FCoE storage only device
Instance Attribute Summary collapse
- #config ⇒ Y2Network::Config readonly
Instance Method Summary collapse
-
#initialize(config) ⇒ FcoeConnGenerator
constructor
A new instance of FcoeConnGenerator.
- #update_connections_for(card) ⇒ Object
Constructor Details
#initialize(config) ⇒ FcoeConnGenerator
Returns a new instance of FcoeConnGenerator.
31 32 33 |
# File 'src/lib/y2network/fcoe_conn_generator.rb', line 31 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Y2Network::Config (readonly)
29 30 31 |
# File 'src/lib/y2network/fcoe_conn_generator.rb', line 29 def config @config end |
Instance Method Details
#update_connections_for(card) ⇒ Object
36 37 38 39 |
# File 'src/lib/y2network/fcoe_conn_generator.rb', line 36 def update_connections_for(card) update_parent_connection_for(card) update_vlan_connection_for(card) end |