Class: Y2Network::InterfaceConfigBuilders::Wireless

Inherits:
Y2Network::InterfaceConfigBuilder show all
Extended by:
Forwardable
Includes:
Yast::Logger
Defined in:
src/lib/y2network/interface_config_builders/wireless.rb

Overview

Builder for wireless configuration. Many methods delegated to ConnectionConfig::Wireless

Constant Summary

Constants inherited from Y2Network::InterfaceConfigBuilder

Y2Network::InterfaceConfigBuilder::NEW_DEVICES_COUNT

Instance Attribute Summary

Attributes inherited from Y2Network::InterfaceConfigBuilder

#connection_config, #firewall_zone, #interface, #name, #renaming_mechanism, #type

Instance Method Summary collapse

Methods inherited from Y2Network::InterfaceConfigBuilder

#aliases, #aliases=, #boot_protocol, #boot_protocol=, #configure_as_slave, #driver, #driver=, #drivers, for, #hostname, #hostname=, #hwinfo, #hwinfo_from, #ifplugd_priority, #ifplugd_priority=, #ip_address, #ip_address=, #mtu, #mtu=, #name_exists?, #name_valid_characters, #newly_added?, #proposed_names, #remote_ip, #remote_ip=, #rename_interface, #renamed_interface?, #save, #startmode=, #subnet_prefix, #subnet_prefix=, #valid_name?

Constructor Details

#initialize(config: nil) ⇒ Wireless


33
34
35
# File 'src/lib/y2network/interface_config_builders/wireless.rb', line 33

def initialize(config: nil)
  super(type: InterfaceType::WIRELESS, config: config)
end

Instance Method Details

#access_pointObject


37
38
39
# File 'src/lib/y2network/interface_config_builders/wireless.rb', line 37

def access_point
  @connection_config.ap
end

#access_point=(value) ⇒ Object


41
42
43
# File 'src/lib/y2network/interface_config_builders/wireless.rb', line 41

def access_point=(value)
  @connection_config.ap = value
end