forked from ungleich/python-oca
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvm.html
More file actions
418 lines (365 loc) · 20.4 KB
/
Copy pathvm.html
File metadata and controls
418 lines (365 loc) · 20.4 KB
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
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!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>oca.virtualmachine — oca 4.10.0-a1 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '4.10.0-a1',
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>
<link rel="top" title="oca 4.10.0-a1 documentation" href="../index.html" />
<link rel="up" title="API Documentation" href="../api.html" />
<link rel="prev" title="oca.template" href="template.html" />
</head>
<body>
<div class="related">
<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="template.html" title="oca.template"
accesskey="P">previous</a> |</li>
<li><a href="../index.html">oca 4.10.0-a1 documentation</a> »</li>
<li><a href="../api.html" accesskey="U">API Documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="oca-virtualmachine">
<span id="virtualmachine-module"></span><h1><tt class="xref py py-mod docutils literal"><span class="pre">oca.virtualmachine</span></tt><a class="headerlink" href="#oca-virtualmachine" title="Permalink to this headline">¶</a></h1>
<dl class="class">
<dt id="oca.VirtualMachine">
<em class="property">class </em><tt class="descclassname">oca.</tt><tt class="descname">VirtualMachine</tt><big>(</big><em>xml</em>, <em>client</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">oca.pool.PoolElement</span></tt></p>
<dl class="attribute">
<dt id="oca.VirtualMachine.ACTIVE">
<tt class="descname">ACTIVE</tt><em class="property"> = 3</em><a class="headerlink" href="#oca.VirtualMachine.ACTIVE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.DONE">
<tt class="descname">DONE</tt><em class="property"> = 6</em><a class="headerlink" href="#oca.VirtualMachine.DONE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.ELEMENT_NAME">
<tt class="descname">ELEMENT_NAME</tt><em class="property"> = 'VM'</em><a class="headerlink" href="#oca.VirtualMachine.ELEMENT_NAME" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.FAILED">
<tt class="descname">FAILED</tt><em class="property"> = 7</em><a class="headerlink" href="#oca.VirtualMachine.FAILED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.HOLD">
<tt class="descname">HOLD</tt><em class="property"> = 2</em><a class="headerlink" href="#oca.VirtualMachine.HOLD" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.INIT">
<tt class="descname">INIT</tt><em class="property"> = 0</em><a class="headerlink" href="#oca.VirtualMachine.INIT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.LCM_STATE">
<tt class="descname">LCM_STATE</tt><em class="property"> = ['LCM_INIT', 'PROLOG', 'BOOT', 'RUNNING', 'MIGRATE', 'SAVE_STOP', 'SAVE_SUSPEND', 'SAVE_MIGRATE', 'PROLOG_MIGRATE', 'PROLOG_RESUME', 'EPILOG_STOP', 'EPILOG', 'SHUTDOWN', 'CANCEL', 'FAILURE', 'DELETE', 'UNKNOWN']</em><a class="headerlink" href="#oca.VirtualMachine.LCM_STATE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.METHODS">
<tt class="descname">METHODS</tt><em class="property"> = {'info': 'vm.info', 'migrate': 'vm.migrate', 'chown': 'vm.chown', 'allocate': 'vm.allocate', 'deploy': 'vm.deploy', 'action': 'vm.action', 'savedisk': 'vm.savedisk', 'update': 'vm.update', 'delete': 'vm.delete'}</em><a class="headerlink" href="#oca.VirtualMachine.METHODS" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.MIGRATE_REASON">
<tt class="descname">MIGRATE_REASON</tt><em class="property"> = ['NONE', 'ERROR', 'STOP_RESUME', 'USER', 'CANCEL']</em><a class="headerlink" href="#oca.VirtualMachine.MIGRATE_REASON" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.PENDING">
<tt class="descname">PENDING</tt><em class="property"> = 1</em><a class="headerlink" href="#oca.VirtualMachine.PENDING" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.SHORT_LCM_STATES">
<tt class="descname">SHORT_LCM_STATES</tt><em class="property"> = {'SAVE_SUSPEND': 'save', 'PROLOG_MIGRATE': 'migr', 'FAILURE': 'fail', 'MIGRATE': 'migr', 'UNKNOWN': 'unkn', 'BOOT': 'boot', 'EPILOG_STOP': 'epil', 'PROLOG_RESUME': 'prol', 'RUNNING': 'runn', 'SAVE_STOP': 'save', 'SHUTDOWN': 'shut', 'SAVE_MIGRATE': 'save', 'CANCEL': 'shut', 'LCM_INIT': 'init', 'DELETE': 'dele', 'EPILOG': 'epil', 'PROLOG': 'prol'}</em><a class="headerlink" href="#oca.VirtualMachine.SHORT_LCM_STATES" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.SHORT_MIGRATE_REASON">
<tt class="descname">SHORT_MIGRATE_REASON</tt><em class="property"> = {'USER': 'user', 'CANCEL': 'canc', 'NONE': 'none', 'STOP_RESUME': 'stop', 'ERROR': 'erro'}</em><a class="headerlink" href="#oca.VirtualMachine.SHORT_MIGRATE_REASON" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.SHORT_VM_STATES">
<tt class="descname">SHORT_VM_STATES</tt><em class="property"> = {'FAILED': 'fail', 'INIT': 'init', 'STOPPED': 'stop', 'SUSPENDED': 'susp', 'ACTIVE': 'actv', 'DONE': 'done', 'HOLD': 'hold', 'PENDING': 'pend'}</em><a class="headerlink" href="#oca.VirtualMachine.SHORT_VM_STATES" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.STOPPED">
<tt class="descname">STOPPED</tt><em class="property"> = 4</em><a class="headerlink" href="#oca.VirtualMachine.STOPPED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.SUSPENDED">
<tt class="descname">SUSPENDED</tt><em class="property"> = 5</em><a class="headerlink" href="#oca.VirtualMachine.SUSPENDED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.VM_STATE">
<tt class="descname">VM_STATE</tt><em class="property"> = ['INIT', 'PENDING', 'HOLD', 'ACTIVE', 'STOPPED', 'SUSPENDED', 'DONE', 'FAILED']</em><a class="headerlink" href="#oca.VirtualMachine.VM_STATE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.XML_TYPES">
<tt class="descname">XML_TYPES</tt><em class="property"> = {'uid': <type 'int'>, 'net_tx': <type 'int'>, 'user_template': ['USER_TEMPLATE', <class 'oca.pool.Template'>], 'cpu': <type 'int'>, 'memory': <type 'int'>, 'etime': <type 'int'>, 'history_records': ['HISTORY_RECORDS', <function <lambda> at 0x7f855ed0e1b8>], 'uname': <type 'str'>, 'state': <type 'int'>, 'gid': <type 'int'>, 'net_rx': <type 'int'>, 'stime': <type 'int'>, 'template': ['TEMPLATE', <class 'oca.pool.Template'>, ['NIC', 'DISK']], 'gname': <type 'str'>, 'last_poll': <type 'int'>, 'deploy_id': <type 'str'>, 'lcm_state': <type 'int'>, 'id': <type 'int'>, 'name': <type 'str'>}</em><a class="headerlink" href="#oca.VirtualMachine.XML_TYPES" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="staticmethod">
<dt id="oca.VirtualMachine.allocate">
<em class="property">static </em><tt class="descname">allocate</tt><big>(</big><em>client</em>, <em>template</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.allocate" title="Permalink to this definition">¶</a></dt>
<dd><p>allocates a virtual machine description from the given template string</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">template</span></tt></dt>
<dd>a string containing the template of the vm</dd>
</dl>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.cancel">
<tt class="descname">cancel</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.cancel" title="Permalink to this definition">¶</a></dt>
<dd><p>Cancels a running VM</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.delete">
<tt class="descname">delete</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.delete" title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes current object from the pool</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.deploy">
<tt class="descname">deploy</tt><big>(</big><em>host_id</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.deploy" title="Permalink to this definition">¶</a></dt>
<dd><p>initiates the instance of the given vmid on the target host</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">host_id</span></tt></dt>
<dd>the host id (hid) of the target host where the VM will be
instantiated.</dd>
</dl>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.finalize">
<tt class="descname">finalize</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.finalize" title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes a VM from the pool and DB</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.hold">
<tt class="descname">hold</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.hold" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets a VM to hold state, scheduler will not deploy it</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.info">
<tt class="descname">info</tt><big>(</big><em>*args</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.info" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.live_migrate">
<tt class="descname">live_migrate</tt><big>(</big><em>dest_host</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.live_migrate" title="Permalink to this definition">¶</a></dt>
<dd><p>live migrates virtual machine to the target host</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">dest_host</span></tt></dt>
<dd>the target host id</dd>
</dl>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.migrate">
<tt class="descname">migrate</tt><big>(</big><em>dest_host</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.migrate" title="Permalink to this definition">¶</a></dt>
<dd><p>migrates virtual machine to the target host</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">dest_host</span></tt></dt>
<dd>the target host id</dd>
</dl>
</dd></dl>
<dl class="classmethod">
<dt id="oca.VirtualMachine.new_with_id">
<em class="property">classmethod </em><tt class="descname">new_with_id</tt><big>(</big><em>client</em>, <em>element_id</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.new_with_id" title="Permalink to this definition">¶</a></dt>
<dd><p>Retrives object which id equals <tt class="docutils literal"><span class="pre">`id`</span></tt>.</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">`client`</span></tt></dt>
<dd>oca.Client object.</dd>
<dt><tt class="docutils literal"><span class="pre">`element_id</span></tt></dt>
<dd>object id.</dd>
</dl>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.release">
<tt class="descname">release</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.release" title="Permalink to this definition">¶</a></dt>
<dd><p>Releases a VM from hold state</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.restart">
<tt class="descname">restart</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.restart" title="Permalink to this definition">¶</a></dt>
<dd><p>Resubmits the VM after failure</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.resubmit">
<tt class="descname">resubmit</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.resubmit" title="Permalink to this definition">¶</a></dt>
<dd><p>Redeploy the VM.</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.resume">
<tt class="descname">resume</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.resume" title="Permalink to this definition">¶</a></dt>
<dd><p>Resumes the execution of a saved VM</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.save_disk">
<tt class="descname">save_disk</tt><big>(</big><em>disk_id</em>, <em>dest_disk</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.save_disk" title="Permalink to this definition">¶</a></dt>
<dd><p>Sets the disk to be saved in the given image</p>
<p>Arguments</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">disk_id</span></tt></dt>
<dd>disk id of the disk we want to save</dd>
<dt><tt class="docutils literal"><span class="pre">dest_disk</span></tt></dt>
<dd>image id where the disk will be saved.</dd>
</dl>
</dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.short_lcm_state">
<tt class="descname">short_lcm_state</tt><a class="headerlink" href="#oca.VirtualMachine.short_lcm_state" title="Permalink to this definition">¶</a></dt>
<dd><p>Short string representation of virtual machine LCM state.
One of: init, prol, boot, runn, migr, save, save,
save, migr, prol, epil, shut, shut, fail,
dele, unkn</p>
</dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.short_state">
<tt class="descname">short_state</tt><a class="headerlink" href="#oca.VirtualMachine.short_state" title="Permalink to this definition">¶</a></dt>
<dd><p>Short string representation of virtual machine state.
One of: init, pend, hold, actv, stop, susp, done, fail</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.shutdown">
<tt class="descname">shutdown</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.shutdown" title="Permalink to this definition">¶</a></dt>
<dd><p>Shutdowns an already deployed VM</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.stop">
<tt class="descname">stop</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.stop" title="Permalink to this definition">¶</a></dt>
<dd><p>Stops a running VM</p>
</dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.str_lcm_state">
<tt class="descname">str_lcm_state</tt><a class="headerlink" href="#oca.VirtualMachine.str_lcm_state" title="Permalink to this definition">¶</a></dt>
<dd><p>String representation of virtual machine LCM state.
One of: LCM_INIT, PROLOG, BOOT, RUNNING, MIGRATE,
SAVE_STOP, SAVE_SUSPEND, SAVE_MIGRATE, PROLOG_MIGRATE,
PROLOG_RESUME, EPILOG_STOP, EPILOG, SHUTDOWN, CANCEL,
FAILURE, DELETE, UNKNOWN</p>
</dd></dl>
<dl class="attribute">
<dt id="oca.VirtualMachine.str_state">
<tt class="descname">str_state</tt><a class="headerlink" href="#oca.VirtualMachine.str_state" title="Permalink to this definition">¶</a></dt>
<dd><p>String representation of virtual machine state.
One of: INIT, PENDING, HOLD, ACTIVE, STOPPED, SUSPENDED,
DONE, FAILED</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.suspend">
<tt class="descname">suspend</tt><big>(</big><big>)</big><a class="headerlink" href="#oca.VirtualMachine.suspend" title="Permalink to this definition">¶</a></dt>
<dd><p>Saves a running VM</p>
</dd></dl>
<dl class="method">
<dt id="oca.VirtualMachine.update">
<tt class="descname">update</tt><big>(</big><em>template</em>, <em>merge=False</em><big>)</big><a class="headerlink" href="#oca.VirtualMachine.update" title="Permalink to this definition">¶</a></dt>
<dd><p>Update the template of this host. If merge is false (default),
the existing template is replaced.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="oca.VirtualMachinePool">
<em class="property">class </em><tt class="descclassname">oca.</tt><tt class="descname">VirtualMachinePool</tt><big>(</big><em>client</em><big>)</big><a class="headerlink" href="#oca.VirtualMachinePool" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">oca.pool.Pool</span></tt></p>
<dl class="attribute">
<dt id="oca.VirtualMachinePool.METHODS">
<tt class="descname">METHODS</tt><em class="property"> = {'info': 'vmpool.info'}</em><a class="headerlink" href="#oca.VirtualMachinePool.METHODS" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="oca.VirtualMachinePool.info">
<tt class="descname">info</tt><big>(</big><em>filter=-3</em>, <em>range_start=-1</em>, <em>range_end=-1</em>, <em>vm_state=-1</em><big>)</big><a class="headerlink" href="#oca.VirtualMachinePool.info" title="Permalink to this definition">¶</a></dt>
<dd><p>Retrives/Refreshes virtual machine pool information</p>
<dl class="docutils">
<dt><tt class="docutils literal"><span class="pre">filter</span></tt></dt>
<dd>Filter flag. By defaults retrives only connected user reources.</dd>
<dt><tt class="docutils literal"><span class="pre">range_start</span></tt></dt>
<dd>Range start ID. -1 for all</dd>
<dt><tt class="docutils literal"><span class="pre">range_end</span></tt></dt>
<dd>Range end ID. -1 for all</dd>
</dl>
<p><tt class="docutils literal"><span class="pre">vm_state</span></tt></p>
<blockquote>
<div><p>VM state to filter by.</p>
<ul class="simple">
<li>-2 Any state, including DONE</li>
<li>-1 Any state, except DONE (Defualt)</li>
<li>0 INIT</li>
<li>1 PENDING</li>
<li>2 HOLD</li>
<li>3 ACTIVE</li>
<li>4 STOPPED</li>
<li>5 SUSPENDED</li>
<li>6 DONE</li>
<li>7 FAILED</li>
</ul>
</div></blockquote>
</dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="template.html"
title="previous chapter"><tt class="docutils literal"><span class="pre">oca.template</span></tt></a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/api/vm.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<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="template.html" title="oca.template"
>previous</a> |</li>
<li><a href="../index.html">oca 4.10.0-a1 documentation</a> »</li>
<li><a href="../api.html" >API Documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2010-2015, Python OCA authors.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
</div>
</body>
</html>