Alex Huang
223688d0bf
Port forwarding rules and load balancing rules rewrite
2010-12-03 08:48:02 -08:00
alena
f8a687ab23
1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
...
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony
d184c56ef3
cleanup snapshot code
2010-12-02 19:23:33 -08:00
nit
b5f9ae0ef3
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-30 23:48:13 +05:30
nit
2f946f6030
bug 7366 : Mark template as removed if create private template from volume fails due to being attached to a non-stopped VM. This allows subsequent creation of a template with the same name.
...
status 7366: resolved fixed
2010-11-30 23:47:04 +05:30
abhishek
1aee756184
bug 7345: During the expunge operation, we were not calling the deleteipforwardingrule method, for a rule which was static nat. Adding that logic. Also, making a change in the domr script as we do not need to execute a line on deletion of a rule
...
status 7345: resolved fixed
2010-11-30 10:07:10 -08:00
nit
a6a774f6c0
bug 7369 : Resolving NPE while creating a private template from detached volume. The instance id is null when it is detached which was the culprit here.
...
status 7369: resolved fixed
2010-11-30 15:49:29 +05:30
anthony
fb0675bbf4
bug 7365: return both physical and virutal size when creating private template
...
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony
d3325de5ae
1. limit xs-tools in xenserver related java file
...
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
Kelven Yang
23f274cfd2
Send AttachVolume command even if VM is not in running state under vmware case
2010-11-24 15:17:09 -08:00
alena
aa8aa6027a
Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field.
2010-11-24 14:29:08 -08:00
nit
841044e360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-11-24 18:38:23 +05:30
nit
8ea124ae79
bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
...
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan
f70071dc98
bug 6309: Added event VM.UPDATE along with changed fields
...
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
alena
a646745516
bug 7227: applying Alex's fix - different way of desirializing List objects.
...
status 7227: resolved fixed
2010-11-22 14:08:43 -08:00
abhishek
0979b644ef
bug 7230: there was an issue trying to start user vms when the pool state is cancelmaintenance; fixing the same in 2.2RC2
...
status 7230: resolved fixed
2010-11-22 11:00:43 -08:00
Alex Huang
1e44925564
api refactoring
2010-11-21 12:00:21 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
Alex Huang
a73e3dc9ac
new networking can be set by use.new.networking
2010-11-17 17:51:17 -08:00
Kelven Yang
5490577469
1) Remove forwarding between eth1 and eth2 as it does not solve the problem of asymmetic routing
...
2) correct Eclipse project settings
3) If VM is hosted by vmware hypervisor, give the previous host preference to start on to fit VMware's VM-centric model
2010-11-17 15:55:04 -08:00
alena
c5d78a726e
Modified exception handing in API. Following exceptions are supported now (location - BaseCmd.java):
...
* MALFORMED_PARAMETER_ERROR - when type of the request parameter is invalid (String instead of Long for id for example)
* PARAM_ERROR - when invalid parameter value is specified in api request. For example, id of non existing vm for StartVmCmd
* ACCOUNT_RESOURCE_LIMIT_ERROR - when user tries to exceed his resource limits by executing the api command.
* INSUFFICIENT_CAPACITY_ERROR - when resource fails to create/start due to insufficient capacity.
* RESOURCE_UNAVAILABLE_ERROR - when user tries to create a vm when storage is not available.
* RESOURCE_IN_USE_ERROR - when user tries to delete/modify resource while it's in use. For example, when we try to delete a network group when it contains ingress rules.
* NETWORK_RULE_CONFLICT_ERROR - when LB/PF rule to add conflicts with existing rule
* ACCOUNT_ERROR - when user is not authorized to execute operation on the resource.
* INTERNAL_ERROR
2010-11-16 11:56:34 -08:00
Alex Huang
ed31497188
ComponentLocator changes
2010-11-16 04:28:15 -08:00
Alex Huang
17afeade00
better componentslocator
2010-11-16 04:28:14 -08:00
abhishek
d5ab597fcf
bug 6474,6475: porting over the expunge fixes for port forwarding rules to 2.2
...
status 6474,6475: resolved fixed
2010-11-15 17:33:05 -08:00
abhishek
6d943abf55
bug 7119: code refactor away from the ms calls, to the share and prepare methods based on alex's recommendations
...
status 7119: resolved fixed
2010-11-15 11:17:36 -08:00
abhishek
7327906cdf
the pool availability part is done by the sp allocators, hence commenting out the code in here.
2010-11-12 17:19:57 -08:00
anthony
2537dc3058
bug 7149: merge from 2.1.x
2010-11-12 13:16:03 -08:00
alena
3954c7550a
bug 6914: return password in deployVirtualMachine/resetVmPassword response.
...
status 6914: resolved fixed
2010-11-09 11:18:54 -08:00
Alex Huang
edf9ddd464
added reservation id to vnet
2010-11-08 12:29:38 -08:00
alena
1c24deda34
1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
...
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)
We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.
2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
nit
70358ac153
bug 6367: registerISO, registerTemplate and createTemplate - can create non-ascii character names.
...
status 6367: resolved fixed
2010-11-08 20:55:02 +05:30
Alex Huang
4ccf4361d1
Finally domr and instance running again.
2010-11-05 16:10:22 -07:00
Alex Huang
5f90a8adb0
Checking in to do git pull...stupid git
2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b
stop vm is now formalized
2010-11-05 16:10:22 -07:00
abhishek
038a8cd59a
did not like the fact that the method was getting big; refactored my logic to a private method to increase readability
2010-11-05 14:29:52 -07:00
abhishek
a99cfa58ef
bug 7045: blocking the start vm cmds for both ssvms and user vms when the sp is NOT up
...
status 7045: resolved fixed
2010-11-05 14:24:54 -07:00
edison
5a173ad363
bug 6932: add create private template from volume command support for KVM
...
status 6932: resolved fixed
2010-11-04 11:00:29 -07:00
Alex Huang
9bb05d3ef8
harmony amongst joins
2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
Kelven Yang
d748010da3
Create Template from volume and snapshot for vmware
2010-11-03 19:18:54 -07:00
alena
4a645cdeb0
Return embedded Volume object for create/attach/detach Volume commands.
2010-11-03 13:07:06 -07:00
Alena Prokharchyk
694a8231ef
Build responses in ApiResponseHelper for the deploy/start/stop/reboot/recover/listVm create/list snapshot/snapshotPolicies
2010-11-02 18:16:45 -07:00
Alex Huang
560d7a275e
Removed InternalErrorException. Renamed the lock methods on the DAO objects to be more understandable.
2010-11-02 12:25:08 -07:00
Alex Huang
3279c26796
Removed a bunch of InternalErrorException
2010-11-02 12:25:08 -07:00
Alex Huang
6311644e08
Successful creation of domr and uservm with all programming done correctly.....yahooo
2010-11-02 12:25:08 -07:00
Alex Huang
4db0b7d156
Better integration between it and virtual machine gurus
2010-11-01 15:01:28 -07:00
Chiradeep Vittal
76c7b54fc5
fix problems after merging in bug fixes from 2.1.x
2010-11-01 12:27:15 -07:00
Chiradeep Vittal
40f15106be
when user vm migrates, update rules on destination host
2010-11-01 12:21:56 -07:00
root
fe46ddfd63
bug 6806: changing the 'iso' to 'ISO' in all the error messages being thrown back from the API
...
status 6806: resolved fixed
2010-11-01 11:12:03 -07:00
Chiradeep Vittal
1e0eb04442
Add VPN apis, some systemvm changes for vpn
2010-11-01 10:27:49 -07:00