Commit Graph

165 Commits

Author SHA1 Message Date
Mattias Holmqvist 1aad827aaa Extracted utility functions from IsoToIMachine. 2011-11-25 07:13:25 +01:00
Mattias Holmqvist 46301c800e Fixed assertion from equals to compare on Id. 2011-11-24 23:17:41 +01:00
Mattias Holmqvist e6c13a4f32 Fixed broken test 2011-11-24 22:40:18 +01:00
Mattias Holmqvist 57cef512cb Added check for web server in IsoToIMachine. 2011-11-24 21:55:59 +01:00
Mattias Holmqvist e6200d6374 Formatting 2011-11-24 21:53:47 +01:00
Mattias Holmqvist 9deaa23502 Unnecessary call to super(). 2011-11-24 07:43:02 +01:00
Mattias Holmqvist 0d6fd403bc Formatting 2011-11-23 07:33:56 +01:00
Mattias Holmqvist 1d5472d082 Cleanup IsoToIMachine 2011-11-23 07:33:38 +01:00
Mattias Holmqvist 860f7ad831 Renamed GetIPAddressFromMAC to correct spelling 2011-11-22 17:56:55 +01:00
Mattias Holmqvist 20868e7072 Cleanup AttachMediumToMachineIfNotAlreadyAttached. 2011-11-22 17:46:30 +01:00
Adrian Cole 4a5af1e7a5 Issue 441: added new type: LoginCredentials, and (jclouds|provider).image.(login-user|authenticate-sudo) context properties 2011-11-21 11:00:12 +02:00
Andrea Turli 025948ae76 issue 384: improved log messages in TakeSnapshotIfNotAlreadyAttached 2011-11-16 15:44:54 +00:00
andreaturli c1e01901d6 issue 384: improved try/catch behaviour in TakeSnapshotIfNotAlreadyAttached 2011-11-15 19:52:28 +00:00
Andrea Turli 6726b04645 issue 384: TakeSnapshotIfNotAlreadyAttached and Test added as preparation step for IMachineToIpAddress feature 2011-11-15 16:18:43 +00:00
Andrea Turli b396a80a84 issue 384: AttachBridgedAdapterToMachine + Test 2011-11-15 11:01:59 +00:00
Adrian Cole 4329129c25 Issue 750:property to set the image id for the default template 2011-11-14 19:25:46 +02:00
Adrian Cole 69467b04e3 Issue 752:move off deprecated systemProperties to systemPropertyVariables in surefire 2011-11-14 19:25:45 +02:00
Adrian Cole f3a31beb69 added missing classes from pull 2011-11-14 19:25:44 +02:00
Adrian Cole 6aafbd98eb Merge pull request #137 from andreaturli/master
issue 384: added GetIPAdressFromMAC and ScanNetworkWithPing statements
2011-11-11 09:55:36 -08:00
Adrian Cole c08a7884bd Issue 750:property to set the image id for the default template 2011-11-11 19:48:28 +02:00
Andrea Turli 7748d915f1 issue 384: added 2 statements: GetIPAdressFromMAC and ScanNetworkWithPing + Tests, as initial steps to refactor a IMachineToIpAddress function 2011-11-11 16:37:22 +00:00
Andrew Phillips 1eee90261e Upgraded vboxjws 4.1.2r73507 -> 4.1.4, and removed temporary repo since 4.1.4 is available from Maven Central 2011-11-10 13:47:11 -05:00
Mattias Holmqvist 45bf2b4248 Changed IsoToIMachine to run in headless mode. 2011-10-30 00:02:11 +02:00
Mattias Holmqvist 8cdcfff261 Added UnregisterMachineIfExists function to cleanup image machines before running IsoToIMachineLiveTest 2011-10-29 22:54:51 +02:00
Mattias Holmqvist 3404850aba Small fix for running live tests from clean slate. Still stuff to do to get it running more than once... 2011-10-29 22:54:51 +02:00
Adrian Cole c889077f50 cleaning up virtualbox constructors, etc 2011-10-29 12:30:24 +02:00
Adrian Cole ca723ed909 ensure integration tests only run one at a time, so that troubleshooting is easier 2011-10-29 12:30:03 +02:00
Adrian Cole fe4a971d55 changed setup function tests to be mocks so they don't conflict with test fixture setup 2011-10-29 12:29:16 +02:00
Adrian Cole 00c47eeab2 removed tests that are too confusing to troubleshoot at this stage of development 2011-10-29 12:28:02 +02:00
Adrian Cole d300681bcc formatting in virtualbox 2011-10-29 11:00:02 +02:00
Mattias Holmqvist f4a53fa0da Added LaunchMachineIfNotAlreadyRunning to IsoToIMachine. 2011-10-28 21:51:07 +02:00
Mattias Holmqvist c3eb23399b Added ErrorCode type and ExecutionType. Now for for LaunchMachine function, but can be re-used. 2011-10-28 21:46:48 +02:00
Mattias Holmqvist 03e0bd46ba Virtualbox: Re-used AttachMediumToMachineIfNotAlreadyAttached for attaching guest additions DVD. 2011-10-24 00:10:35 +02:00
Mattias Holmqvist 394bb1b602 Added function ApplyMemoryToMachine for virtualbox.
commit e52df20b9010ebac266e2b593628ea1876a578f9
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:59:25 2011 +0200

    Added function ApplyMemoryToMachine for virtualbox.

commit a43e189b306fddbdc5ee5930355f20d90d148854
Merge: 3f6de26 041360e
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:26:42 2011 +0200

    Merge branch 'master' of https://github.com/jclouds/jclouds into functionalize

    Conflicts:
    	sandbox-apis/virtualbox/src/main/java/org/jclouds/virtualbox/functions/AttachNATRedirectRuleToMachine.java

commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:59:54 +02:00
Mattias Holmqvist 041360e2e7 Added AttachNATRedirectRuleToMachine to virtualbox.
commit 3f6de265d7342676fdeab99badd31f31cb43aadc
Author: Mattias Holmqvist <mattias.holmqvist@gmail.com>
Date:   Sun Oct 23 23:23:49 2011 +0200

    Added AttachNATRedirectRuleToMachine to virtualbox.
2011-10-23 23:25:39 +02:00
Mattias Holmqvist f950a9950e Cleaning up copyrights in virtualbox. 2011-10-23 18:42:18 +02:00
Mattias Holmqvist dc23ef0c1c Added CreateMediumIfNotAlreadyExists to IsoToIMachine. 2011-10-23 18:18:56 +02:00
Mattias Holmqvist f530a5d585 Added @author 2011-10-23 14:30:42 +02:00
Mattias Holmqvist b64fee01a8 Added AttachHardDiskToMachineIfNotAlreadyAttached and used it from IsoToIMachine. 2011-10-23 14:24:21 +02:00
Adrian Cole 6d4a605f3f fixed compile problem 2011-10-23 13:50:49 +02:00
Mattias Holmqvist 680ed8c178 Renamed variable. 2011-10-23 12:57:51 +02:00
Mattias Holmqvist 6749cff633 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:47:03 +02:00
Mattias Holmqvist 242b15f611 Added missing saveSettings() to network config in IsoToIMachine. 2011-10-23 12:43:54 +02:00
Mattias Holmqvist b04f38b0d8 Fixed CreateAndRegisterMachineFromIsoIfNotAlreadyExists and added more tests. 2011-10-23 12:19:55 +02:00
Mattias Holmqvist 3f716c4f3e Fixing copyright text. 2011-10-23 12:10:26 +02:00
Mattias Holmqvist d27e929855 Created CreateAndRegisterMachineFromIsoIfNotAlreadyExists to fail early if Machine of specified name already exists. 2011-10-23 12:06:24 +02:00
Mattias Holmqvist 3be39a870f Renamed variables. 2011-10-23 11:19:09 +02:00
Mattias Holmqvist ad8ef18bee Added AttachDistroMediumToMachine and started using it form IsoToIMachine. 2011-10-23 11:16:55 +02:00
Mattias Holmqvist f2d4c58a6a Renamed variables. 2011-10-23 00:42:44 +02:00
Mattias Holmqvist 54c76515ce Renamed variables. 2011-10-23 00:40:12 +02:00
Mattias Holmqvist b592196226 Reverted listImages back from Yaml to regular Vbox. 2011-10-23 00:38:14 +02:00
Mattias Holmqvist f55164e51e Minor rename 2011-10-22 18:14:50 +02:00
Adrian Cole 926989c5f1 started refactoring IsoToIMachine to re-use error handling 2011-10-22 17:54:35 +02:00
Adrian Cole aab1290b85 formatting 2011-10-22 17:53:32 +02:00
Adrian Cole 8194e84c30 corrected os family parsing for virtual box 2011-10-22 17:53:10 +02:00
andreaturli 53b652cafe issue 384: fix IsoToIMachineLiveTest 2011-10-21 22:47:43 +01:00
Mattias Holmqvist 1e1d9ef0eb Cleanup broken imports. 2011-10-20 19:44:44 +02:00
Mattias Holmqvist 5d6186bce9 Moved functions to admin package. 2011-10-20 19:43:44 +02:00
andreaturli c5d0543da8 issue 384: Refactoring of listImages to support yaml idea 2011-10-19 00:12:02 +01:00
andreaturli a3505f80d1 issue 384: removed KickstartAdmin, VirtualboxLiveTest. Refactoring of listImages to support yaml idea 2011-10-18 00:15:46 +01:00
Adrian Cole 552242e863 moved to 1.3.0-SNAPSHOT 2011-10-16 12:26:31 -07:00
Mattias Holmqvist d0fd7849e5 Started on StartVboxIfNotAlreadyRunning 2011-10-15 17:01:41 +02:00
andreaturli fb4f8a7cb5 issue 384: StartJettyIfNotAlreadyRunning 2011-10-15 01:00:29 +01:00
Adrian Cole 0f73d04fca refactored tests so that admin starts first via @BeforeSuite 2011-10-11 09:23:07 -07:00
Mattias Holmqvist 5b4c2ab73b Continued work on the IsoToIMachine 2011-10-10 23:46:14 +02:00
andreaturli 1a7eebdb31 issue 384: IsoToMachine + Test mock completed 2011-10-04 22:49:36 +01:00
andreaturli 9cc9ecb229 issue 384: IsoToMachine + Test started 2011-09-29 23:17:18 +01:00
andreaturli 1d68a63614 issue 384: IsoToMachine + Test started 2011-09-29 23:12:02 +01:00
Adrian Cole c54ce66ead merged vbox conflict 2011-09-27 15:38:46 -07:00
Adrian Cole fff450fdf2 roughed out test cases for vbox 2011-09-27 15:37:04 -07:00
Adrian Cole 72989e5482 vbox: switched out use of host, as there's no useful data 2011-09-27 15:36:33 -07:00
andreaturli de4ad5ba9a issue 384: add link between Image and Hardware in IMachineToHardware 2011-09-27 23:15:08 +01:00
Adrian Cole 2baf711a32 linked image to hardware in virtualbox 2011-09-27 15:11:39 -07:00
Mattias Holmqvist 9112a74f6a Relaxed version parsing in IMachineToImage and started on the VirtualBoxComputeServiceAdapterLiveTest 2011-09-27 23:05:36 +02:00
Mattias Holmqvist 91d42c4d4a Starting on unit tests for functions in virtualbox. 2011-09-27 20:50:35 +02:00
Mattias Holmqvist 22fa34fdb5 Added todo and some documentation to IMachineToIpAddress 2011-09-27 18:40:15 +02:00
andreaturli e61054f0eb issue 384: IMachineToImage + its test - unstable 2011-09-27 01:47:12 +01:00
Mattias Holmqvist fc5d172523 Added support for changing the IP of a VBox Node at runtime. Added use of CacheLoader for the VBox ComputeService. 2011-09-24 02:04:44 +02:00
andreaturli c46c0b4c47 issue 384: VirtualBoxComputeServiceAdapter 2011-09-23 23:10:02 +01:00
Andrea Turli 863bd2aa7b issue 384: cache loader in testutils - to be finished 2011-09-23 16:33:08 +01:00
Andrea Turli b524f7c9f2 issue 384: README update 2011-09-23 16:14:13 +01:00
Andrea Turli 4c56255933 issue 384: virtualboxlivetest generalized 2011-09-23 15:21:52 +01:00
Mattias Holmqvist 40e7ca8858 Refactored TestUtils to use CacheNodeStoreModule. 2011-09-23 00:06:10 +02:00
andreaturli 07ac8e7685 issue 384: use arp to retrieve IP address 2011-09-22 19:10:37 +01:00
Andrea Turli 5d102ea0bb issue 384: arp bug fixed 2011-09-22 14:11:46 +01:00
andreaturli 3f25efa69c issue 384: use arp to retrieve IP address 2011-09-22 02:47:07 +01:00
andreaturli e49bfd9c59 issue 384: fix bridge inteface detection 2011-09-20 22:06:03 +01:00
Mattias Holmqvist aed4e72e49 Added a couple of tests that are run from a main() instead of via TestNG. Added lots of plumbing (ongoing work) for virtualbox. To be reviewed and discussed. 2011-09-20 00:36:36 +02:00
andreaturli 900f019e80 issue 384: tests passed but still connection problem to guest with bridged NIC - fix 2011-09-14 23:36:42 +01:00
andreaturli 716ae1ad54 issue 384: tests passed but still connection problem to guest with bridged NIC 2011-09-14 23:00:04 +01:00
andreaturli 4b62c4a022 issue 384: VirtualboxAdminTest can clone multiple vms from the admin node in linked mode - still issues with bridged network, so right now NAT is used 2011-09-14 00:52:28 +01:00
andreaturli 78b89d10d2 issue 384: some fixing to VirtualboxLiveTest for cloning vms from admin node - unstable 2011-09-11 21:53:53 +01:00
andreaturli 435253dcb5 issue 384: some fixing to AdminLiveTest for cloning vms from admin node - unstable 2011-09-11 21:52:38 +01:00
andreaturli fc52cdbaf8 issue 384: kickstart admin node on macosx -> complete 2011-09-11 00:39:03 +01:00
andreaturli 45119e5505 issue 384: kickstart admin node on macosx -> complete 2011-09-11 00:37:18 +01:00
andreaturli 97f93ef779 issue 384: kickstart admin node on macosx -> complete 2011-09-11 00:34:31 +01:00
andreaturli 1c6c85fa51 issue 384: kickstart admin node on macosx -> complete 2011-09-10 23:05:47 +01:00
andreaturli 6092d58046 issue 384: adding vbox - virtualbox installation on macosx 2011-09-09 01:59:45 +01:00
andreaturli a3d628e688 issue 384: adding vbox - first admin vm launched on macosx 2011-09-08 07:56:11 +01:00
Andrea 8fe01385ac issue 384: adding vbox - first admin vm launched on macosx 2011-09-08 07:50:36 +01:00