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
Test scenario for cc-node
=========================
Host
----
* Check all tags
* Check handlers: shutdown, execute_command
Hypervisor
----------
* Check all tags
* Check handlers: vm_start, vm_stop (+destroy), vm_suspend, vm_resume, vm_undefine,
vm_export, vm_define
* Check statuses of VMs change
* Check objects are registered/unregistered to the cc-server when VMs
disapear/appear.
Error handling
..............
Behaviour when libvirt connection is lost:
* libvirtstatus tag is updated to disconnected
* domains are unregistered
* some tags (relative to storage pools are unregistered)
* handlers relative to VMs are removed
Behaviour when libvirt connection is retrieved:
* libvirtstatus tag is updated to connected
* domains are registered
* tags (relative to storage pools) are registered
* handlers relative to VMs are added
CC-server
---------
Error handling
..............
Behaviour when connection is lost:
* Nothing changes
Behaviour when connection is retrieved:
* Authentify
* Check role returned and load another main plugin is role changed, else
keeps current runnning plugin
* Register tags and objects
Error handling
--------------
* Test with libvirt/cc-server failures multiple configuration