/usr/share/doc/python-hpilo-doc/html/boot.html is in python-hpilo-doc 3.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Boot settings and rebooting — python-hpilo 3.9 documentation</title>
<link rel="stylesheet" href="_static/cloud.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Noticia+Text|Open+Sans|Droid+Sans+Mono" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '3.9',
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>
<script type="text/javascript" src="_static/cloud.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="top" title="python-hpilo 3.9 documentation" href="index.html" />
<link rel="next" title="Virtual media" href="media.html" />
<link rel="prev" title="Power manipulation" href="power.html" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body role="document">
<div class="relbar-top">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="media.html" title="Virtual media"
accesskey="N">next</a> </li>
<li class="right" >
<a href="power.html" title="Power manipulation"
accesskey="P">previous</a> </li>
<li><a href="index.html">python-hpilo 3.9 documentation</a> »</li>
</ul>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="boot-settings-and-rebooting">
<h1>Boot settings and rebooting<a class="headerlink" href="#boot-settings-and-rebooting" title="Permalink to this headline">¶</a></h1>
<p>HP servers can boot in various ways and from many devices. The functions in
this section let you manipulate bootup settings and reboot the server and the
iLO. If you need to power off the server hard, take a look at the
<a class="reference internal" href="power.html"><span class="doc">power documentation</span></a>.</p>
<dl class="class">
<dt>
<em class="property">class </em><code class="descclassname">hpilo.</code><code class="descname">Ilo</code></dt>
<dd><dl class="method">
<dt id="hpilo.Ilo.reset_rib">
<code class="descname">reset_rib</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.reset_rib" title="Permalink to this definition">¶</a></dt>
<dd><p>Reset the iLO/RILOE board</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.reset_server">
<code class="descname">reset_server</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.reset_server" title="Permalink to this definition">¶</a></dt>
<dd><p>Power cycle the server</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.cold_boot_server">
<code class="descname">cold_boot_server</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.cold_boot_server" title="Permalink to this definition">¶</a></dt>
<dd><p>Force a cold boot of the server</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.warm_boot_server">
<code class="descname">warm_boot_server</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.warm_boot_server" title="Permalink to this definition">¶</a></dt>
<dd><p>Force a warm boot of the server</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.get_one_time_boot">
<code class="descname">get_one_time_boot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.get_one_time_boot" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the one time boot state of the host</p>
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ilo</span><span class="o">.</span><span class="n">get_one_time_boot</span><span class="p">()</span>
<span class="go">normal</span>
</pre></div>
</div>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.set_one_time_boot">
<code class="descname">set_one_time_boot</code><span class="sig-paren">(</span><em>device</em><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.set_one_time_boot" title="Permalink to this definition">¶</a></dt>
<dd><p>Set one time boot device, device should be one of normal, floppy,
cdrom, hdd, usb, rbsu or network. Ilo 4 also supports EMB-MENU
(Displays the default boot menu), EMB-ACU (Boots into ACU),
EMB-HPSUM-AUTO (Boots HPSUM in automatic update mode), EMB-DIAGS
(Launches Insight Diagnostics for Linux in interactive mode) and
RBSU (Boots into the system RBSU)</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.get_persistent_boot">
<code class="descname">get_persistent_boot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.get_persistent_boot" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the boot order of the host. For uEFI hosts (gen9+), this returns
a list of tuples (name, description. For older host it returns a
list of names</p>
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ilo</span><span class="o">.</span><span class="n">get_persistent_boot</span><span class="p">()</span>
<span class="go">['cdrom', 'floppy', 'usb', 'hdd', 'network']</span>
</pre></div>
</div>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.set_persistent_boot">
<code class="descname">set_persistent_boot</code><span class="sig-paren">(</span><em>devices</em><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.set_persistent_boot" title="Permalink to this definition">¶</a></dt>
<dd><p>Set persistent boot order, devices should be comma-separated</p>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.get_supported_boot_mode">
<code class="descname">get_supported_boot_mode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.get_supported_boot_mode" title="Permalink to this definition">¶</a></dt>
<dd><div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ilo</span><span class="o">.</span><span class="n">get_supported_boot_mode</span><span class="p">()</span>
<span class="go">LEGACY_ONLY</span>
</pre></div>
</div>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.get_current_boot_mode">
<code class="descname">get_current_boot_mode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.get_current_boot_mode" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the current boot mode (legaci or uefi)</p>
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ilo</span><span class="o">.</span><span class="n">get_current_boot_mode</span><span class="p">()</span>
<span class="go">LEGACY</span>
</pre></div>
</div>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.get_pending_boot_mode">
<code class="descname">get_pending_boot_mode</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.get_pending_boot_mode" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the pending boot mode (legaci or uefi)</p>
<div class="highlight-python"><div class="highlight"><pre><span></span><span class="gp">>>> </span><span class="n">ilo</span><span class="o">.</span><span class="n">get_pending_boot_mode</span><span class="p">()</span>
<span class="go">LEGACY</span>
</pre></div>
</div>
</dd></dl>
<dl class="method">
<dt id="hpilo.Ilo.set_pending_boot_mode">
<code class="descname">set_pending_boot_mode</code><span class="sig-paren">(</span><em>boot_mode</em><span class="sig-paren">)</span><a class="headerlink" href="#hpilo.Ilo.set_pending_boot_mode" title="Permalink to this definition">¶</a></dt>
<dd><p>Set the boot mode for the next boot to UEFI or legacy</p>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="index.html" title="index">
<img class="logo" src="_static/python-hpilo.png" alt="Logo"/>
</a></p>
<div class="sphinxprev">
<h4>Previous page</h4>
<p class="topless"><a href="power.html"
title="Previous page">← Power manipulation</a></p>
</div>
<div class="sphinxnext">
<h4>Next page</h4>
<p class="topless"><a href="media.html"
title="Next page">→ Virtual media</a></p>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<div><input type="text" name="q" /></div>
<div><input type="submit" value="Go" /></div>
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="sidebar-toggle-group no-js">
<button class="sidebar-toggle" id="sidebar-hide" title="Hide the sidebar menu">
«
<span class="show-for-small">hide menu</span>
</button>
<button class="sidebar-toggle" id="sidebar-show" title="Show the sidebar menu">
<span class="show-for-small">menu</span>
<span class="hide-for-small">sidebar</span>
»
</button>
</div>
<div class="clearer"></div>
</div>
<div class="relbar-bottom">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="media.html" title="Virtual media"
>next</a> </li>
<li class="right" >
<a href="power.html" title="Power manipulation"
>previous</a> </li>
<li><a href="index.html">python-hpilo 3.9 documentation</a> »</li>
</ul>
</div>
</div>
<div class="footer" role="contentinfo">
© Copyright 2011-2016, Dennis Kaarsemaker.
</div>
<!-- cloud_sptheme 1.4 -->
</body>
</html>
|