Commit Graph

1836 Commits

Author SHA1 Message Date
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
Alena Prokharchyk 2cca73daef VPC: applyStaticRoutes - don't exclude static routes in Revoke state 2012-08-02 18:42:35 -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 967ff1141b VPC: CS-15818 - don't allow having ICMP networkACLs with the same cidr and icmpType=-1 for rule1 and icmpType!=-1 for rule 2 as the rule1 covers rule2 in this case 2012-08-02 17:06:31 -07:00
Alena Prokharchyk b526affe01 Revert "CS-15398: Fix for dns issue in multiple pods"
This reverts commit dd4e19c16f.
2012-08-02 15:53:31 -07:00
Alena Prokharchyk a3b00a7535 VPC: CS-15821 - corrected mac address format for vpc private network 2012-08-02 14:52:04 -07:00
Murali Reddy f64a52a3f9 bug CS-15654 Restarting guest network fails with exception
in basic zone when NetScaler is providing EIP and ELB services, NetscalerElement should
 have no action to take on implement and shutdown of the network
2012-08-02 18:51:42 +05:30
kishan 8c53b79cfe bug CS-15577: Added per gateway network usage for VPC 2012-08-02 17:14:57 +05:30
Vijay d027a0f705 CS-15781. AutoScale.
During update of Autoscale VM Group, the interval is
checked for validity against existing policies in the group as well.
2012-08-02 14:22:15 +05:30
Jayapal dd4e19c16f CS-15398: Fix for dns issue in multiple pods 2012-08-02 12:40:39 +05:30
Alena Prokharchyk 3e9eea42f0 VPC: CS-15813 - ICMP type and code validation 2012-08-01 19:49:45 -07:00
Alena Prokharchyk f47d3f7b59 VPC: CS-15805 - verify vpc guest network cidr only against networks in the same vpc 2012-08-01 17:59:36 -07:00
Alena Prokharchyk 41655c0395 VPC: CS-15811 - removed Netscaler from the list of supported providers in VPC 2012-08-01 16:47:05 -07:00
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
Sheng Yang 4ddc002764 S2S VPN: CS-15810: Add check for customer gateway subnets / VPC CIDR overlap 2012-08-01 15:29:36 -07:00
Alena Prokharchyk 751ebce589 VPC: CS-15791 - allow having the same NetworkACL for 2 different protocols 2012-08-01 15:25:06 -07:00
Alena Prokharchyk 9630cf574f Fixed numerous bugs in listNetworks call related to filtering by projectId/listAll/domainId/etc. All the rules below are followed now:
1) When account/domainId or projectId are passed in:

* list all account specific networks of the account/project
* list all domain level networks from the domainId + subdomains if the targeted network has allowSubdomainAccess = true

In other words, we use all the networks that can be used for vm deployment by account/domainId.

If listAll is not specified in the request, account/domainId are being defaulted to the account/domainId of the caller
listAll is ignored if the call is being done by the regular user.

2) listAll is passed in by the Root admin, we list:

* all Account specific networks in the system
* all domain specific networks in the system

3) listAll is passed by the Domain admin, we list:

* All Account specific networks belonging to domain/subdomains of the domain admin.
* All domain specific networks belonging to domain/subdomains of the domain admin
* All domain specific networks allowing subdomain access belonging to the parent domain.

4) domainId - can be passed either with or without listAll. We list:

* all account specific networks belonging to the domain
* all domain specific networks of the domain
* all domain specific networks of the subdomains if isRecursive = true is passed in
2012-08-01 14:47:50 -07:00
Deepak Garg 3b3c62d5cc CS-15744. Fixed the error message 2012-08-01 12:25:02 +05:30
Deepak Garg cb0bcfa63a CS-15745. Fixed the maxmembers variable 2012-08-01 12:20:16 +05:30
Vijay a0d6dd4ad3 CS-15788 Update of AutoScale Vm Profile is failing when the vm group's state is in disabled state.
Corrected the check on path of updateAutoScaleVmProfile.
2012-08-01 08:24:53 +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
Alena Prokharchyk da8c8e9922 VPC: CS-15774 - VPC and guest networks of VPC should belong to the same zone 2012-07-31 10:37:47 -07:00
Alena Prokharchyk e4eb0c3a1b Fixed listNetworks to return domain level networks when listAll is passed to the request 2012-07-31 10:21:07 -07:00
Sheng Yang 768be1a69b S2S VPN: CS-15724: Show more parameter for listVpnCustomerGateways API 2012-07-30 15:48:31 -07:00
Sheng Yang 6948902b75 S2S VPN: CS-15748: Deleting customer vpn gateway when delete account 2012-07-30 15:16:17 -07:00
Alena Prokharchyk ba2c05cc55 Allow EIP/ELB network creation only in Basic zone 2012-07-30 14:26:19 -07:00
Alena Prokharchyk d467ff8a49 CS-15743: disable static nat as a part of network resources cleanup 2012-07-30 10:53:01 -07:00
Sheng Yang 65ef8b24c1 CS-15730: Prohibit create VPN connection from different gateway to same customer gateway 2012-07-27 17:41:22 -07:00
Vijayendra Bhamidipati 774e73dae3 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-27 15:38:56 -07:00
Alena Prokharchyk 984f9290ae CS-15717: fail to delete the network when corresponding network elements fail to be destroyed 2012-07-27 15:33:28 -07:00
Sheng Yang 260422de07 CS-15704: Fix wrong domain id setting of non-root domain 2012-07-27 15:31:52 -07:00
Vijayendra Bhamidipati b6e70f2281 CS-15217: Security: Malicious user is able to get the size of the cloud by enumerating IDs
Description:

	New 3.0.x merge included a new instance of InvalidParameterValue exception
	being raised. Fixing it.
2012-07-27 15:15:32 -07:00
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 c0b58130d3 VPC: CS-15725 - don't allow regular offering upgrade to the offering that can be used inside vpc only 2012-07-27 13:32:00 -07:00
Alena Prokharchyk 78a00c03e1 VPC: replaced vmTo object with vmName parameter in plug/unplugNic commands 2012-07-27 13:32:00 -07:00
Vijay 57b1783764 CS-15729. AutoScale. Default counter names are corrected to valid values without special characters 2012-07-27 21:00:03 +05:30
Alena Prokharchyk ecd8450ab6 Added missing action events for enable/disable static nat 2012-07-26 15:26:53 -07:00
Alena Prokharchyk 5eb87e99ff VPC: added global configuration for limiting number of networks per vpc (vpc.max.networks) 2012-07-26 14:05:56 -07:00
Alena Prokharchyk 20b6b36302 VPC:
1) CS-15692 - ipAddress is always null for NetworkACL rule
2) CS-15699 - redundant router = true when provider is VirtualRouter
3) CS-15701 - fixed error message
2012-07-26 10:15:35 -07:00
Sheng Yang cc35ea2be3 S2S VPN: CS-15650: Add connection status update to s2s vpn 2012-07-25 22:00:40 -07:00
Sheng Yang 517c9af7c9 S2S VPN: Add list function for normal users 2012-07-25 18:59:49 -07:00
Vijayendra Bhamidipati 3b13c47e38 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-25 18:43:21 -04: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
Alena Prokharchyk 8cfc3c4775 Bug 14875: fixed listNetworks by domainId/aclType=Domain 2012-07-25 14:48:08 -07:00
Alena Prokharchyk f6041de179 VPC: added vif info to ipassoc command 2012-07-25 13:03:40 -07:00
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
Sheng Yang eeaee286a1 S2S VPN: Fix incorrect conn returned by resetVpnConnection cmd 2012-07-24 13:02:29 -07:00
Sheng Yang f1dbdedfa9 S2S VPN: Add name field for customer gateway
Easier for user to identify the correct gateway
2012-07-24 13:02:24 -07:00
Sheng Yang 9da29e7f77 CS-15676: Fix NPE when stop non-VPC router 2012-07-24 11:42:36 -07:00
Vijay 04b51bb6ba AutoScale.
NetScaler changes for deleteAutoScaleVmGroup and min/max member
    policies - Tested
    Introducing apikey/sharedsecret/csurl empty checks as well
    Introducing the autoscale change sheet that got deleted during the merge
2012-07-24 19:25:22 +05:30
Vijay 62082b0de6 Resetting unwanted files similar to 3.0.x 2012-07-24 10:45:25 +05:30
Vijay 629053d2f1 AutoScale. Catching an odd case to get rid of null pointer exception 2012-07-24 10:02:45 +05:30
Deepak Garg edcd8e7394 Checking success in deleteCounter 2012-07-24 10:02:39 +05:30
Vijay 30cb0e74d2 AutoScale. ALenas Final Review Comments. 2nd Cut. Remove csurl from profile, 2012-07-24 10:02:29 +05:30
Vijay f9bcf3186c AutoScale. Enabling AutoScale to go to the Resource.
Tested the reachability for Basic Network.
Fixing compile error introduced due to a89919ce2ffd9a0a99f1810aeaa0488b0805f665
2012-07-24 10:01:22 +05:30
Deepak Garg a96df19b68 Improved logging in AutoScale APIs 2012-07-24 10:01:19 +05:30
Deepak Garg 349ab92ffc Added more logging to AutoScale Vm Group 2012-07-24 10:01:13 +05:30
Deepak Garg 05e46cfd31 Added more params to UpdateAutoScaleVmProfileCmd 2012-07-24 10:00:42 +05:30
Vijay 09adc78196 AutoScale. Removed checks for no parameters in update command. 2012-07-24 10:00:40 +05:30
Vijay deb70ad200 AutoScale. Enabled Update commands with UnitTesting. Introduced and tested capability for NetScaler 2012-07-24 10:00:37 +05:30
Deepak Garg a4a15aa737 Work around for CS-15556 2012-07-24 10:00:26 +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
Vijay 19a2f4ab66 AutoScale. Introducing caller in getEntityInDatabase 2012-07-24 09:59:12 +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
Deepak Garg 1c960c0b34 Fixed event type in deleteCondition 2012-07-24 09:57:30 +05:30
Deepak Garg 10a58fdef2 CS-15592 Fixed the quiettime parameter check 2012-07-24 09:57:28 +05:30
Deepak Garg 4ee6ed6afb CS-15589 Fixed the invalid counter exception 2012-07-24 09:57:26 +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
Sheng Yang 4dddd76e95 CS-15534: Mark VPN connection as Disconnected when rebootRouter 2012-07-23 21:07:49 -07:00
Sheng Yang 6e571d28df S2S VPN: Add check for router status before apply vpn 2012-07-23 19:53:06 -07:00
Alena Prokharchyk 22826032b4 VPC: CS-15668 - IpAssoc: unplug the nics before pluggning new ones 2012-07-23 16:18:49 -07:00
Alena Prokharchyk cec0ea54ec Resource tags: CS-15647 - delete resource tags when SG is expunged 2012-07-23 10:32:56 -07:00
Alena Prokharchyk 49199d0022 VPC: when VPC router gets destroyed and recreated, plug public nic for each Vlan where VPC public ips belong to 2012-07-20 16:28:43 -07:00
prachi 2a97fdae64 Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-07-20 15:39:43 -07:00
prachi c581d8b820 CS-15586: Public Vlan for an account fails in case of multiple Physical networks
Changes:
- Since Now a zone can have multiple physical networks, we need to find the physical network Id from the networkOffering's tag and zoneId and trafficType when we create a guest network
2012-07-20 15:39:26 -07:00
Alena Prokharchyk 04ed3884d0 CS-15622: always get router info from the DB 2012-07-20 14:35:39 -07:00
Alena Prokharchyk aa6ee7c506 VPC: one more fix for multiple public nic case for the VPC VR 2012-07-20 14:08:00 -07:00
Alena Prokharchyk c0fb2fece9 VPC: CS-15638: Plug nic for the public ip address if the ip address from the diff vlan range than sourceNat ip 2012-07-20 13:25:09 -07:00
Alena Prokharchyk f243765758 304-305 DB upgrade: upgrade for VPC and resourceTags feature 2012-07-19 16:54:00 -07:00
Alena Prokharchyk 6224423ecc More logging to the VirtualRouter manager 2012-07-19 14:02:04 -07:00
prachi ff8acfa50a CS-15404 [2.2.14 to 3.0.4 upgrade] After upgrade cloud.physical_network.id starts from 200 which is not the case with fresh installation
Reviewed-By: Alena

Changes:
- We need to set the id while creating physical network entry.
2012-07-18 16:49:05 -07:00
prachi a8fd70fe0a Bug 14773 - VM's are unable to start after upgrade from 2.2.14 to 3.0.3
Reviewed-By: Alena P.

Changes:
- Added upgrade path to 304. This would check the missing portions of the previous upgrades and try to correct.
- This will check if the setup has multiple physical networks with Guest traffic type. If yes then:
- Check if the previous upgrade has left behind any guest networks that were untagged in 2.2.14. For such networks, add a new physical network
- Check if the multiple physical network has tags. If no add tag and clone the network offerings for the networks on this physical network and add this tag to them
- Also clone the network offering service map.
- Thus this creates copies of offerings for each physical network.
2012-07-18 16:32:23 -07:00
Alena Prokharchyk 9bebe245ca More logging on nic release 2012-07-18 10:59:07 -07:00
Sheng Yang 3dca5a8689 CS-15615: Fix Site2SiteVpnService injection 2012-07-18 09:58:14 -07:00
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 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