Commit Graph

358 Commits

Author SHA1 Message Date
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 d4184786a0 cloudstack ids are unique across zones 2011-11-11 19:48:30 +02: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
andreisavu 92e0a5480c Fixed two integration tests failing on KT cloud
* in testListDiskOfferings the API seems broken in 2.2.8. I will excalate
and provide the log with the incorrect response
* in NetworkClientLiveTest the tearDown function should not fail
if there is no network to delete
2011-11-11 18:34:45 +02:00
Adrian Cole 1ed16c7166 Merge pull request #134 from richardcloudsoft/cloudstack-iso
Cloudstack ISO API
2011-11-11 00:47:51 -08: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
Richard Downer 1954e2bfbc Cloudstack ISO API: resolve some FIXMEs 2011-11-10 17:33:57 +02:00
Richard Downer 5ce18320eb Cloudstack convention is to capitalize abbreviations, so change Iso to ISO 2011-11-10 17:28:39 +02:00
Richard Downer e0b468b0a6 Fix broken reference after refactor that moved ExtractMode enum 2011-11-10 17:10:44 +02:00
Richard Downer 6482e6f90e Implement the Cloudstack 'ISO' API 2011-11-10 16:05:23 +02:00
Adrian Cole 304dda4823 Merge pull request #133 from vijaykiran/limit-client
Limit#listResourceLimits implementation
2011-11-10 03:42:01 -08:00
Adrian Cole 975033bb72 fixed cloudstack tests 2011-11-10 13:37:06 +02:00
vijaykiran d08be84fbc Limit#listResourceLimits implementation 2011-11-10 12:26:38 +01:00
Adrian Cole 1455c4fb71 Merge pull request #126 from richardcloudsoft/cloudstack-snapshot
Cloudstack 'snapshot' API
2011-11-10 00:51:43 -08:00
Adrian Cole 19c2d380f3 Merge pull request #125 from richardcloudsoft/cloudstack-template
Complete the Cloudstack "template" API
2011-11-10 00:50:13 -08:00
Adrian Cole 48f2c9c5ec Merge pull request #124 from vijaykiran/master
Events#listEventTypes
2011-11-10 00:47:23 -08:00
Adrian Cole 281c92a581 roughed in cloudstack compute service adapter 2011-11-10 02:11:10 +01:00
Richard Downer b69f27a9b8 Move static methods out of SnapshotPolicySchedule into new class util.SnapshotPolicySchedules (and fix the FIXMEs and a missing license header at the same time) 2011-11-09 18:18:34 +02:00
Richard Downer 1ba06c8973 Some renaming in Cloudstack Snapshot API impl to remove unnecessary words 2011-11-09 18:06:32 +02:00
Richard Downer 61d9d1e5e6 Implement create/list/deleteSnapshotPolicy in the Cloudstack API 2011-11-09 17:28:51 +02:00
Richard Downer 48f05f3aed Add SnapshotClient.getSnapshot(long id) et al to Cloudstack 2011-11-09 17:28:51 +02:00
Richard Downer 16771961e1 Implement create/list/deleteSnapshot in the Cloudstack API 2011-11-09 17:28:50 +02:00
vijaykiran 5034ec0bbf Update API Link in Javadoc 2011-11-09 16:17:28 +01:00
vijaykiran 30caf6ef8f Merge branch 'master' of https://github.com/jclouds/jclouds 2011-11-09 16:16:13 +01:00
vijaykiran e89baba4ef Updated listEventTypes implementation
- Changed listEventTypes from Set<EventType> to Set<String>
- Created new parser for EventTypes.
2011-11-09 12:27:05 +01:00
vijaykiran 1c23700b76 Fix API URL in javadoc. 2011-11-09 12:27:05 +01:00
vijaykiran 7cb088cdf4 Fix API URL in javadoc. 2011-11-09 12:27:04 +01:00
vijaykiran 359faa7a11 Event#listEventTypes implementation. 2011-11-09 12:27:04 +01:00
Richard Downer 5791eaad8b Implement changes to Cloudstack template API suggested in review 2011-11-09 13:05:01 +02:00
Richard Downer 233cc822c0 Complete the Cloudstack "template" API 2011-11-08 13:28:28 +02:00
vijaykiran 10f6cbcf7b Fix API URL in javadoc. 2011-11-07 23:52:20 +01:00
vijaykiran 843f738fa3 Fix API URL in javadoc. 2011-11-07 23:49:53 +01:00
vijaykiran 087cec22ca Event#listEventTypes implementation. 2011-11-07 18:11:31 +01:00
Adrian Cole f78f74e68e better error message when user isn't in cloudstack 2011-11-07 18:09:35 +02:00
vijaykiran 68f817ab29 comment out the failed test. 2011-11-07 16:47:22 +01:00
vijaykiran 392a200cd4 Compare the finger prints in the live tests. 2011-11-07 14:34:18 +01:00
vijaykiran f0f77e7ce7 cloudstack registerSSHKeyPair implementation 2011-11-07 12:22:22 +01:00
Richard Downer 98c3116edc Implement the Cloudstack "VM group" API calls 2011-11-06 14:51:52 +02:00
vijaykiran c1b1061712 Fixes for SSHKeyPair implementation
- Updated JavaDoc
- Added API Method for deleteSSHKeyPair.
- Updated test to delete Key pair.
2011-10-31 15:27:13 +01:00
vijaykiran e1d41bd8b6 Refactor domain object SSHKeyPair to SshKeyPair 2011-10-31 12:40:45 +01:00
vijaykiran f7799c22ad Fix the Class name 2011-10-31 12:28:22 +01:00
vijaykiran a99ce504f1 Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-31 12:24:26 +01:00
vijaykiran 79113a373b Updated formatting and added license headers. 2011-10-31 12:15:41 +01: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
vijaykiran 1151cbc241 SSHKeyPair API implementation
- Updated tests with correct domain model object.
- Unit tests for ListSSHKeyPairs
2011-10-29 16:57:54 +02:00
vijaykiran 6d4ce41d15 Code Formatting commit. 2011-10-29 16:03:15 +02:00
vijaykiran 60f70a0589 First-cut implementation of SSHKeyPair for cloudstack 2011-10-29 16:01:26 +02:00
vijaykiran fd9b49873b Fixed test (assertion) failure for network domain. 2011-10-29 15:56:23 +02:00
vijaykiran 2675b2befb enable getVMs assertion 2011-10-29 12:31:47 +02:00
vijaykiran 4be6d796ac Merge branch 'master' of git://github.com/jclouds/jclouds 2011-10-29 12:31:13 +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
vijaykiran ed076a5c4a Change the test name testListAccount to reflect the api method listAccounts 2011-10-26 16:41:18 +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