Commit Graph

5285 Commits

Author SHA1 Message Date
Sheng Yang d2643c0fdf CS-15574: Delete VPN gateway and connection when deleting VPC 2012-07-17 18:06:15 -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 3994d8427c VPC: fixed listPublicIpAddresses for the addresses with NULL network_id 2012-07-17 17:10:08 -07:00
Alena Prokharchyk 97a142c0fc Fixed unittest 2012-07-17 15:46:44 -07:00
Alena Prokharchyk 0fdf1a1d8a Resource tags: CS-15591 - delete tags for template/iso when corresponding vo object is removed 2012-07-16 14:36:47 -07:00
Alena Prokharchyk d7214db5ae VPC: CS-15583 - hostName for the vm should be unique inside the network domain 2012-07-16 13:40:28 -07:00
Alena Prokharchyk 0575b83ec0 VPC: CS-15598 - update ipVO object after getting system ip as a part of elastic LB 2012-07-16 11:26:16 -07:00
anthony 2557315a5a VPC: CS-15580 - don't allow gateway for VPC guest network to be equal to the cidr broadcast ip 2012-07-13 18:20:30 -07:00
Alena Prokharchyk b145029718 VPC: CS-15580 - don't allow gateway for VPC guest network to be equal to the cidr subnet 2012-07-13 17:06:10 -07:00
Alena Prokharchyk c17bca4088 CS-15579 - perform check when account/domainId is passed to list call by the regular user 2012-07-13 15:57:33 -07:00
Vijayendra Bhamidipati 695db226af Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-13 13:44:33 -07:00
Vijayendra Bhamidipati b14cebbe68 CS-15556: [NS Autoscale] System VMs not coming up in Basic zone EIP ELB offering
Description:

	Removing a reference to user_vm table when populating a system VM
	id in an exception. Undoing change committed earlier as part of
	Bug CS-15217.
2012-07-13 13:44:10 -07:00
Alena Prokharchyk f9552f4707 VPC: CS-15562 - get info about VR's guest networks from nics table 2012-07-13 13:06:36 -07:00
Alena Prokharchyk 34066935c0 VPC: CS-15564 - when send the rules to the backend, form the list of rules after the rules were marked with Revoke state 2012-07-13 12:48:51 -07:00
Alena Prokharchyk ab418176ef VPC: CS-15569/CS-15568 - release ip address from VPC when fail to enable static nat 2012-07-13 10:37:09 -07:00
Koushik Das 1bcb9afa89 Fix for CS-15279.
Issue happens when ROOT volume gets created and there is subsequent failure in starting the VM. During retry if allocator assigns a different storage pool the scenario was not handled. Now in case of local storage the volume get recreated on the newly assigned pool and old one gets cleaned up. In case of shared storage the existing volume is migrated to new storage pool.

Reviewed-by: Prachi, Edison, Nitin
2012-07-13 11:13:00 +05:30
Vijayendra Bhamidipati 7ef5f314ee CS-15526: Failed to create a guest network for basic zone.
Description:

	vlanId isn't a db ID, so removing its inclusion
	in an IdentityProxy object when throwing an
	exception. It's a string, so it was causing
	problems since it was being converted to a Long.
2012-07-12 17:36:12 -07:00
anthony 970bdb3972 CS-15551 : if 'xen.check.hvm' is false, don't check template hvm in allocator 2012-07-12 11:17:13 -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
Vijayendra Bhamidipati 05c910ca5c CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	Removing DB IDs from exception messages.
2012-07-11 20:57:09 -07:00
Vijayendra Bhamidipati a0f6cb47f1 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	Removing DB IDs from exception messages.
2012-07-11 19:52:56 -07:00
Alena Prokharchyk fcd9c0c368 VPC: CS-15550 - fixed listVPCs by cidr 2012-07-11 19:10:48 -07:00
Vijayendra Bhamidipati c5be9daa95 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-11 18:34:00 -07:00
Edison Su 79bb22c942 CS-15544,fixed 2012-07-11 16:01:07 -07:00
Vijayendra Bhamidipati 1e407f62ad Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-11 15:52:55 -07:00
Alena Prokharchyk 9fe68fc4a9 VPC: mark gateway with Deleting state when all static routes are gone 2012-07-11 15:48:29 -07:00
Vijayendra Bhamidipati f2c8a59983 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-11 15:46:17 -07:00
Alena Prokharchyk be4185338f VPC: CS-15548 - don't plug the nic for guest network to router when network not in Implemented state 2012-07-11 15:04:34 -07:00
Alena Prokharchyk a0a0113b51 VPC: fixed listStaticRoutes when search by gatewayId 2012-07-11 14:51:19 -07:00
Alena Prokharchyk 1a3a899d59 VPC: fixed logging 2012-07-11 14:51:19 -07:00
Alena Prokharchyk c44af15cd6 VPC: added State to vpc_gateways 2012-07-11 11:53:30 -07:00
Alena Prokharchyk b8b7d06f15 VPC: don't send staticRoutes in Revoke state to the VPC VR 2012-07-11 10:51:20 -07:00
Koushik Das d4d1b1c5a9 Revert "Fix for CS-15345". This issue was caused due some bug in VPC related cleanup code. The bug got fixed as part of 3caffc7855, so this is no longer needed.
This reverts commit a8c1568b37.
2012-07-11 14:19:29 +05:30
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
Alena Prokharchyk a3424cf8a0 VPC: add vm to network - no need to prepare nic when add vm in Stopped state to the network; the nic will be prepared once the vm starts up 2012-07-10 18:02:44 -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
Sheng Yang 8212de6f94 CS-15513: Fix group 5 of s2s vpn 2012-07-10 10:31:25 -07:00
Alena Prokharchyk 08b9b3bc5b VPC: CS-15505 - allocate guest nics when new VR starts in VPC 2012-07-09 18:08:44 -07:00
Sheng Yang a87a0619c2 S2S VPN: Add state for vpn connection response 2012-07-09 16:54:40 -07:00
Alena Prokharchyk e8658c9525 VPC: CS-15481: don't allow creating networkACLs for overlapping cidrs/ports 2012-07-09 16:24:44 -07:00
Alena Prokharchyk 9c9b7ee299 CS-15503: don't send Ips in Releasing state as a part of VPC VR start 2012-07-09 15:30:50 -07:00
Alena Prokharchyk fe958786b5 CS-15459: fixed listTags by resourceType 2012-07-09 14:58:11 -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
Alena Prokharchyk 03138dee07 listPublicIpAddresses api: don't set associatedWithNetworkId if corresponding field is null in the DB 2012-07-09 10:11:29 -07:00
Alena Prokharchyk 98f8e70ca9 VPC: CS-15486 - prepare public nic as a part of VR deployment 2012-07-09 10:11:29 -07:00