Commit Graph

1650 Commits

Author SHA1 Message Date
Vijay 0bd667418e CS-15931 Delete Vm group not removing configs from NS.
CS-15935 NetScaler sessions increase in case of errors in the NetScaler
CS-15930 Save config not triggered to NS after create, update delete VM group
CS-15934 Handling Resource Unavailable exception for AutoScale
2012-08-10 13:45:23 +05:30
Abhinandan Prateek b82fddd629 bug CS-15919: added details parameter value can be a comma separated list of [all, vm, account, storage_type, disk_offering, min] 2012-08-10 10:28:25 +05:30
Vijayendra Bhamidipati e0b06df8e2 CS-14644: Errortext includes old ID, not UUID in CS3.0
Description:

	Removing dead IdentityProxy information passed during
	exception creation.
2012-08-09 13:31:28 -07:00
kishan e77c17990f bug CS-14644: Added IdentityProxy to get UUID for unable to use template error in deployVm API 2012-08-09 13:24:28 +05:30
Alena Prokharchyk 4739ac0ae3 Reverted "Initialize user context from AccountManager" committed by mistake
This reverts commit cc212aaecf.
2012-08-08 15:25:31 -07:00
Alena Prokharchyk d31449f1c0 Name change for vpc/Dao package (dao is lowercased now)
Conflicts:

	api/src/com/cloud/vm/PluggableNics.java
	server/src/com/cloud/configuration/DefaultComponentLibrary.java
	server/src/com/cloud/network/dao/RouterNetworkDaoImpl.java
	server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/network/vpc/dao/PrivateIpDao.java
	server/src/com/cloud/network/vpc/dao/PrivateIpDaoImpl.java
	server/src/com/cloud/network/vpc/dao/StaticRouteDao.java
	server/src/com/cloud/network/vpc/dao/StaticRouteDaoImpl.java
	server/src/com/cloud/network/vpc/dao/VpcDao.java
	server/src/com/cloud/network/vpc/dao/VpcDaoImpl.java
	server/src/com/cloud/network/vpc/dao/VpcGatewayDao.java
	server/src/com/cloud/network/vpc/dao/VpcGatewayDaoImpl.java
	server/src/com/cloud/network/vpc/dao/VpcOfferingDao.java
	server/src/com/cloud/network/vpc/dao/VpcOfferingDaoImpl.java
	server/src/com/cloud/network/vpc/dao/VpcOfferingServiceMapDao.java
	server/src/com/cloud/network/vpc/dao/VpcOfferingServiceMapDaoImpl.java
2012-08-08 15:02:46 -07:00
Alena Prokharchyk cc212aaecf Initialize user context from AccountManager 2012-08-08 14:52:40 -07:00
Deepak Garg 211b60ef64 CS-15644 Implemented UUIDs for templateId, serviceOfferingId, zoneId, domainId replacing the ids being passed to
Netscaler in the API url

Reviewed By: Vijay V.
2012-08-08 18:17:38 +05:30
Vijay b10274efd9 CS-15866. Packaging AutoScale Vm Group as part of delete
load balancer rule.
ReviewedBy: Devdeep Singh
2012-08-08 17:44:28 +05:30
Sheng Yang 20f4b6a386 CS-15243: Add service combination check at create network offering 2012-08-07 12:52:59 -07:00
Alena Prokharchyk ff708a87d3 Fixed UserContext initialization - got broken by unittest 2012-08-07 11:50:36 -07:00
Alena Prokharchyk 1cf91a8397 VPC: more unittests for VpcService 2012-08-07 11:01:43 -07:00
Vijay 7355f75633 Reverting 589efc80ec. 863bce0171 has the changes required. 2012-08-07 00:16:49 +05:30
Vijay 589efc80ec Introducing the mapping between job instance and instance id for
static routes and vpc gateways.
2012-08-06 20:18:55 +05:30
Koushik Das 32c577ef7d Fix CS-15834
Added storage type in list disk offerings response
Reviewed-by: Abhi, Nitin
2012-08-06 15:24:01 +05:30
kishan b87800c159 bug CS-15852: Added VPN network usage. Uses vpn mark 0x525 to match VPN packets 2012-08-06 03:19:58 +05:30
Alena Prokharchyk da9bd84e09 VPC: more validation for static route rules: 1) Can't belong to guest cidr defined on Vpc 2) Can't belong to link local cidr 2012-08-03 15:32:27 -07:00
Alena Prokharchyk 0b2b021f18 VPC: CS-15812 - fixed listVPCs by projectId 2012-08-03 14:08:26 -07:00
Alena Prokharchyk a25cf5e08f VPC: CS-15827 - register only VpcVirtualNetworkApplianceMgr 2012-08-03 11:47:50 -07:00
Nitin Mehta a82ad3b3bc bug CS-15200: Introducing state transition when volume is getting copied from secondary storage and it is put into Creating state
Reviewed-by: Kishan
2012-08-03 16:15:22 +05:30
Murali Reddy f837a0431d bug CS-15817 system VM's fail to create in basic zone with EIP/ELB network offering
removing the ActionEvent annotation on associate IP, acuquire IP methods
on internal methods, so that static NAT for system VM succeeds
2012-08-03 08:54:35 +05:30
anthony d8ab3e1c36 VPC : handle Revoke rules for staticroute 2012-08-02 18:48:05 -07:00
Sheng Yang 263ae86311 S2S VPN: CS-15820: Remove account information of vpn gateway and vpn connection
The owner would be always same as VPC owner.
2012-08-02 18:01:58 -07:00
Sheng Yang d4ce07779f S2S VPN: Allow name to be modified in updateCustomerGateway 2012-08-02 18:01:58 -07:00
Sheng Yang 0f603daff6 S2S VPN: CS-15472: Separate IKE lifetime and ESP lifetime 2012-08-02 18:01:58 -07:00
Alena Prokharchyk 863bce0171 VPC: createPrivateGateway - added cleanup part happening in case when the gateway fails to be applied on the backend 2012-08-02 17:57:43 -07:00
Alena Prokharchyk b05e6ba959 listVirtualMachines: implemented search by templateId/isoId 2012-08-02 15:40:20 -07:00
kishan 8c53b79cfe bug CS-15577: Added per gateway network usage for VPC 2012-08-02 17:14:57 +05:30
Alena Prokharchyk f80bfb35f5 VPC: CS-15798 - added vpc resource limit. Check vpc functional spec for more details:
http://wiki.cloudstack.org/display/RelOps/Inter-VLAN+Routing+functional+spec
2012-08-01 16:19:30 -07:00
Vijay fcb3076375 CS-15783 On a AutoScaleVmGroup creation, the asynchronous jobs cannot be listed momentorily.
This happened because of an assert to introduce the mapping between job
instance and instance id. Have done it in AsyncJobReponse. Also,updated
JobInstance type in VmGroup commands.
2012-08-01 08:24:51 +05:30
Alena Prokharchyk 21f2d1b779 VPC: moved vpc related code from NetworkManager to VpcManager 2012-07-31 16:58:14 -07:00
Alena Prokharchyk 6826dd16b5 VPC: reduced visability for some vpc related methods 2012-07-31 14:30:59 -07:00
Koushik Das 6bc1d1247a Fix for CS-15631
Support for up to 16 VDIs per VM on XS 6.0 and above (16 VDIs => root + cd + 14 data volumes). Currently in CS number of data disk that can be attached to VM is hard-coded to 6. Made this setting configurable by moving it to hypervisor capabilities. Although XS 6.0 and above supports upto 16 VDIs but while testing on XS 6.0.2 found that only 13 data volumes can be attached to a VM. So for XS 6.0 and 6.0.2 max_data_volumes_limit is set to 13 currently.
Reviewed-by: Nitin
2012-07-31 19:13:05 +05:30
Sheng Yang 768be1a69b S2S VPN: CS-15724: Show more parameter for listVpnCustomerGateways API 2012-07-30 15:48:31 -07:00
Pranav Saxena 07344c7643 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-31 02:06:04 +05:30
Pranav Saxena 2388bd8f82 CS-15044:API changes to provide UI option to view the list of instances which are part of the guestnetwork is not availble 2012-07-31 02:02:17 +05:30
Sheng Yang 82020668a6 S2S VPN: Remove obelete guest_ip from updateCustomerGateway 2012-07-30 11:10:42 -07:00
Koushik Das bb17d09e01 Support for local data disk (part 2)
- Zone level config to enable/disable local storage usage for service and disk offerings.
- Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
- Deploy VM command validates service and disk offerings based on local storage config.
- Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.

Reviewed-by: Abhi, Nitin
2012-07-30 13:59:14 +05:30
Likitha Shetty ddcb3d7b30 CS-14770. ec2-run-instances and ec2-describe-instances don't return keypair information.
Changing CS deployVirtualMachine and listVirtualMachine api response to include ssh keypair information.
Component: AWSAPI.
2012-07-30 11:50:04 +05:30
Vijayendra Bhamidipati b8211728e1 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-27 15:11:14 -07:00
Vijayendra Bhamidipati 62c11df4e9 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	1) With this commit in the series for this bug,
	removed all occurrances of db IDs being passed
	when raising InvalidParameterValueException.

	2) Renamed HyervisorTemplateAdapter.java to
	HypervisorTemplateAdapter.java.
2012-07-27 15:08:48 -07:00
Alena Prokharchyk 78a00c03e1 VPC: replaced vmTo object with vmName parameter in plug/unplugNic commands 2012-07-27 13:32:00 -07:00
Alena Prokharchyk 31bef94ee2 CS-15628: ip address id is required by createFirewallRule command 2012-07-26 13:31:04 -07:00
Vijay 2d1278096b CS-15695. AutoScale. Reviewed-By: Deepak. Making Enable/Disable AutoScaleVmGroups as asynchronous 2012-07-26 14:59:05 +05:30
Vijay 7b3a5aa492 CS-15689. Removing timeout during login to netscaler. 2012-07-26 11:38:38 +05:30
Sheng Yang cc35ea2be3 S2S VPN: CS-15650: Add connection status update to s2s vpn 2012-07-25 22:00:40 -07:00
Vijayendra Bhamidipati a0fa53ecd8 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	Removing more DB IDs from exception messages.
2012-07-25 18:39:48 -04:00
Koushik Das 266b8e5ee8 Support for local data disk (part 1)
Following changes are made:
- Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
- Create/delete of data volume on local storage
- Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
- Migration of VM instance is not supported if it uses local root or data volumes.
- Migrate is not supported for local volumes.

Reviewed-by: Abhi
2012-07-25 15:16:42 +05:30
Sheng Yang c4dff1e204 CS-15670: Allow normal users to configure S2S VPN 2012-07-24 19:44:27 -07:00
Alena Prokharchyk 2c24b7446e VPC: CS-15681 - execute VPC related methods only when router is a vpc router 2012-07-24 16:06:47 -07:00