Package pyanaconda :: Module network
[hide private]
[frames] | no frames]

Module network

source code

Classes [hide private]
  IPError
  IPMissing
  NetworkDevice
  WirelessNetworkDevice
This class overwrites NetworkDevice's, IfcfgFile's and SimpleConfigFile's methods to prevent working with per-device ifcfgfiles (which doesn't make sense with wifi devices)
  Network
Functions [hide private]
 
sanityCheckHostname(hostname) source code
 
getDefaultHostname(anaconda) source code
 
sanityCheckIPString(ip_string) source code
 
nmIsConnected(state) source code
 
hasActiveNetDev() source code
 
getActiveNetDevs() source code
 
logIfcfgFile(path, message="") source code
 
logIfcfgFiles(message="") source code
 
getSSIDs(devices_to_scan=None) source code
 
ifaceForHostIP(host) source code
 
resetResolver() source code
Variables [hide private]
  _ = lambda x:
  log = logging.getLogger("anaconda")
  sysconfigDir = "/etc/sysconfig"
  netscriptsDir = "%s/network-scripts" %(sysconfigDir)
  networkConfFile = "%s/network" %(sysconfigDir)
  ipv6ConfFile = "/etc/modprobe.d/ipv6.conf"
  ifcfgLogFile = "/tmp/ifcfg.log"
  CONNECTION_TIMEOUT = 45
  logger = logging.getLogger("ifcfg")
  ifcfglog = logging.getLogger("ifcfg")