Newer
Older
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
#!/usr/bin/env python
#coding:utf-8
"""
This API abstracts all calls to any hypervisor type.
This API is split in four parts:
* Global Interface
* Libvirt Wrapper
* KVM, XEN, ... hypervisor interface
* Exceptions
Every entity in the hypervisor library has a common ancestor
:class:`interface.Host`.
The inheritance diagram shown below reflects the relationship between
each class.
.. graphviz::
digraph {
subgraph cluster_interface {
"Host" [shape=box];
"Hypervisor" [shape=box];
"VM" [shape=box];
"Host" -> "Hypervisor";
"Host" -> "VM";
label = "interface";
style = filled;
color = "#e6fbff";
}
subgraph cluster_libvirt {
"LibvirtHypervisor" [shape=box];
"LibvirtVm" [shape=box];
"Hypervisor" -> "LibvirtHypervisor";
"VM" -> "LibvirtVm";
style=filled;
color="#ffe6ea";
label = "libvirt";
}
subgraph cluster_hypervisor_calls {
"KvmHypervisor" [shape=box];
"XenHypervisor" [shape=box];
"LibvirtHypervisor" -> "KvmHypervisor";
"LibvirtHypervisor" -> "XenHypervisor";
label = "Hypervisor Calls";
labelloc = "b";
style = filled;
color = "#fffcc9";
}
subgraph cluster_vm_calls {
"KvmVm" [shape=box];
"XenVm" [shape=box];
"LibvirtVm" -> "KvmVm";
"LibvirtVm" -> "XenVm";
label = "Virtual Machine Calls";
labelloc = "b";
style = filled;
color = "#fffcc9";
}
}
"""
from kvm import *
Thibault VINCENT
committed
__version__ = 6
__all__ = ['kvm', 'interface', 'exceptions', 'libvirtwrapper',
'ccnode', 'ccnodehandlers']