Kelven Yang
d8a5e84e21
If default hypervisor is vmware, use private network instead of link local network
2010-10-19 16:35:32 -07:00
Kris McQueen
47e26af419
bug 6643: when configuring vlan IP ranges, account might not be specified (zone wide IP range), so assign the configuration event to the SYSTEM account in those cases.
...
status 6643: resolved fixed
2010-10-19 16:27:08 -07:00
Kris McQueen
2bd5b6a29e
bug 6654: virtualmachinename should be serialized as vmname, fix handling of the createPortForwardingRule response
...
status 6654: resolved fixed
2010-10-19 15:59:37 -07:00
abhishek
7c11c04427
reverting the change for bug 6361; this was an accidental push instead of commit
2010-10-19 15:21:01 -07:00
abhishek
7cc8087fa6
bug 6361: more name changes from network group to security group
2010-10-19 15:21:01 -07:00
abhishek
523862f571
bug 6361: further name changes from network to security group
2010-10-19 14:35:17 -07:00
abhishek
6bd7caa9c2
bug 6361: first part of incremental checkin to rename network group to security grou[
2010-10-19 14:35:17 -07:00
Kris McQueen
0267a306c8
bug 6649: when listing domains, accept -1 as 'list all.' Fix listDomainChildren response to return haschild, handle haschild as a boolean rather than a string.
...
status 6649: resolved fixed
2010-10-19 13:49:00 -07:00
Alex Huang
5466e10fa3
simple variable rename
2010-10-19 12:03:40 -07:00
Alex Huang
2da8035bd1
more changes for the rewrite
2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65
Added code to start domR
2010-10-19 11:52:01 -07:00
abhishek
04c8c0f91c
bug 6041: returning the complete embedded reponse for a destroyvm async call
...
status 6041: resolved fixed
2010-10-19 11:46:42 -07:00
Kris McQueen
f4f00cbe2d
bug 6655: when verifying request signature for API requests that use keys, pass the userId of the requester as a Long to avoid NPEs when converting it to a string. Also set up the UserContext for both normal users and admins.
...
status 6655: resolved fixed
2010-10-19 11:41:09 -07:00
abhishek
408822e358
bug 6037: last part of the checkin for this bug
...
status 6037: resolved fixed
2010-10-19 11:36:54 -07:00
abhishek
89e9a85902
bug 6037: adding response obj of type uservmmanager to recovervm response
2010-10-19 11:00:23 -07:00
Kris McQueen
68eb09114a
there is more than one routing template now (VMWare has its own) so change the listVolumes filter to remove volumes for routing* templates
2010-10-19 10:40:52 -07:00
Chiradeep Vittal
947c2ca16d
fix problems in api post-refactor
2010-10-19 09:53:51 -07:00
Chiradeep Vittal
4d37269961
fix local disk for system vms
2010-10-19 09:53:51 -07:00
alena
bb5399c2bc
Fixed PodResponse: endip is all lowercase now.
2010-10-18 14:11:21 -07:00
Kris McQueen
603874605d
The serialized names for the old VIRTUAL_MACHINE_* constants weren't quite right. Fix these up. This is a good example for why there needs to be a pass through the API commands and responses and constants should be used in the annotations rather than the current strings that are in place.
2010-10-18 14:10:07 -07:00
Kris McQueen
3be625ca6e
The stopVirtualMachine API should return the vm instance rather than a boolean indicating success. The response for async jobs is now under the jobresult property of the JSON response, handle the start/stop virtual machine responses using data from the jobresult rather than expecting some embedded object.
2010-10-18 11:15:07 -07:00
edison
e41729cc43
fix rpm build
2010-10-16 01:03:31 -07:00
Kelven Yang
915d29f47b
Skip starting of console proxy when storage pool is not ready
2010-10-15 18:57:28 -07:00
Kelven Yang
2c919c5c01
Make unique name conforming with the name generated in template installation for routing template, some other minor fixes
2010-10-15 16:36:02 -07:00
anthony
d41f7d78d9
DeleteStoragePool command fix
...
1. not delete SR in xenserver side, only delete it in database.
2. remove a storagepool, adding it back fails
2010-10-15 14:15:55 -07:00
Kelven Yang
8555eb1913
Fix the broken ConsoleProxyServlet after the merge of API refactoring changes
2010-10-15 11:17:27 -07:00
Alex Huang
84d2a0c842
reverted back most of my changes to merge in Kris stuff. Thanks much to Anthony who caused my XenServer to reboot all the time which caused me unable to unit test stuff and unlike Kris, I do not check in code untested so now I have to do all this stuff.
2010-10-15 07:10:16 -07:00
Alex Huang
bebf9dbc3f
Adding stuff
2010-10-15 06:26:24 -07:00
Alex Huang
b3da4cea1b
Forcing me to commit because of stupid git
2010-10-15 06:22:59 -07:00
Kris McQueen
80090990a6
Fix configuration in light of new API framework. Move code from ConfigurationManager into ConfigurationServer for creating disk/service offerings, pods, and zones. This prevents the ComponentLocator from pulling in a lot of extra DAOs and Managers now that ConfigurationManager has a lot more dependencies due to API changes. Without making this change, there would be a dependency on ClusteredAgentManager in both config-server and mgmt-server, which would try to start two listeners on port 8250, which is bad. Now that the configuration happens in ConfigurationServer, things should be kept simple.
2010-10-14 19:11:22 -07:00
Kris McQueen
88814d95f0
A zoneId of -1 means all zones, so if zoneId is passed in as -1 just list all zones for registering the template
2010-10-14 19:11:21 -07:00
Kelven Yang
f6e0d2dd41
Make system VM work on vmware
2010-10-14 17:23:13 -07:00
Kris McQueen
e168760295
The code implies resource could be null, and yet de-references resource before the null check. As I was experiencing a NPE because if this exact scenario, put the remote agent check inside the check for null to avoid problems. If resource is null we log that we were unable to send ping due to agent disconnected...
2010-10-14 15:02:43 -07:00
anthony
39d30b9bf1
only send commands to host which is Up and Connecting
2010-10-14 11:35:48 -07:00
anthony
7115aa06bd
send commands to host which is UP and connecting
2010-10-14 11:08:35 -07:00
anthony
9b839d749b
only send command to host which is UP
2010-10-14 10:24:52 -07:00
anthony
f7ec2ebc48
bug 6521: for add host, return api response, even if the host is in disconnected state
...
status 6521: resolved fixed
2010-10-14 10:20:48 -07:00
Kris McQueen
d928a6f3d9
If storage pool is null after adding a pool, throw an exception so the user sees a problem adding the pool. This is better than the NPE that was happening...
2010-10-13 16:08:49 -07:00
Kris McQueen
5960911511
Fix processing of session parameters in logout case
2010-10-12 19:42:53 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
0f4a245f0a
resolving merge conflicts before pushing to the remote repository
2010-10-12 15:37:50 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
anthony
09cefaf3e9
bug 6500: add back the special handle for secodary storage host, it is in the same path of handling xenserver host, it is easy to break that, so I add some comments there
...
status 6500: resolved fixed
2010-10-11 12:05:13 -07:00
alena
fb50fe624c
* Added descriptions for Api command's request and response parameters.
...
* Changed response type for DeleteDomain and DeletePreallocatedLun commands to SuccessResponse
* Implemented small tool (ApiXmlDocReader) for comparing api commands of different product versions.
2010-10-11 09:21:42 -07:00
anthony
0c750aa8fa
bug 6462: notifyMonitorsOfConnection of handleDirectConnect may fail, but it still returns the removed attach, and lauch ping task
...
status 6462: resolved fixed
2010-10-09 17:34:36 -07:00
anthony
a93d36d81a
should use _hostDao.listByCluster instead of _hostDao.listByPodId in some places
2010-10-08 18:10:15 -07:00
edison
2f39664f94
maybe it was an incorrect merge that snapshot was disabled for KVM
...
Re-enable it.
2010-10-07 18:56:42 -07:00
Kelven Yang
0d64b460f8
add vmware network configuration variables
2010-10-07 18:23:26 -07:00
edison
3028dab141
fix systemvm template in direct attached mode, guest vm can't get gateway and dns server
2010-10-07 16:32:46 -07:00