Class: Y2Network::Autoinst::TypeDetector
- Inherits:
-
TypeDetector
- Object
- TypeDetector
- Y2Network::Autoinst::TypeDetector
- Defined in:
- src/lib/y2network/autoinst/type_detector.rb
Overview
Detects type of given interface based on autoyast profile
Class Method Summary collapse
Class Method Details
.type_of(iface, section) ⇒ Object
30 31 32 |
# File 'src/lib/y2network/autoinst/type_detector.rb', line 30 def type_of(iface, section) type_by_sys(iface) || type_by_config(section) || InterfaceType::ETHERNET end |