@@ -41,11 +41,29 @@ Description for VM
4141** Supported properties:**
4242* ` libvirt_auth ` : connection url, by default: ` qemu:///system `
4343* ` backup_dir ` : directory for save backups, by default: ` ./ `
44+ * ` use_external_resource ` : (optional) Use external object. The default is
45+ ` false ` .
46+ * ` resource_id ` : (optional) Used to identify the object when
47+ ` use_external_resource ` is true.
48+ * ` params ` : params used for create object, useful for embeded template.
49+ * ` vcpu ` : CPU count
50+ * ` memory_size ` : VM memory size in KiB
51+ * ` memory_maxsize ` : (optional) recomended VM memory size in KiB for
52+ downgrade. The default is value from ` memory_size ` * 2.
53+ * ` nvram ` : (optional) path to nvram (useful for arm)
54+ * ` disks ` : list connected disks
55+ * ` networks ` : list connected networks
56+ * ` full_dump ` : make full dump for backups with memory snapshot to dump file.
57+ On create/restore backup will be removed all snapshots in domain.
58+ * ` wait_for_ip ` : (optional) wait until we have some private ip on interfaces
59+ The default is ` true ` .
60+ * ` domain_type ` : (optional) type of virtualization. The default is ` qemu `
4461
4562** Inputs for actions:**
4663* ` configure ` :
4764 * ` params ` : list of params for template, can be empty
48- * ` domain_file ` : Template for domain. Defaults is [ domain.xml] ( cloudify_libvirt/templates/domain.xml )
65+ * ` domain_file ` : Template for domain. Defaults is
66+ [ domain.xml] ( cloudify_libvirt/templates/domain.xml )
4967
5068** Runtime properties:**
5169* ` resource_id ` : resource name.
@@ -57,17 +75,20 @@ Description for Network
5775** Supported properties:**
5876* ` libvirt_auth ` : connection url, by default: ` qemu:///system `
5977* ` backup_dir ` : directory for save backups, by default: ` ./ `
78+ * ` use_external_resource ` : (optional) Use external object. The default is
79+ ` false ` .
80+ * ` resource_id ` : (optional) Used to identify the object when
81+ ` use_external_resource ` is true.
6082* ` params ` : params used for create object.
61- * ` use_external_resource ` : (optional) Use external object. The default is ` false ` .
62- * ` resource_id ` : (optional) Used to identify the object when ` use_external_resource ` is true.
6383 * ` dev ` : Device name
6484 * ` forwards ` : settings for network ` forwards ` .
6585 * ` ips ` : settings for network ` ips ` .
6686
6787** Inputs for actions:**
6888* ` create ` :
6989 * ` params ` : list of params for template, can be empty
70- * ` network_file ` : Template for network. Defaults is [ network.xml] ( cloudify_libvirt/templates/network.xml )
90+ * ` network_file ` : Template for network. Defaults is
91+ [ network.xml] ( cloudify_libvirt/templates/network.xml )
7192
7293** Runtime properties:**
7394* ` resource_id ` : resource name.
@@ -167,3 +188,5 @@ You should to install [libvirt-devel](examples/bootstraps/centos.sh#L2) before c
167188
168189# # TODO:
169190* Add more examples with different vm struct and archictures: mips, powerpc
191+ * Implement storage volume/pool
192+ * Implement firewall rules
0 commit comments