Commit Graph

410 Commits

Author SHA1 Message Date
vijaykiran 0dba1c4f5d EventsAsyncClient and test implmentation 2011-11-12 06:23:03 +01:00
vijaykiran ee5f2bbcb0 listEvents work in progress 2011-11-12 06:23:03 +01: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 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
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
Adrian Cole e766248327 Issue 334: added aws-cloudwatch provider 2011-09-16 15:36:29 -07:00
Adrian Cole 8a229dc88a Issue 334: fixed cloudwatch to use new nullable annotations 2011-09-16 14:48:52 -07: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
Andrea Turli 2274e7d4e6 Issue 384: support virtualbox 4.1.2r73507 2011-08-21 18:19:31 +01:00
Adrian Cole 04dde80bd4 Issue 384: fixed vbox guest additions download location 2011-08-20 13:39:34 -07:00
Adrian Cole e3a960e270 fixed pom for temporary github repo 2011-08-20 13:28:48 -07:00
Adrian Cole 43d1db9f48 Issue 384: update to virtualbox 4.1.2r73507 2011-08-20 13:20:51 -07:00
Adrian Cole 960bfe709f Issue 663:Update license headers to jclouds, Inc. and setup NOTICE file 2011-08-16 18:14:30 -07:00
Adrian Cole 802f813663 Issue 464: updated cloudstack to use new json parsers 2011-08-14 18:06:44 +01:00
Adrian Cole 39f4817b66 Issue 464: added rough ideas on how to parse new cloudstack 2.2.8 format 2011-08-12 17:10:07 +01:00
Adrian Cole 69e7b101bb cleared up javadoc on blockUntilRunning and blockOnComplete 2011-08-11 15:55:44 +01:00
Adrian Cole 0a8f38b90e bumped snapshot version to 1.2.0-SNAPSHOT 2011-08-05 04:09:23 +01:00
Adrian Cole 21821231cb fixed headers and formatting 2011-07-27 02:48:11 -07:00
Adrian Cole d8dee64cf7 renamed tests that require virtualbox running to Live suffix 2011-07-27 02:45:43 -07:00
Adrian Cole 9fd467d030 renamed tests that require virtualbox running to Live suffix 2011-07-27 02:44:10 -07:00
Adrian Cole 5243790801 Issue 384: switched to vbox 4.1, cleaned up shell commands with byon, fixed so starts to work on osx 2011-07-27 02:31:10 -07:00
Andrea Turli 280c8205f0 adding virtualbox issue 384 - fix hd creation 2011-07-26 14:15:20 +01:00
toor dc070417a9 adding virtualboxissue 384 - NAT configuration for jetty web server 2011-07-26 01:22:44 +01:00
andreaturli 5a2053a3d0 adding virtualbox issue 384 - sshj 2011-07-25 22:08:12 +01:00
andreaturli 4070a7d689 add virtualbox support issue 384 2011-07-25 19:13:38 +01:00