1Ravada::VM(3) User Contributed Perl Documentation Ravada::VM(3)
2
3
4
6 Ravada::VM - Virtual Managers library for Ravada
7
9 open
10 Opens a Virtual Machine Manager (VM)
11
12 Arguments: id of the VM
13
14 domain_remove
15 Remove the domain. Returns nothing.
16
17 name
18 Returns the name of this Virtual Machine Manager
19
20 my $name = $vm->name();
21
22 search_domain_by_id
23 Returns a domain searching by its id
24
25 $domain = $vm->search_domain_by_id($id);
26
27 ip
28 Returns the external IP this for this VM
29
30 nat_ip
31 Returns the IP of the VM when it is in a NAT environment
32
33 id
34 Returns the id value of the domain. This id is used in the database
35 tables and is not related to the virtual machine engine.
36
37 default_storage_pool_name
38 Set the default storage pool name for this Virtual Machine Manager
39
40 $vm->default_storage_pool_name('default');
41
42 base_storage_pool
43 Set the storage pool for bases in this Virtual Machine Manager
44
45 $vm->base_storage_pool('pool2');
46
47 clone_storage_pool
48 Set the storage pool for clones in this Virtual Machine Manager
49
50 $vm->clone_storage_pool('pool3');
51
52 min_free_memory
53 Returns the minimun free memory necessary to start a new virtual
54 machine
55
56 max_load
57 Returns the maximum cpu load that the host can handle.
58
59 active_limit
60 Returns the value of 'active_limit' in the BBDD
61
62 list_drivers
63 Lists the drivers available for this Virtual Machine Manager
64
65 Arguments: Optional driver type
66
67 Returns a list of strings with the nams of the drivers.
68
69 my @drivers = $vm->list_drivers();
70 my @drivers = $vm->list_drivers('image');
71
72
73
74perl v5.28.1 2019-04-12 Ravada::VM(3)