Commit Graph

20842 Commits

Author SHA1 Message Date
Anshul Gangwar
273ac5c8cf Fix for functional tests. The test was failing to build on java 1.6. 2013-10-28 18:08:42 +05:30
Anshul Gangwar
75857e3f0d Update the unit test to create a fake vhd file on the fly and run the test. The file is removed when the test completes. 2013-10-28 18:02:40 +05:30
Anshul Gangwar
f7bd4614c0 Fixing the warnings while running unit tests for hyper agent.
Added a new switch for functional tests.
2013-10-28 13:49:50 +05:30
Anshul Gangwar
c05758b25f Fix to make sure the hyperv agent and the funcitonal tests are working after the unit tests update. 2013-10-28 11:40:07 +05:30
Anshul Gangwar
a27899aae1 Hyperv unit tests for the agent. Unit tests are written using NSubstitute and XUnit and
they test the create, stop and start commands in the agent.
2013-10-28 11:31:01 +05:30
Devdeep Singh
d0f764b55a Changes for attaching the systemvm iso to virtual router will booting it -
part 2. The agent copies over the systemvm iso during setup. When a
virtual router is being booted it attaches the iso to it.
2013-10-25 16:54:43 +05:30
Devdeep Singh
15f9b82735 Changes to attach the system vm iso when booting the virtual router - part 1.
Copy the iso to the secondary storage and let the hypervisor agent know of its
location during setup. The agent will copy it over once it handles the setup
command.
2013-10-25 15:57:31 +05:30
Rajesh Battala
1b5cd843da Fixed hyperv localstorage path encode url issue. encode is converting space to '+' 2013-10-22 15:51:32 +05:30
Rajesh Battala
62098f76c0 Implemented VR network commands to provide the necessary services from VR 2013-10-22 12:41:13 +05:30
Rajesh Battala
f74e9aac74 Implemented SetFirewallRulesCommand in HyperV Resource 2013-10-18 17:40:36 +05:30
Rajesh Battala
b24935f2f9 Fix for VR to boot up and get configured with boot args, Fixed issue in VolumeOrchestrator 2013-10-13 09:10:14 +05:30
Rajesh Battala
c15a295e91 Modified hyperv agent code, to deploy VR with Boot Args, boot args passed to VR using KVP Exchange Component. 2013-10-11 17:26:15 +05:30
Rajesh Battala
16422cbc0e Implemented commands that are required for VR to bootup and Vm deployment to work 2013-10-11 16:43:32 +05:30
Rajesh Battala
33e19bf187 modifified cloud-early-config to configure, when the VR boots up in HyperV Environment 2013-10-11 16:43:32 +05:30
Devdeep Singh
f1c2c502ec Implementation for attach iso command. Attaches an iso to a given vm. 2013-10-11 15:12:18 +05:30
Rajesh Battala
3a5c7f1e4a Fixed deletion on VM's on hyperv host when mgmt server gets restarted due to HA
Conflicts:

	server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
2013-10-11 11:58:20 +05:30
Rajesh Battala
0d424d152e Acquire management/pod ip for control ip when VR deploys in HyperV 2013-10-11 00:02:46 +05:30
Donal Lafferty
c2ddf836bf Test failures are easier to deal with if test key is not deleted. 2013-10-10 18:18:05 +05:30
Donal Lafferty
1edd300966 Rearrange code to make it clearer what .NET objects are being used. 2013-10-10 18:16:16 +05:30
Devdeep Singh
53fd4e8c72 Add ability to pass kvp data via the key cloudstack-vm-userdata 2013-10-10 18:11:58 +05:30
Donal Lafferty
1d0a931dea A plugin for Hyper-V control is available for CloudStack. The plugin implements basic VM control; however, its
architecture allows additional functionality to be easily added.  Incorporating the plugin in CloudStack will allow
the community to participate in improving the features available with Hyper-V.

The plugin uses a Director Connect Agent architecture described here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Progress
2013-10-02 14:37:22 +05:30
Darren Shepherd
4590813836 Fix UsageServer startup
Add back @Component to ConfigurationDaoImpl and scan for the package in
Spring config.
2013-10-01 10:30:36 -07:00
Alena Prokharchyk
3e7d0efb90 AddResourceDetail: enabled support for adding details for user vm (user_vm_details db table) 2013-10-01 09:28:35 -07:00
Sowmya Krishnan
a5ede3af7f CLOUDSTACK-4696 Handle Netscaler Provider enable for both zones
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-10-01 11:18:30 +05:30
Alena Prokharchyk
b253d95de9 UpdateVirtualMachine: code cleanup - got rid of warnings and unused code from the method; extracted part of the code to its separate method. 2013-09-30 15:34:56 -07:00
Brian Federle
1a23d6ebab Remove file added by accident in previous commit. 2013-09-30 10:08:16 -07:00
Darren Shepherd
19ef999e36 Wrong field was used in check 2013-09-30 10:07:28 -07:00
Darren Shepherd
cba8e40e4b Add license headers to fix build 2013-09-30 09:51:45 -07:00
Darren Shepherd
efbfae723e Switch to setter injection for extensibility
Various classes are using member injection to inject extensible objects.
Really those object should come from an AdapterList that is injected in.
This patch switches the code to use setter injection that will later allow
spring to inject an AdapterList or something similar to allow
extensibility.
2013-09-30 09:45:07 -07:00
Darren Shepherd
692535f928 Cleanup DefaultUserAuthenticator and removed masking _name variable
DefaultUserAuthenticator maskes the _name varible in ComponentLifecycleBase
making the setName() method not work as expected.  This patch cleans up the
code such that getName() will be getClass().getSimpleName() unless
overridden in the Spring configuration.
2013-09-30 09:33:33 -07:00
Darren Shepherd
766a0a2229 Add ability to programatically disable CloudStack ComponentConext intialization
As we moved to a more Spring managed lifecycle, the lifecycle management
in ComponentContext is not needed.  The transition to fully spring managed
will not happen all at once.  The management server will be done first and
then AWSAPI and UsageServer will come later.  This change allows the
ComponentContext in the context of the management server to be bypassed.
Note, by default, the ComponentContext will run its initialization.
2013-09-30 09:30:54 -07:00
Darren Shepherd
78040f8769 Add registry interface
Registry interface will be used to store and discover extensions
2013-09-30 09:26:17 -07:00
Darren Shepherd
9a083b9e66 Add Named interface to recognize objects with a getName() 2013-09-30 09:23:23 -07:00
Darren Shepherd
2e29c89b84 Default null value in ConfigKey results in NPE on second start 2013-09-30 08:54:02 -07:00
Laszlo Hornyak
13e7a7308b Test for URLEncoder
- test added
- source formatted

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-30 15:03:12 +02:00
Laszlo Hornyak
c61997f022 basic test for ApiDispatcher
Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>
2013-09-30 13:08:15 +02:00
Gaurav Aradhye
b7e00d3700 CLOUDSTACK: 4706 - Adding missing method get_region in common.py
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 503fe75dc9)
2013-09-30 15:19:58 +05:30
SrikanteswaraRao Talluri
55ef4b8c3c CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:14:41 +05:30
SrikanteswaraRao Talluri
65da24c35e CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 6b28e03d6d)
2013-09-30 15:12:20 +05:30
sanjeevneelarapu
ff2bd3d443 CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 14:54:31 +05:30
SrikanteswaraRao Talluri
ff0f738973 CLOUDSTACK-4344: pass delay and retries explicitly to remoteSSHclient to reduce time taken by the tests
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 94f741bbf5)
2013-09-30 12:24:16 +05:30
Wido den Hollander
e6fd794ca0 packaging: Do not depend on JNA and don't include it in the classpath
It's now packaged with maven due to libvirt 0.5.1 and will be included
in the classpath automatically.
2013-09-29 12:22:46 +02:00
Alena Prokharchyk
3ae80acb40 Added missing license to SearchBase.java - fixed broken RAT check 2013-09-28 22:18:27 -07:00
Alena Prokharchyk
43770e0cb2 CLOUDSTACK-4744: enhanced root admin API updateVolume with state/storageId parameters as a part of "Better control over first party objects" feature.
Also fixed existing bugs for the API:

* corrected action event to be VOLUME.UPDATE (was VOLUME.ATTACH)
* all parameters to update, should be optional - fixed that. If nothing is specified, the db object will remain with its original fields
2013-09-28 21:44:47 -07:00
Alex Huang
b998fba4da Added comments for the search builder classes on how to use them 2013-09-28 11:50:02 -07:00
Alex Huang
b60eef3e82 Added comments and finished off the work 2013-09-28 07:53:28 -07:00
Alex Huang
5fd47cc873 Added QueryBuilder 2013-09-28 07:53:28 -07:00
Alex Huang
38e69fb9f9 Changed SearchCriteria2 to GenericQueryBuilder to reflect the same placement 2013-09-28 07:53:27 -07:00
Alex Huang
e8cac2c5d8 Changed SearchCriteria2 to GenericQueryBuilder to reflect the same placement 2013-09-28 07:53:26 -07:00
Alex Huang
e2988902c9 Changed SearchCriteria2 to GenericQueryBuilder to reflect the same placement 2013-09-28 07:53:25 -07:00