1201 Commits

Author SHA1 Message Date
abhishek
dd9fd57514 changing the logging and error msgs from 1:1 NAT to static NAT (in accordance with the feature being called static and not 1:1 NAT) 2010-12-02 15:50:04 -08:00
abhishek
e353b7ac2d we use 2 different tables for ip/port fwding and load balancer rules respectively. when we create a new static nat rule, this checkin tests against existing records in either of these tables based on the public ip address being mapped. if such a rule exists in either table, we do not permit creation of a static nat rule on this public ip 2010-12-02 15:50:04 -08:00
abhishek
66186ca876 bug 7348: fixing the issue of the static nat rules not being re-programmed on a domr stop/start or a domr reboot
status 7348: resolved fixed
2010-12-02 11:16:33 -08:00
abhishek
dc5c82456c bug 7352: implemented security for the list ip fwding rules cmd, to filter results based on user
status 7352: resolved fixed
2010-12-02 09:49:47 -08:00
abhishek
d0fc07496f search functionality for ip forwarding rules, with covering of cerner cases 2010-12-02 09:46:32 -08:00
abhishek
d28d6894e1 adding security checks for list ip forwarding rules command 2010-12-02 09:46:32 -08:00
nit
ad571eef36 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-02 17:36:26 +05:30
nit
9a3a5b4fa7 bug 7314 : Extract Api - Async Framework takes care of updating the final status no need to update it inside the code.
status 7314: resolved fixed
2010-12-02 17:35:47 +05:30
kishan
794c83f011 bug 7216: show capacity alerts at pod level instead of zone
status 7216: resolved fixed
2010-12-02 15:20:05 +05:30
kishan
0b76c26ce9 bug 7216: show capacity alerts at pod level instead of zone
status 7216: resolved fixed
2010-12-02 14:11:38 +05:30
will
cd5afb3d7e bug 6969: Fixed snapshots, templates, isos, routers, volumes, and system vms async commands to make use of the new job id/job status when listing objects with pending jobs. 2010-12-01 16:50:56 -08:00
anthony
17f3239f07 bug 7368: should get volumeVO even if it is removed
status 7368: resolved fixed
2010-12-01 16:11:47 -08:00
abhishek
a477d6c33c adding support for updating service and disk offerings, also adding domain and domainid back in the responses to the CRUD methods for both service and disk offerings 2010-12-01 10:40:08 -08:00
abhishek
b51a7fec50 adding a security checker whilst creating a volume from a disk offering 2010-12-01 09:53:13 -08:00
abhishek
4387e2ca0a another good point to commit; the basic domain specific disk offering functionality is now in place 2010-12-01 09:53:13 -08:00
abhishek
402baae9fa adding comments for the domain checker, so that the design decision is better understood down the road 2010-12-01 09:53:13 -08:00
abhishek
1dfdcf51cb another good point for checkin, added the domain checker for checks against service offerings, whilst deploying virtual machines 2010-12-01 09:53:13 -08:00
abhishek
9a6eaaf21f this is a good point to commit the code; have the basic domain specific service offering working 2010-12-01 09:53:13 -08:00
will
c67d26cec4 bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work. 2010-11-30 19:12:09 -08:00
Kelven Yang
677394c27a Remove retired configuration varable 2010-11-30 16:23:15 -08:00
Kelven Yang
83736a1af5 Add URI component encoding to URI util class to help utilize URL info in hypervisor host address 2010-11-30 16:23:15 -08:00
will
de92288e3b Adding xenserver-5.6.0-1.jar to eclipse classpath and removing 5.5 2010-11-30 12:19:49 -08:00
alena
680812f675 bug 7223: page and pagesize parameters must be specified together "list" api commands
status 7223: resolved fixed
2010-11-30 11:31:34 -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
Kelven Yang
54f177cacc 1) Make generic dao be able to persist UTF-8 string for internationalization support
2) Undo gson Unicode escape in API response object to avoid double escaping which can break Javascript from getting correct text content
3) Correct API layer in dealing with character encoding
4) Remove double escape in cloud.core.js
2010-11-30 09:40:54 -08:00
Kelven Yang
fa9c882d8c Add VMWare hypervisor guru 2010-11-30 09:40:53 -08:00
nit
06c61f2fac bug 7325 : We shouldn't allow attaching xen-pv-iso to any hypervisor other than xenserver.
status 7325: resolved fixed
2010-11-30 22:20:33 +05:30
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
abhishek
0273872b34 bug 7362: we were missing the size validation check, when we create a volume from disk offering (the storage.max.volume.size param wasn't being used for validation). Fixed the same, made the validation method name more generic to be applicable to all validations, and changed the param description to denote GB as the unit
status 7362: resolved fixed
2010-11-29 17:23:16 -08:00
anthony
bd64f4faa3 remove eclipse error 2010-11-29 16:39:48 -08:00
anthony
fff1dd874a fix classpath for xenserver-5.6.0-1 2010-11-29 15:26:07 -08:00
abhishek
bdf4426609 fixing the same issue in another command (found whilst checking references) 2010-11-29 13:38:06 -08:00
abhishek
1a0ec2a00f bug 7346: fixing the corner case where list ip forwarding rules is called for a rule, which is yet to be expunged, but the vm is destroyed. if you call list here, an npe results
status 7346: resolved fixed
2010-11-29 13:35:04 -08:00
abhishek
dce3f9fa3b bug 7344: preventing enabling of static nat on an ip for more than one instance. Check the nat flag, and error out if set
status 7344: resolved fixed
2010-11-29 11:56:34 -08:00
anthony
385054fccf bug 7338: update template physical size
status 7338: resolved fixed
2010-11-29 11:23:47 -08:00
Alex Huang
d40700b286 Changed firewall rule's constructor 2010-11-29 09:38:13 -08:00
anthony
30fa6530f9 bug 6088: track template physical size in template_host_ref table
add migration from 21 to 22
after migration , SSVM needs to stop/start

status 6088: resolved fixed
2010-11-24 20:05:52 -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
Kelven Yang
dd9b1634f7 Allow host behind cluster to return real VNC host IP address 2010-11-24 15:17:08 -08:00
Kelven Yang
fd1beef28b Someone commited a change in ConsoleProxyManagerImpl that breaks down system VM, let's blame git for now on this 2010-11-24 15:17:07 -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
abhishek
1950bf7a99 changing the nat feature to work with kvm 2010-11-24 10:04:24 -08:00
alena
44737d24c5 bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
status 7196: resolved fixed

Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit
d0530265d7 bug 7046 : Global admins should be allowed to extract all the times.
status 7046: resolved fixed
2010-11-24 19:33:15 +05:30
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