Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | domain: honor arch, machine, and emulator settings | Thomas Hipp | 2017-12-22 |
| | | | | | | | | | | The settings 'arch', 'machine', and 'emulator' should be honored. The default values have been removed. Instead, if not provided, the values are determined by consulting libvirt directly. This fixes #262. Signed-off-by: Thomas Hipp <thipp@suse.de> | ||
* | Add new method to get information on domain interfaces | Eamonn O'Toole | 2017-12-14 |
| | | | | | | | | | | | | | | | | | | | We've found that, when executing destroy/create cycles on a domain where the virtual network(s) to which it is attached are persisted across these cycles then we get network failures on recreation of the domain since the old entries for the domain are still present in the virtual network(s). This issue should (hopefully) be fixed by commit a20d2a92668b2d5e077267c50074bf853ef371d. We've also found that, on occasion, we don't get complete information on a domain's interfaces from ListAllInterfaceAddresses. This patch implements a new method getDomainInterfacesFromNetworks which is called from domainGetIfacesInfo after the qemu agent method has been used if the qemu agent method doesn't return any information. This new method builds the interface information from information collected from the networks themselves. Change-Id: I5271ee191db93b2b1a0f14dc226d0b945f77a901 | ||
* | Merge pull request #258 from monstermunchkin/support-cdroms | Thomas Hipp | 2017-12-08 |
|\ | | | | | support local cdroms | ||
| * | support local cdroms | Thomas Hipp | 2017-12-01 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Local cdroms can now be added directly to the domain. See the following example: ```hcl resource "libvirt_domain" "test-domain" { name = "test" disk { file = "path/to/file.iso" } } ``` Furthermore, a small Tiny Core Linux (TCL) ISO image has been added to the testdata. This can be used for testing purposes. Signed-off-by: Thomas Hipp <thipp@suse.de> | ||
* | | Merge pull request #256 from monstermunchkin/unique-volume-name | Thomas Hipp | 2017-12-08 |
|\ \ | | | | | | | check uniqueness of storage volume name | ||
| * | | check uniqueness of storage volume name | Thomas Hipp | 2017-11-29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The storage volume name needs to be unique. If this is not the case, the storage volume will be overwritten which is not problematic itself. However, `terraform destroy` will fail since it will try and delete the same storage volume twice. Signed-off-by: Thomas Hipp <thipp@suse.de> | ||
* | | | Make add/updateHost a bit more resilient | Christian Simon | 2017-12-02 |
| |/ |/| | | | | | | | * provide a updateOrAddHost method that first will try to update an existing one, before adding a host entry | ||
* | | Merge pull request #255 from MalloZup/remove-running | Thomas Hipp | 2017-11-30 |
|\ \ | |/ |/| | remove running property in net and domain | ||
| * | remove running property in net and domain | Dario Maiocchi | 2017-11-28 |
| | | |||
* | | tests: format hcl strings | Thomas Hipp | 2017-11-27 |
|/ | | | | Signed-off-by: Thomas Hipp <thipp@suse.de> | ||
* | Simplify the wait_for_leases mechanism | Alvaro Saurin | 2017-11-27 |
| | |||
* | Retry the query about interfaces to the qemu-agent | Alvaro Saurin | 2017-11-27 |
| | |||
* | adding documentation about network autostart | Dario Maiocchi | 2017-11-27 |
| | |||
* | add test for autostart option | Dario Maiocchi | 2017-11-27 |
| | |||
* | Init first backport | Dario Maiocchi | 2017-11-27 |
| | |||
* | Remove intermediate variables in map iteration | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Simplify for loop | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Type not needed in literal anymore | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | No need to make a 0 len slice | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Do not choke on empty kernel cmdline | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Split kernel cmdline test | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Read back cmdline, initrd and kernel attributes from the resource | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Fix tests by adding fixture for kernel and initrd | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | Add support for kernel/initrd/cmdline | Duncan Mac-Vicar P | 2017-11-24 |
| | |||
* | don't allocate memory with 0 make variables | MalloZup | 2017-11-24 |
| | |||
* | remove duplicata declaration and simplify code. | Dario Maiocchi | 2017-11-24 |
| | | | | This fix is with the cmd "gofmt -w -s *" | ||
* | use poolMutexKV for locking resources. | Dario Maiocchi | 2017-11-22 |
| | |||
* | init govet on travis | Dario Maiocchi | 2017-11-22 |
| | |||
* | golint: Url -> URL | Duncan Mac-Vicar P | 2017-11-19 |
| | |||
* | Document disks from url | Duncan Mac-Vicar P | 2017-11-19 |
| | |||
* | Reuse newDefDisk() | Duncan Mac-Vicar P | 2017-11-19 |
| | |||
* | Add support for remote http disks (qemu http curl backend) | Duncan Mac-Vicar P | 2017-11-19 |
| | |||
* | add volume cloud_init test check | Dario Maiocchi | 2017-11-16 |
| | |||
* | add geniso to travis_guest | Dario Maiocchi | 2017-11-16 |
| | |||
* | Add AcceptTest for CloudInit | Dario Maiocchi | 2017-11-16 |
| | |||
* | golint on resource_libvirt_domain_test.go | Dario Maiocchi | 2017-11-16 |
| | | | | Use correct names in comments | ||
* | common string constant for errmsg lvirtconn is nil | Dario Maiocchi | 2017-11-16 |
| | |||
* | golint on various files | Dario Maiocchi | 2017-11-16 |
| | |||
* | Type name will be used as libvirt.LibVirtNetwork | Dario Maiocchi | 2017-11-16 |
| | | | | by other packages, and that stutters; consider calling this Network | ||
* | type name will be used as libvirt.LibVirtDomain by | Dario Maiocchi | 2017-11-16 |
| | | | | other packages, and that stutters; consider calling this Domain | ||
* | golinting on various files | Dario Maiocchi | 2017-11-16 |
| | |||
* | don't export oui variable | Dario Maiocchi | 2017-11-16 |
| | |||
* | fix golint on coreos_ingition_def.go | Dario Maiocchi | 2017-11-16 |
| | |||
* | fix golint on stream and volume_def.go | Dario Maiocchi | 2017-11-16 |
| | |||
* | Fix IP golint issues (style) | Dario Maiocchi | 2017-11-16 |
| | |||
* | fix golint on utils_net.go | Dario Maiocchi | 2017-11-16 |
| | |||
* | fix golint issues on utils.go | Dario Maiocchi | 2017-11-16 |
| | |||
* | Fix golint on test cloudinit | Dario Maiocchi | 2017-11-16 |
| | |||
* | error strings should not be capitalized or end | Dario Maiocchi | 2017-11-16 |
| | | | | with punctuation or a newline | ||
* | fix golint on cloudinit_def.go | Dario Maiocchi | 2017-11-16 |
| |