2016-04-10 04:00:00 +00:00
<!DOCTYPE html>
<!-- [if IE 8]><html class="no - js lt - ie9" lang="en" > <![endif] -->
<!-- [if gt IE 8]><! --> < html class = "no-js" lang = "en" > <!-- <![endif] -->
< head >
< meta charset = "utf-8" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" >
2017-01-09 02:09:07 +00:00
< title > pyanaconda.ui.lib package — Anaconda 25.14 documentation< / title >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< link rel = "stylesheet" href = "_static/css/theme.css" type = "text/css" / >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
< link rel = "top" title = "Anaconda 25.14 documentation" href = "index.html" / >
2016-04-10 04:00:00 +00:00
< link rel = "up" title = "pyanaconda.ui package" href = "pyanaconda.ui.html" / >
< link rel = "next" title = "pyanaconda.ui.tui package" href = "pyanaconda.ui.tui.html" / >
2017-01-09 02:09:07 +00:00
< link rel = "prev" title = "pyanaconda.ui.gui.spokes.lib package" href = "pyanaconda.ui.gui.spokes.lib.html" / >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script src = "_static/js/modernizr.min.js" > < / script >
< / head >
< body class = "wy-body-for-nav" role = "document" >
< div class = "wy-grid-for-nav" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
2017-01-09 02:09:07 +00:00
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
< a href = "index.html" class = "icon icon-home" > Anaconda
< / a >
< div class = "version" >
25.14
< / div >
2016-04-10 04:00:00 +00:00
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "search.html" method = "get" >
< input type = "text" name = "q" placeholder = "Search docs" / >
< input type = "hidden" name = "check_keywords" value = "yes" / >
< input type = "hidden" name = "area" value = "default" / >
< / form >
< / div >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "main navigation" >
< ul class = "current" >
2016-04-10 04:00:00 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "intro.html" > Introduction to Anaconda< / a > < / li >
2017-01-09 02:09:07 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "release.html" > Building a Release< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "boot-options.html" > Anaconda Boot Options< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "kickstart.html" > Anaconda Kickstart Documentation< / a > < / li >
2016-04-10 04:00:00 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "commit-log.html" > Rules for commit messages< / a > < / li >
2017-01-09 02:09:07 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "driverdisc.html" > Brief description of DriverDisc version 3< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "iscsi.html" > iSCSI and Anaconda< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "multipath.html" > Multipath and Anaconda< / a > < / li >
2016-04-10 04:00:00 +00:00
< li class = "toctree-l1 current" > < a class = "reference internal" href = "modules.html" > pyanaconda< / a > < ul class = "current" >
< li class = "toctree-l2 current" > < a class = "reference internal" href = "pyanaconda.html" > pyanaconda package< / a > < ul class = "current" >
< li class = "toctree-l3 current" > < a class = "reference internal" href = "pyanaconda.html#subpackages" > Subpackages< / a > < ul class = "current" >
< li class = "toctree-l4" > < a class = "reference internal" href = "pyanaconda.installclasses.html" > pyanaconda.installclasses package< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "pyanaconda.isys.html" > pyanaconda.isys package< / a > < / li >
< li class = "toctree-l4" > < a class = "reference internal" href = "pyanaconda.packaging.html" > pyanaconda.packaging package< / a > < / li >
< li class = "toctree-l4 current" > < a class = "reference internal" href = "pyanaconda.ui.html" > pyanaconda.ui package< / a > < / li >
< / ul >
< / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#submodules" > Submodules< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.addons" > pyanaconda.addons module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.anaconda" > pyanaconda.anaconda module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.anaconda_argparse" > pyanaconda.anaconda_argparse module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.anaconda_log" > pyanaconda.anaconda_log module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.bootloader" > pyanaconda.bootloader module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.constants" > pyanaconda.constants module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.constants_text" > pyanaconda.constants_text module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.desktop" > pyanaconda.desktop module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.errors" > pyanaconda.errors module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.exception" > pyanaconda.exception module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.flags" > pyanaconda.flags module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.geoloc" > pyanaconda.geoloc module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.i18n" > pyanaconda.i18n module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.ihelp" > pyanaconda.ihelp module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.image" > pyanaconda.image module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.install" > pyanaconda.install module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.installclass" > pyanaconda.installclass module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.iutil" > pyanaconda.iutil module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.kexec" > pyanaconda.kexec module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.keyboard" > pyanaconda.keyboard module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.kickstart" > pyanaconda.kickstart module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.localization" > pyanaconda.localization module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.network" > pyanaconda.network module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.nm" > pyanaconda.nm module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.ntp" > pyanaconda.ntp module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.product" > pyanaconda.product module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.progress" > pyanaconda.progress module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.pwpolicy" > pyanaconda.pwpolicy module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.queuefactory" > pyanaconda.queuefactory module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.regexes" > pyanaconda.regexes module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.rescue" > pyanaconda.rescue module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.safe_dbus" > pyanaconda.safe_dbus module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.screensaver" > pyanaconda.screensaver module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.simpleconfig" > pyanaconda.simpleconfig module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.startup_utils" > pyanaconda.startup_utils module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.storage_utils" > pyanaconda.storage_utils module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.threads" > pyanaconda.threads module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.timezone" > pyanaconda.timezone module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.users" > pyanaconda.users module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda.vnc" > pyanaconda.vnc module< / a > < / li >
< li class = "toctree-l3" > < a class = "reference internal" href = "pyanaconda.html#module-pyanaconda" > Module contents< / a > < / li >
< / ul >
< / li >
< / ul >
< / li >
2017-01-09 02:09:07 +00:00
< li class = "toctree-l1" > < a class = "reference internal" href = "testing.html" > Testing< / a > < / li >
< li class = "toctree-l1" > < a class = "reference internal" href = "tests/modules.html" > tests< / a > < / li >
2016-04-10 04:00:00 +00:00
< / ul >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
< / div >
< / nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< nav class = "wy-nav-top" role = "navigation" aria-label = "top navigation" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" > < / i >
< a href = "index.html" > Anaconda< / a >
< / nav >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< div class = "wy-nav-content" >
< div class = "rst-content" >
2017-01-09 02:09:07 +00:00
< div role = "navigation" aria-label = "breadcrumbs navigation" >
2016-04-10 04:00:00 +00:00
< ul class = "wy-breadcrumbs" >
< li > < a href = "index.html" > Docs< / a > » < / li >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< li > < a href = "modules.html" > pyanaconda< / a > » < / li >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< li > < a href = "pyanaconda.html" > pyanaconda package< / a > » < / li >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< li > < a href = "pyanaconda.ui.html" > pyanaconda.ui package< / a > » < / li >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< li > pyanaconda.ui.lib package< / li >
< li class = "wy-breadcrumbs-aside" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< a href = "_sources/pyanaconda.ui.lib.txt" rel = "nofollow" > View page source< / a >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / li >
< / ul >
< hr / >
< / div >
2017-01-09 02:09:07 +00:00
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2016-04-10 04:00:00 +00:00
< div class = "section" id = "pyanaconda-ui-lib-package" >
< h1 > pyanaconda.ui.lib package< a class = "headerlink" href = "#pyanaconda-ui-lib-package" title = "Permalink to this headline" > ¶< / a > < / h1 >
< div class = "section" id = "submodules" >
< h2 > Submodules< a class = "headerlink" href = "#submodules" title = "Permalink to this headline" > ¶< / a > < / h2 >
< / div >
< div class = "section" id = "module-pyanaconda.ui.lib.disks" >
< span id = "pyanaconda-ui-lib-disks-module" > < / span > < h2 > pyanaconda.ui.lib.disks module< a class = "headerlink" href = "#module-pyanaconda.ui.lib.disks" title = "Permalink to this headline" > ¶< / a > < / h2 >
< dl class = "class" >
< dt id = "pyanaconda.ui.lib.disks.FakeDiskLabel" >
2017-01-09 02:09:07 +00:00
< em class = "property" > class < / em > < code class = "descclassname" > pyanaconda.ui.lib.disks.< / code > < code class = "descname" > FakeDiskLabel< / code > < span class = "sig-paren" > (< / span > < em > free=0< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.disks.FakeDiskLabel" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Bases: < a class = "reference external" href = "https://docs.python.org/3/library/functions.html#object" title = "(in Python v3.5)" > < code class = "xref py py-class docutils literal" > < span class = "pre" > object< / span > < / code > < / a > < / p >
2016-04-10 04:00:00 +00:00
< / dd > < / dl >
< dl class = "class" >
< dt id = "pyanaconda.ui.lib.disks.FakeDisk" >
2017-01-09 02:09:07 +00:00
< em class = "property" > class < / em > < code class = "descclassname" > pyanaconda.ui.lib.disks.< / code > < code class = "descname" > FakeDisk< / code > < span class = "sig-paren" > (< / span > < em > name< / em > , < em > size=0< / em > , < em > free=0< / em > , < em > partitioned=True< / em > , < em > vendor=None< / em > , < em > model=None< / em > , < em > serial=None< / em > , < em > removable=False< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.disks.FakeDisk" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Bases: < a class = "reference external" href = "https://docs.python.org/3/library/functions.html#object" title = "(in Python v3.5)" > < code class = "xref py py-class docutils literal" > < span class = "pre" > object< / span > < / code > < / a > < / p >
2016-04-10 04:00:00 +00:00
< dl class = "attribute" >
< dt id = "pyanaconda.ui.lib.disks.FakeDisk.description" >
2017-01-09 02:09:07 +00:00
< code class = "descname" > description< / code > < a class = "headerlink" href = "#pyanaconda.ui.lib.disks.FakeDisk.description" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < / dd > < / dl >
< / dd > < / dl >
< dl class = "function" >
< dt id = "pyanaconda.ui.lib.disks.getDisks" >
2017-01-09 02:09:07 +00:00
< code class = "descclassname" > pyanaconda.ui.lib.disks.< / code > < code class = "descname" > getDisks< / code > < span class = "sig-paren" > (< / span > < em > devicetree< / em > , < em > fake=False< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.disks.getDisks" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < / dd > < / dl >
< dl class = "function" >
< dt id = "pyanaconda.ui.lib.disks.isLocalDisk" >
2017-01-09 02:09:07 +00:00
< code class = "descclassname" > pyanaconda.ui.lib.disks.< / code > < code class = "descname" > isLocalDisk< / code > < span class = "sig-paren" > (< / span > < em > disk< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.disks.isLocalDisk" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < / dd > < / dl >
< / div >
< div class = "section" id = "module-pyanaconda.ui.lib.entropy" >
< span id = "pyanaconda-ui-lib-entropy-module" > < / span > < h2 > pyanaconda.ui.lib.entropy module< a class = "headerlink" href = "#module-pyanaconda.ui.lib.entropy" title = "Permalink to this headline" > ¶< / a > < / h2 >
< p > Helper module with functions for informing user we are waiting for random
data entropy.< / p >
< dl class = "function" >
< dt id = "pyanaconda.ui.lib.entropy.wait_for_entropy" >
2017-01-09 02:09:07 +00:00
< code class = "descclassname" > pyanaconda.ui.lib.entropy.< / code > < code class = "descname" > wait_for_entropy< / code > < span class = "sig-paren" > (< / span > < em > msg< / em > , < em > desired_entropy< / em > , < em > ksdata< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.entropy.wait_for_entropy" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < p > Show UI dialog/message for waiting for desired random data entropy.< / p >
< table class = "docutils field-list" frame = "void" rules = "none" >
< col class = "field-name" / >
< col class = "field-body" / >
< tbody valign = "top" >
< tr class = "field-odd field" > < th class = "field-name" > Parameters:< / th > < td class = "field-body" > < ul class = "first simple" >
< li > < strong > ksdata< / strong > (< em > pykickstart.base.BaseHandler< / em > ) – kickstart data< / li >
2017-01-09 02:09:07 +00:00
< li > < strong > desired_entropy< / strong > (< a class = "reference external" href = "https://docs.python.org/3/library/functions.html#int" title = "(in Python v3.5)" > < em > int< / em > < / a > ) – entropy level to wait for< / li >
2016-04-10 04:00:00 +00:00
< / ul >
< / td >
< / tr >
< tr class = "field-even field" > < th class = "field-name" > Returns:< / th > < td class = "field-body" > < p class = "first" > whether to force continuing regardless of the available entropy level< / p >
< / td >
< / tr >
2017-01-09 02:09:07 +00:00
< tr class = "field-odd field" > < th class = "field-name" > Return type:< / th > < td class = "field-body" > < p class = "first last" > < a class = "reference external" href = "https://docs.python.org/3/library/functions.html#bool" title = "(in Python v3.5)" > bool< / a > < / p >
2016-04-10 04:00:00 +00:00
< / td >
< / tr >
< / tbody >
< / table >
< / dd > < / dl >
< / div >
< div class = "section" id = "module-pyanaconda.ui.lib.space" >
< span id = "pyanaconda-ui-lib-space-module" > < / span > < h2 > pyanaconda.ui.lib.space module< a class = "headerlink" href = "#module-pyanaconda.ui.lib.space" title = "Permalink to this headline" > ¶< / a > < / h2 >
< dl class = "class" >
< dt id = "pyanaconda.ui.lib.space.DirInstallSpaceChecker" >
2017-01-09 02:09:07 +00:00
< em class = "property" > class < / em > < code class = "descclassname" > pyanaconda.ui.lib.space.< / code > < code class = "descname" > DirInstallSpaceChecker< / code > < span class = "sig-paren" > (< / span > < em > storage< / em > , < em > payload< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.DirInstallSpaceChecker" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Bases: < a class = "reference internal" href = "#pyanaconda.ui.lib.space.FileSystemSpaceChecker" title = "pyanaconda.ui.lib.space.FileSystemSpaceChecker" > < code class = "xref py py-class docutils literal" > < span class = "pre" > pyanaconda.ui.lib.space.FileSystemSpaceChecker< / span > < / code > < / a > < / p >
2016-04-10 04:00:00 +00:00
< p > Use the amount of space available at ROOT_PATH to calculate free space.< / p >
< p > This is used for the – dirinstall option where no storage is mounted and it
is using space from the host’ s filesystem.< / p >
< p > Create a new FileSystemSpaceChecker object.< / p >
< p > Attributes:< / p >
< p > payload – An instance of a packaging.Payload subclass.
storage – An instance of storage.Storage.< / p >
< dl class = "method" >
< dt id = "pyanaconda.ui.lib.space.DirInstallSpaceChecker.check" >
2017-01-09 02:09:07 +00:00
< code class = "descname" > check< / code > < span class = "sig-paren" > (< / span > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.DirInstallSpaceChecker.check" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < p > Check configured storage against software selections. When this
method is complete (which should be pretty quickly), the following
attributes are available for inspection:< / p >
< dl class = "docutils" >
< dt > success – A simple boolean defining whether there’ s enough< / dt >
< dd > space or not.< / dd >
< dt > deficit – If unsuccessful, how much space the system is< / dt >
< dd > short for current software selections.< / dd >
< dt > error_message – If unsuccessful, an error message describing the< / dt >
< dd > situation. This message is suitable for putting
in the info bar at the bottom of a Hub.< / dd >
< / dl >
< / dd > < / dl >
< / dd > < / dl >
< dl class = "class" >
< dt id = "pyanaconda.ui.lib.space.FileSystemSpaceChecker" >
2017-01-09 02:09:07 +00:00
< em class = "property" > class < / em > < code class = "descclassname" > pyanaconda.ui.lib.space.< / code > < code class = "descname" > FileSystemSpaceChecker< / code > < span class = "sig-paren" > (< / span > < em > storage< / em > , < em > payload< / em > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.FileSystemSpaceChecker" title = "Permalink to this definition" > ¶< / a > < / dt >
< dd > < p > Bases: < a class = "reference external" href = "https://docs.python.org/3/library/functions.html#object" title = "(in Python v3.5)" > < code class = "xref py py-class docutils literal" > < span class = "pre" > object< / span > < / code > < / a > < / p >
2016-04-10 04:00:00 +00:00
< p > This object provides for a way to verify that enough space is available
on configured file systems to support the current software selections.
It is run as part of completeness checking every time a spoke changes,
therefore moving this step up out of both the storage and software
spokes.< / p >
< p > Create a new FileSystemSpaceChecker object.< / p >
< p > Attributes:< / p >
< p > payload – An instance of a packaging.Payload subclass.
storage – An instance of storage.Storage.< / p >
< dl class = "method" >
< dt id = "pyanaconda.ui.lib.space.FileSystemSpaceChecker.check" >
2017-01-09 02:09:07 +00:00
< code class = "descname" > check< / code > < span class = "sig-paren" > (< / span > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.FileSystemSpaceChecker.check" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < p > Check configured storage against software selections. When this
method is complete (which should be pretty quickly), the following
attributes are available for inspection:< / p >
< dl class = "docutils" >
< dt > success – A simple boolean defining whether there’ s enough< / dt >
< dd > space or not.< / dd >
< dt > deficit – If unsuccessful, how much space the system is< / dt >
< dd > short for current software selections.< / dd >
< dt > error_message – If unsuccessful, an error message describing the< / dt >
< dd > situation. This message is suitable for putting
in the info bar at the bottom of a Hub.< / dd >
< / dl >
< / dd > < / dl >
< dl class = "attribute" >
< dt id = "pyanaconda.ui.lib.space.FileSystemSpaceChecker.error_template" >
2017-01-09 02:09:07 +00:00
< code class = "descname" > error_template< / code > < em class = "property" > = 'Not enough space in file systems for the current software selection. An additional %s is needed.'< / em > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.FileSystemSpaceChecker.error_template" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < / dd > < / dl >
< dl class = "method" >
< dt id = "pyanaconda.ui.lib.space.FileSystemSpaceChecker.reset" >
2017-01-09 02:09:07 +00:00
< code class = "descname" > reset< / code > < span class = "sig-paren" > (< / span > < span class = "sig-paren" > )< / span > < a class = "headerlink" href = "#pyanaconda.ui.lib.space.FileSystemSpaceChecker.reset" title = "Permalink to this definition" > ¶< / a > < / dt >
2016-04-10 04:00:00 +00:00
< dd > < p > Get rid of any existing error messages and prepare to run the
check again.< / p >
< / dd > < / dl >
< / dd > < / dl >
< / div >
< div class = "section" id = "module-pyanaconda.ui.lib" >
< span id = "module-contents" > < / span > < h2 > Module contents< a class = "headerlink" href = "#module-pyanaconda.ui.lib" title = "Permalink to this headline" > ¶< / a > < / h2 >
< / div >
< / div >
2017-01-09 02:09:07 +00:00
< / div >
2016-04-10 04:00:00 +00:00
< / div >
< footer >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< div class = "rst-footer-buttons" role = "navigation" aria-label = "footer navigation" >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< a href = "pyanaconda.ui.tui.html" class = "btn btn-neutral float-right" title = "pyanaconda.ui.tui package" accesskey = "n" > Next < span class = "fa fa-arrow-circle-right" > < / span > < / a >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< a href = "pyanaconda.ui.gui.spokes.lib.html" class = "btn btn-neutral" title = "pyanaconda.ui.gui.spokes.lib package" accesskey = "p" > < span class = "fa fa-arrow-circle-left" > < / span > Previous< / a >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / div >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< hr / >
< div role = "contentinfo" >
< p >
© Copyright 2015, Red Hat, Inc..
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / p >
< / div >
2017-01-09 02:09:07 +00:00
Built with < a href = "http://sphinx-doc.org/" > Sphinx< / a > using a < a href = "https://github.com/snide/sphinx_rtd_theme" > theme< / a > provided by < a href = "https://readthedocs.org" > Read the Docs< / a > .
2016-04-10 04:00:00 +00:00
< / footer >
< / div >
< / div >
< / section >
< / div >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" >
var DOCUMENTATION_OPTIONS = {
URL_ROOT:'./',
2017-01-09 02:09:07 +00:00
VERSION:'25.14',
2016-04-10 04:00:00 +00:00
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true
};
< / script >
< script type = "text/javascript" src = "_static/jquery.js" > < / script >
< script type = "text/javascript" src = "_static/underscore.js" > < / script >
< script type = "text/javascript" src = "_static/doctools.js" > < / script >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" src = "_static/js/theme.js" > < / script >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< script type = "text/javascript" >
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
< / script >
2017-01-09 02:09:07 +00:00
2016-04-10 04:00:00 +00:00
< / body >
< / html >