Package pyanaconda :: Package isys
[hide private]
[frames] | no frames]

Package isys

source code

Functions [hide private]
 
pathSpaceAvailable(path) source code
 
mount(device, location, fstype="ext2", readOnly=False, bindMount=False, remount=False, options=None) source code
 
umount(what, removeDir=True) source code
 
swapoff(path) source code
 
swapon(path) source code
 
loadKeymap(keymap) source code
 
resetResolv() source code
 
readFSUuid(device) source code
 
readFSLabel(device) source code
 
readFSType(device) source code
 
ext2IsDirty(device) source code
 
ext2HasJournal(device) source code
 
modulesWithPaths() source code
 
driveUsesModule(device, modules)
Returns true if a drive is using a prticular module.
source code
 
vtActivate(num) source code
 
isPseudoTTY(fd) source code
 
sync() source code
 
isIsoImage(file) source code
 
getNetworkDeviceCount() source code
 
getDeviceProperties(dev=None) source code
 
getMacAddress(dev) source code
 
getNetDevDesc(dev) source code
 
isWirelessDevice(dev) source code
 
getIPAddresses(dev, version=4) source code
 
matchPathContext(fn) source code
 
setFileContext(fn, con, instroot='/') source code
 
resetFileContext(fn, instroot='/') source code
 
prefix2netmask(prefix) source code
 
netmask2prefix(netmask) source code
 
isPaeAvailable() source code
 
getLinkStatus(dev) source code
 
getAnacondaVersion() source code
Variables [hide private]
  log = logging.getLogger("anaconda")
  NM_SERVICE = "org.freedesktop.NetworkManager"
  NM_MANAGER_PATH = "/org/freedesktop/NetworkManager"
  NM_MANAGER_IFACE = "org.freedesktop.NetworkManager"
  NM_ACTIVE_CONNECTION_IFACE = "org.freedesktop.NetworkManager.C...
  NM_CONNECTION_IFACE = "org.freedesktop.NetworkManager.Settings...
  NM_DEVICE_IFACE = "org.freedesktop.NetworkManager.Device"
  NM_DEVICE_WIRED_IFACE = "org.freedesktop.NetworkManager.Device...
  NM_IP4CONFIG_IFACE = "org.freedesktop.NetworkManager.IP4Config"
  NM_IP6CONFIG_IFACE = "org.freedesktop.NetworkManager.IP6Config"
  NM_ACCESS_POINT_IFACE = "org.freedesktop.NetworkManager.Access...
  NM_STATE_UNKNOWN = 0
  NM_STATE_ASLEEP = 10
  NM_STATE_DISCONNECTED = 20
  NM_STATE_DISCONNECTING = 30
  NM_STATE_CONNECTING = 40
  NM_STATE_CONNECTED_LOCAL = 50
  NM_STATE_CONNECTED_SITE = 60
  NM_STATE_CONNECTED_GLOBAL = 70
  NM_DEVICE_STATE_ACTIVATED = 100
  DBUS_PROPS_IFACE = "org.freedesktop.DBus.Properties"
  mountCount = {}
  MIN_RAM = _isys.MIN_RAM
  MIN_GUI_RAM = _isys.MIN_GUI_RAM
  GUI_INSTALL_EXTRA_RAM = _isys.GUI_INSTALL_EXTRA_RAM
  EARLY_SWAP_RAM = _isys.EARLY_SWAP_RAM
  isPAE = None
hash(x)
  auditDaemon = _isys.auditdaemon
  handleSegv = _isys.handleSegv
  printObject = _isys.printObject
  bind_textdomain_codeset = _isys.bind_textdomain_codeset
  isVioConsole = _isys.isVioConsole
  initLog = _isys.initLog
  total_memory = _isys.total_memory
Function Details [hide private]

driveUsesModule(device, modules)

source code 

Returns true if a drive is using a prticular module. Only works for SCSI devices right now.


Variables Details [hide private]

NM_ACTIVE_CONNECTION_IFACE

Value:
"org.freedesktop.NetworkManager.Connection.Active"

NM_CONNECTION_IFACE

Value:
"org.freedesktop.NetworkManager.Settings.Connection"

NM_DEVICE_WIRED_IFACE

Value:
"org.freedesktop.NetworkManager.Device.Wired"

NM_ACCESS_POINT_IFACE

Value:
"org.freedesktop.NetworkManager.AccessPoint"