Michael Kuzmin
21cbec414a
code cleanup
2018-05-03 05:45:41 +03:00
Rui Lopes
d1a681d7aa
change the disk_size unit to MB
...
(cherry picked from commit 8866411)
2018-05-03 05:41:29 +03:00
Vladislav Rassokhin
808a7ce57d
Use Packer 1.2 ( #84 )
2018-04-25 14:22:38 +03:00
Michael Kuzmin
bc673e1b2d
Simplify test launch
2018-03-24 00:54:08 +03:00
Michael Kuzmin
6d2225f9de
Remove checks of test launching parameters
2018-03-24 00:53:38 +03:00
Sean Malloy
13a6aa2c3c
Add new config options for setting CPU and Memory Hot Add ( #71 )
2018-03-23 11:56:03 +03:00
Michael Kuzmin
707039eb26
Detect datastore automatically ( #69 )
2018-03-21 02:03:47 +03:00
Sean Malloy
40ec9efdfd
Add new config option to allow setting virtual machine hardware version ( #65 )
...
* Add new config option to allow setting virtual machine hardware version
The vsphere-iso builder gets a new configuration option named
vm_version. It allows setting the VMWare virtual machine hardware
version to a non-default value.
The default behavior remains unchanged. Use the latest supported
hardware version that ESXi/vCenter allows.
VMWare KB for supported virtual machine hardware versions.
https://kb.vmware.com/s/article/1003746
* Change vm_version from string to int
2018-03-20 12:09:36 +03:00
Michael Kuzmin
cb782c223a
Cluster support ( #61 )
2018-03-16 00:53:25 +03:00
Michael Kuzmin
3b58d3d63d
fix tests
...
datacenter has multiple datastores, so target must be specified explicitly (#57 )
2018-03-12 21:41:38 +03:00
Michael Kuzmin
ba06b00e70
Add 'usb_controller' option
2018-03-04 14:19:00 +03:00
Michael Kuzmin
39f1e4a394
Add 'configuration_parameters' option
2018-03-04 14:18:48 +03:00
Michael Kuzmin
099215cebc
CD-ROM devices use SATA controller instead of IDE
2018-03-04 14:15:01 +03:00
Michael Kuzmin
b636eb2bf1
Boot command ( #53 )
2018-02-18 05:13:56 +03:00
Andrei Tonkikh
78d53c81ce
Remove cdroms and floppy in the cleanup stage of iso builder
2018-02-02 21:04:32 +03:00
Andrei Tonkikh
9c4d5c6c59
Cleanup after cf198539e8
2018-02-01 15:48:30 +03:00
Andrei Tonkikh
cf198539e8
Add support for dynamically create floppy images
2018-02-01 14:47:09 +03:00
Andrei Tonkikh
6235ecc129
Add network card customization and fix iso builder acceptance tests
2018-01-31 15:29:06 +03:00
Andrei Tonkikh
65b98a57cf
Add support for custom networks
2018-01-30 23:17:09 +03:00
Andrei Tonkikh
19713ca20d
Add support of customizing boot order
2018-01-30 20:47:57 +03:00
Andrei Tonkikh
50625ddcad
Add inserting floppy image to iso builder
2018-01-30 19:46:09 +03:00
Andrei Tonkikh
f909669670
Add basic functionality of creating VMs to the driver
2018-01-24 16:45:35 +03:00
Michael Kuzmin
448809aa1e
switch tests to vSphere 6.5 lab
2018-01-23 22:51:05 +03:00
Michael Kuzmin
4267014a5e
Merge pull request #42 from jetbrains-infra/driver_tests
...
Add acceptance tests for driver package
2018-01-23 22:34:41 +03:00
Dmitry Tretyakov
ede053f6bc
Add ability to control nested hardware virtualization
...
Issue: #45
2018-01-16 15:24:44 +03:00
Michael Kuzmin
98b2f99436
Resize disk
2017-12-03 23:58:04 +03:00
Andrei Tonkikh
d1b2b76843
Add more acceptance tests for VM. Merge them into 1 table-driven test
2017-11-15 00:47:33 +03:00
Andrei Tonkikh
991e1f8fdb
Revert f05b1e1
. That commit introcude a regression from #30
2017-11-14 00:08:40 +03:00
Andrei Tonkikh
6e3e92e356
Remove driver test utility. Move driver tests to the driver folder
2017-11-14 00:02:46 +03:00
Andrey Tonkikh
7794c149a1
Inline test config
2017-11-13 23:01:41 +03:00
Andrey Tonkikh
c41ee01537
Correct some error messages in tests
2017-10-26 19:15:54 +03:00
Andrey Tonkikh
3cb2185c53
Add an acceptance test for `driver.Host`
2017-10-26 01:07:25 +03:00
Andrey Tonkikh
23c6951aa4
Add an acceptance test for `driver.Folder`
2017-10-26 01:04:56 +03:00
Andrey Tonkikh
d33ffc178d
Add an acceptance test for `driver.ResourcePool`
2017-10-26 00:55:09 +03:00
Andrey Tonkikh
dc5a2e52cd
Simplify datastore test
2017-10-26 00:38:33 +03:00
Andrey Tonkikh
d154a0ff32
Improve `TestVMAcc_running_snapshot` and `TestVMAcc_template`
2017-10-26 00:08:02 +03:00
Andrey Tonkikh
c339fbfb39
Add some acceptance tests for `VirtualMachine` and `Datastore`
2017-10-25 23:20:59 +03:00
Andrey Tonkikh
f05b1e1e4b
Refactor `driver.NewDriver`
...
`driver.NewDriver` used to construct a govnomi client on its own while
the same work can be done by calling `govmomi.NewClient`.
2017-10-12 08:39:56 +03:00
Michael Kuzmin
7cace988e6
inherit datastore from target host, not source template
2017-08-24 23:18:14 +03:00
Michael Kuzmin
e8d8fd6205
Refactor vSphere driver
2017-08-24 17:54:08 +03:00
Michael Kuzmin
3acf445d98
test for resource pool
2017-08-24 01:23:48 +03:00
Michael Kuzmin
c335dc1015
test for subfolders
2017-08-24 00:54:23 +03:00
Michael Kuzmin
2c184abdef
test for folder
2017-08-24 00:23:29 +03:00
Michael Kuzmin
efe2c3c8b3
Extract vSphere driver into separate package ( #35 )
2017-08-23 21:40:57 +02:00