Commit Graph

1593 Commits

Author SHA1 Message Date
Deepak Garg 05e46cfd31 Added more params to UpdateAutoScaleVmProfileCmd 2012-07-24 10:00:42 +05:30
Vijay deb70ad200 AutoScale. Enabled Update commands with UnitTesting. Introduced and tested capability for NetScaler 2012-07-24 10:00:37 +05:30
Vijay df84f88296 CS-15593: Conditions are checked in database before used 2012-07-24 10:00:03 +05:30
Vijay c755172a3a CS-15590 : Conditions are corrected to be similar to other search wrapper usecases 2012-07-24 10:00:00 +05:30
Vijay c826fa295b AutoScale. AutoScaleVmGroup Response corrected. Responses tested for list commands of autoscale entities 2012-07-24 09:59:57 +05:30
Deepak Garg 3bee3fd4fd Added CSurl in the vm profile response 2012-07-24 09:59:44 +05:30
Deepak Garg 8bbc8ee0ec Added csurl as param in CreateAutoScaleVmProfileCmd 2012-07-24 09:58:56 +05:30
Vijay fa9282add1 AutoScale. Alena's final review comments. 1st Cut. 2012-07-24 09:58:17 +05:30
Vijay 998f9aa051 AutoScale. Unit Test Add/Delete/List of all AutoScale entities. 2012-07-24 09:57:24 +05:30
Vijay a6a206d3fc AutoScale. Bringing in update commands and enable/disable. Not Tested. 2012-07-24 09:57:21 +05:30
Vijay 21e13657b4 AutoScale.
All API commands with separate service layer for AutoScale.
  Not tested.
2012-07-24 09:57:10 +05:30
Alena Prokharchyk 22826032b4 VPC: CS-15668 - IpAssoc: unplug the nics before pluggning new ones 2012-07-23 16:18:49 -07:00
Alena Prokharchyk 9899df816c Resource tags: CS-15661 - don't accept NULL or empty key value when create resource tag 2012-07-23 10:50:21 -07:00
Sheng Yang 78391cef8a S2S VPN: Fix NPE when executes list command 2012-07-18 15:54:38 -07:00
anthony 642a82f7ea VPC : static route, cidr should be subnet/cidrsize 2012-07-17 18:57:30 -07:00
Alena Prokharchyk 14c3ef17ad VPC: added one more default network offering for VPC - the one not having LB service 2012-07-17 17:47:02 -07:00
Sheng Yang c36de737db S2S VPN: Use source NAT ip address for VPN gateway 2012-07-17 17:22:00 -07:00
Alena Prokharchyk 7e73ae8e74 VPC: CS-15553 and CS-15549 - more checks during automatic ip assoc to VPC network 2012-07-12 10:04:39 -07:00
Alena Prokharchyk 988831327a VPC: added forVpc parameter to listNetworks api call. If true, list networks not belonging to any vpc 2012-07-12 09:09:09 -07:00
Alena Prokharchyk 1a3a899d59 VPC: fixed logging 2012-07-11 14:51:19 -07:00
Alena Prokharchyk 62cf3bd8da VPC: fixed listPrivateGateways by id 2012-07-11 13:23:19 -07:00
anthony 36eafbdb2c VPC : CS-15464, revoked static route will not be sent out 2012-07-11 12:15:57 -07:00
Alena Prokharchyk c44af15cd6 VPC: added State to vpc_gateways 2012-07-11 11:53:30 -07:00
Sheng Yang 6582882666 S2S VPN: Add domain and account for VPN
Admin can add VPN connection for others
2012-07-10 18:55:08 -07:00
anthony 5d224ed592 VPC : in no route in setStaticRoute, just remove all routes 2012-07-10 18:41:13 -07:00
Alena Prokharchyk 954b937a42 VPC: unplugNic - release the nic in the DB only after the command is executed succesfully on the backend 2012-07-10 18:02:44 -07:00
Alena Prokharchyk 4e5355b192 VPC: CS-15519 - fixed ipAssoc when only zoneId parameter is passed in to the API call 2012-07-10 15:15:30 -07:00
Sheng Yang 37a0ef7375 CS-15512: Fix delete vpn connection 2012-07-10 14:47:27 -07:00
Alena Prokharchyk 3caffc7855 VPC: CS-15345 - fixed regression in ipRelease happening as a part of cleanupNetworkResources method 2012-07-10 14:33:24 -07:00
Vijayendra Bhamidipati 67754525ef CS-15508: Print error text and code in ExceptionResponse
Description:
	Overriding toString() in ExceptionResponse for
	better logging.
2012-07-09 19:34:51 -07:00
Sheng Yang a87a0619c2 S2S VPN: Add state for vpn connection response 2012-07-09 16:54:40 -07:00
Sheng Yang 9798a59289 CS-15452: Fix wrong repsonse ID for s2s vpn 2012-07-09 16:20:35 -07:00
Alena Prokharchyk 1657486f41 VPC: added vpc_id to private_ip_address table to indicate which vpc the ip belongs to 2012-07-09 13:00:03 -07:00
Sheng Yang a36c124226 CS-15498: Fix delete s2s vpn NPE 2012-07-09 11:59:45 -07:00
Alena Prokharchyk 6a9d5a7a0d ResourceTags: respect tag parameter in listTemplates/listIsos commands 2012-07-06 16:37:40 -07:00
Alena Prokharchyk 29aaf4c841 VPC: fixed listNetworkACLs by networkId 2012-07-06 16:33:31 -07:00
Vijayendra Bhamidipati b5cb3ef70e Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-06 15:58:55 -07:00
Vijayendra Bhamidipati 06a9ef7923 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:
	More changes to remove DB IDs from exception messages.
2012-07-06 15:58:12 -07:00
Sheng Yang 5a5117b744 CS-15471: Fix wrong type of updating customer gateway lifetime
Also fixes one typo.
2012-07-06 11:12:44 -07:00
Alena Prokharchyk ed63a14d5e Resource tags: CS-15473 - fixed delete/list by resourceId when UUID is specified as a value 2012-07-06 10:32:24 -07:00
Alena Prokharchyk 32bf5e1b71 VPC: CS-15469: createNetworkACL - startPort is not accepted if protocol is ICMP 2012-07-06 10:02:11 -07:00
Alena Prokharchyk b977dc89d0 CS-15474: fixed response name for the deleteTags API 2012-07-06 09:53:00 -07:00
Alena Prokharchyk f9d512f163 ResourceTags: resourcetags support for Project/Vpc/NetworkACL/StaticRoute 2012-07-05 17:33:20 -07:00
Vijayendra Bhamidipati 3a557c2998 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x
Conflicts:
	server/src/com/cloud/network/NetworkManagerImpl.java
2012-07-05 17:06:02 -07:00
Vijayendra Bhamidipati f1ec4fddd3 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	As part of the fix for Bug CS-13127, a new overloaded function,
	addProxyObject() was added to facilitate transparent db id to
	uuid conversions when db IDs were added to exceptions that were
	thrown in the Cloudstack mgmt server code. However, it turns out
	that there are quite many db IDs still in the code that are
	being directly embedded in the String message that is passed
	during exception creation.

	In this commit, we modify the default constructor of
	InvalidParameterValueException so that it takes a second
	argument of type List<IdentityProxy>. This will help developers
	see that there is a second parameter required, and make them
	look into what that parameter is about. Hopefully, this will
	stop db IDs from being embedded into the exception message.

	The parameter can be set to null though, since there are many
	places in the code that don't embed any DB IDs in the exception.

	This is still a WIP, so the older default constructor for
	InvalidParameterValueException has not been removed yet. When
	all instances of throw new InvalidParameterValueException()
	have been moved over to the new default constructor, the old
	one will be removed, else compilation will break. The reason
	for having to do this in batches is that there are way too
	many places in the code that throw exceptions, and they all
	cannot be covered in a single commit without it taking much
	time.

	In following commits, all other exceptions will be changed
	in the same way as InvalidParameterValueException.
2012-07-05 16:48:36 -07:00
Alena Prokharchyk a44843af69 VPC: added "forVpc" (boolean) parameter to listRouters call - filter by the fact if router belongs to VPC or not 2012-07-05 14:04:34 -07:00
Alena Prokharchyk d8cdb89721 VPC: added field networkacl_service_provided to physical_network_service_providers table 2012-07-05 13:56:55 -07:00
Alena Prokharchyk 931c3eb78e VPC: removed NetworkACL interface; added getTrafficType() to Firewall 2012-07-05 10:22:49 -07:00
Jayapal f05115a9c4 Bug: CS-15443, Fix for NPE while adding Firewall Rule 2012-07-04 16:13:32 +05:30
Alena Prokharchyk 3383c79452 VPC: added zoneName to the VPC api response 2012-07-03 17:14:07 -07:00