Commit Graph

100 Commits

Author SHA1 Message Date
Takaaki Furukawa a9a607d67f provider/vsphere: Add support for memory reservation (#6036) 2016-04-25 12:15:37 +01:00
Paul Stack e213839e58 provider/vsphere: Fix missing ssh connection info (#6293) 2016-04-22 00:07:52 +01:00
James Nugent 5b1b49e2b7 Merge pull request #4243 from kristinn/vsphere-cdrom-support
vSphere: Support mounting ISO images to virtual cdrom drives.
2016-04-21 15:50:12 -07:00
aheeren db558ddc6b Checking for powered off state before deletion (#6283) 2016-04-21 17:27:36 +01:00
Kristinn Örn Sigurðsson a67fa662bf vSphere: Support mounting ISO images to virtual cdrom drives.
It can come in handy to be able to mount ISOs programmatically.
For instance if you're developing a custom appliance (that automatically installs itself on the hard drive volume)
that you want to automatically test on every successful build (given the ISO is uploaded to the vmware datastore).

There are probably lots of other reasons for using this functionality.
2016-04-20 21:58:18 +02:00
Chris Love f5ec71e8cb Starting work on developer documentation. 2016-04-16 12:45:11 -06:00
Adam Heeren 0b97c0a6f4 Adding default time logic for windows clones 2016-04-13 15:41:58 -04:00
Adam Heeren f04298f78d Renaming linkedClone to linked_clone in config spec 2016-04-13 12:42:55 -04:00
Adam Heeren 338cb956ba Rearranging code to clean up git diff 2016-04-11 09:36:06 -04:00
Adam Heeren 7dfc0a6d1e Added windows clone options in vsphere and documented them 2016-04-11 09:36:06 -04:00
Adam Heeren 5f4a3ec09a Creating different config spec based on template OS ID 2016-04-11 09:36:06 -04:00
Adam Heeren c40f73960e Support for Linked Cloning in vsphere, based off of 6814028be7 2016-04-11 09:33:22 -04:00
Ricard Clau 26bc88a1cc error checks for vsphere create and delete folder (#6095) 2016-04-08 16:22:36 -05:00
Yuya Kusakabe 71d93d2e5c provider/vsphere: provide `host` to provisioner connections 2016-03-14 13:37:45 +09:00
Paul Hinze 9202bc0e1c provider/vsphere: Fix gofmt 2016-02-25 08:50:02 -06:00
Paul Hinze 984d682955 Merge pull request #4284 from matt-deboer/master
Added support for disk init types
2016-02-25 08:44:27 -06:00
James Nugent bc6107508d Fix additional vet warnings 2016-02-17 11:59:50 -08:00
Trevor Pounds 79742fc367 Enable `go vet -composites` check and fix warnings. 2016-02-17 11:59:50 -08:00
Ian Duffy 47ac10d66b Change resource.StateChangeConf to use an array for target states
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
James Nugent 8e538b68ec Fix errors with gofmt compliance 2015-12-17 12:35:19 -05:00
mdeboercw 6ca1327aa2 Added support for disk init types
Fixed formatting

changed 'init_type' to 'type'

Fixed acceptance tests for disk provisioning

Fixed docs for change from 'init_type' to 'type'
2015-12-14 23:35:45 -08:00
Paul Hinze cfea7c8e2d provider/vsphere: restore vcenter_server as deprecated field
As promised in my comment in #3718, this preserves backwards
compatibility while warning users of the new proper name for the field.
2015-12-10 12:11:51 -06:00
Paul Hinze 231f0cb474 Merge pull request #4035 from rakutentech/fix-ipv6-bug
provider/vsphere: Change ip_address parameter for ipv6 support
2015-12-10 12:02:11 -06:00
Takaaki Furukawa 68ac4bceaf provider/vsphere: Change ip_address parameter to ipv4_address and ipv6_address for ipv6 support 2015-12-10 18:28:24 +09:00
Paul Hinze 5630f9581f Merge pull request #4196 from kristinn/create-disk-before-startup
provider/vsphere: Create and attach additional disks before bootup.
2015-12-09 10:06:34 -06:00
Paul Hinze e065bec624 Merge pull request #3939 from matt-deboer/master
vsphere-provider: Added folder handling for folder-qualified vm names
2015-12-09 09:55:06 -06:00
mdeboercw 67bfc2faef Added folder handling for folder-qualified vm names
Added acceptance test for creation in folders

Added 'baseName' as computed schema attribute for convenience

Added 'base_name' computed attribute for convenience

Added new vsphere folder resource

Fixed folder behavior

Assure test folders are properly removed

Avoid creating recreating search index in loop

Fix typeo in vsphere.createFolder

Updated website documentation

Renamed test folders to be unique across tests

Fixes based on acc test findings; code cleanup

Added combined folder and vm acc test

Restored newline; fixed skipped acc tests

Marked 'existing_path' as computed only

Removed debug logging from tests

Changed folder read to return error
2015-12-08 20:35:27 -08:00
Kristinn Örn Sigurðsson aa97300a3b Create and attach additional disks before bootup.
Additional disks weren't created and attached to cloned vms until after bootup.

I also fixed some typos.
2015-12-07 22:16:52 +01:00
Takaaki Furukawa 3a08cc9334 provider/vsphere: Add allow_unverified_ssl flag for unverified SSL requests 2015-12-04 08:49:22 -06:00
Paul Hinze 4216a8d1e1 Merge pull request #3718 from rakutentech/rename-config-parameters
provider/vsphere: rename vcenter_server config parameter to something clearer
2015-12-02 14:04:52 -06:00
chrislovecnm de2c76a61c polish 2015-11-25 00:48:44 -07:00
chrislovecnm d70cdde233 merging in upstream, because rebase was insane 2015-11-25 00:44:27 -07:00
Chris Love 1d1de992af adding better acceptance test to check custom config 2015-11-25 05:41:01 +00:00
Chris Love a35b65e5d2 working on better test 2015-11-24 21:35:40 -07:00
Takaaki Furukawa cb84b98ce4 provider/vsphere: Rename functions 2015-11-20 21:01:02 +09:00
Takaaki Furukawa 7bf02243a1 rename vcenter_server config parameter to something clearer 2015-11-20 20:37:49 +09:00
Chris Love a5690b7510 removing debug print statements 2015-11-17 22:00:46 +00:00
Chris Love 54b103b9c7 testing finished 2015-11-11 22:42:36 +00:00
Chris Love 0bf8ffd043 working on read and more testing 2015-11-11 18:43:47 +00:00
Chris Love 106b126448 adding new functional test 2015-11-11 18:43:47 +00:00
Chris Love 6e19c3f0e0 fixing if and AnyTypes 2015-11-11 18:43:47 +00:00
Chris Love 3f37884721 adding capability to set custom configuration value in virtual machines 2015-11-11 18:43:47 +00:00
Paul Hinze e85a618d67 Merge pull request #3717 from rakutentech/improve-acceptance-test
provider/vsphere: Fix acceptance tests for using optional parameters
2015-11-05 13:07:20 -06:00
Paul Hinze b95e3fd1a2 Merge pull request #3652 from foehn/master
Vsphere_virtual_machine: Network interfaces
2015-11-05 13:06:16 -06:00
Takaaki Furukawa 12fc9a1d78 Fix acceptance tests for using optional parameters at different environment 2015-11-01 13:04:56 +09:00
Eloy Coto 8c49403132 Vsphere_virtual_machine: Keep template as it is and apply the
customizations and add devices in the new server. When finished PowerOn
2015-10-28 07:43:43 +00:00
Eloy Coto 8dd4b155e0 Vsphere_virtual_machine: Delete all network interfaces from template
before added new one. Fixes #3559 and #3560
2015-10-27 09:43:01 +00:00
Takaaki Furukawa 8390154968 provider/vsphere: Fix d.SetConnInfo error in case of a missing IP address 2015-10-26 10:32:19 +09:00
Takaaki Furukawa f34628de54 Refactor ResourceData, pluralize some arguments and add error check in d.Set for complex types 2015-10-12 13:06:29 +09:00
Takaaki Furukawa 231d7879e3 Add VMware vSphere provider support 2015-10-06 13:25:05 +09:00