4156 Commits

Author SHA1 Message Date
Murali Reddy
c9b2031fa9 changes in add/configure API commands for F5 & Netscaler for UI integration 2011-11-21 13:31:54 -08:00
Alena Prokharchyk
d67bef8e78 Owner of the network is system if the network is shared to Domain 2011-11-21 11:52:40 -08:00
Nitin Mehta
ec3a00a230 bug 10281: Template/ISO APIs should throw an exception in failure case for the events to be registered as failure.
Reviewed by : Kishan.

status 10281: resolved fixed
2011-11-21 18:58:06 +05:30
Nitin Mehta
57aa7dec91 bug 11811: Changing permissions for extraction of volumes based out of isos.
As per the new design following would be done.
(a) any ISO-derived disk can be extracted
(b) there will be a global config to disable  extraction of ISO based volumes.
That way people concerned about (a) can just use (b) to fix it.
Reviewed by : Kishan.

status 11811: resolved fixed
2011-11-21 16:58:09 +05:30
prachi
4531c9d6f7 Bug 12082 - Not able to deploy Vms with Host tags.
After recent changes of AgentManager, HostDao was wrongly referring to getState() instead of getResourceState().
Fixed this to refer to getResourceState(). This should fix the IndexOutOfBounds error.
2011-11-18 19:03:12 -08:00
Kelven Yang
061ff36434 bug 11814: TemplateResponse now returns template details info 2011-11-18 16:40:32 -08:00
Kelven Yang
a59658177d bug 11814: connect template and instance details data when sending command to resource 2011-11-18 16:40:31 -08:00
Alena Prokharchyk
bc544d31e7 listPublicIpAddresses by associatedNetworkId 2011-11-18 15:57:01 -08:00
Alena Prokharchyk
1871de3048 bug 11853: better error message when try to add VPN user with duplicated user name
status 11853: resolved fixed
2011-11-18 15:49:18 -08:00
frank
dd9465c592 Bug 12078 - pxe config file not being sent down (edit)
fix in acton
2011-11-18 15:39:22 -08:00
Alena Prokharchyk
5ea4133d7b createNetworkOffering: verify that individual services can be enabled for each provider specified for the network offering 2011-11-18 14:46:10 -08:00
Alex Huang
c6dc4f8435 merge changes 2011-11-18 14:29:01 -08:00
Alex Huang
84d5f0514e Changed network tags to network name as we no longer need to send the entire network tags down to the resource. 2011-11-18 14:28:16 -08:00
frank
5d6653224b directly search ssvm in host table when sending SecStorageFirewallCfgCommand 2011-11-18 13:59:17 -08:00
Alena Prokharchyk
71ff88f211 bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
status 12067: resolved fixed

Conflicts:

	server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
	server/src/com/cloud/upgrade/PremiumDatabaseUpgradeChecker.java
	setup/db/create-schema.sql
2011-11-18 13:44:59 -08:00
prachi
b8b08555e6 Removing garbled characters. 2011-11-18 13:35:48 -08:00
prachi
0ebca4cdf8 AddNetworkServiceProvider should check if the services specified are provided by the provider to be added. 2011-11-18 13:07:50 -08:00
Murali Reddy
eee79d56a3 permit adding external devices when service provider is in disabled state 2011-11-18 11:10:08 -08:00
Abhinandan Prateek
489847fcb7 bug 11867: split the host details into [all, capacity, events, stats, min] 2011-11-18 18:07:05 +05:30
Nitin Mehta
fc261e70f7 bug 11996: Improve logging and catch throwable to make it robust.
status 11996: resolved fixed
2011-11-18 12:22:50 +05:30
Abhinandan Prateek
8d61329fdc fixing a typo 2011-11-18 11:30:58 +05:30
Alena Prokharchyk
2917bc686b Fixed the typo 2011-11-17 20:11:37 -08:00
prachi
313e6ca284 Bug 8791 user dispersing allocator
Changes:
- Added a two new deployment planners  'UserDispersingPlanner' and 'UserConcentratedPodPlanner' to the DeploymentPlanners
- Planner can be chosen by setting the global config variable 'vm.allocation.algorithm' to either of the following values:
('random', 'firstfit', 'userdispersing', 'userconcentratedpod')
- By default, the value is 'random'. When the value is 'random', FirstFitPlanner is invoked as before that shuffles the resource lists.
- Now Admin can choose whether the deployment heuristic should be applied starting at cluster or pod level. This can be done by using the
global config variable 'apply.allocation.algorithm.to.pods' which is false by default. Thus by default as earlier, planner starts at clusters directly.

'UserConcentratedPodPlanner' changes:
- Earlier to 3.0, FirstFitPlanner used to reorder the clusters in case this heuristic was chosen.
- Now this is done by a separate planner and is applied only when 'vm.allocation.algorithm' is set to this planner
- It reorders the capacity based clusters/pods such that those pods having more number of Running Vms for the given account are tried first.
- Note that this userconcentration is applied only to pods and clusters. Not to hosts or storagepools within a cluster.

'UserDispersingPlanner' changes:
- 'UserDispersingPlanner' reorders the capacity ordered pods and clusters based on number of 'Running' VMs for the given account in ascending order. Aim is to choose thodes pods/clusters first which have less number of Running VMs for the given account
- Admin can provide weights to capacity and user dispersion so that both parameters get considered in reordering the pods/clusters. This can be done by setting
the global config parameter 'vm.user.dispersion.weight'. Default value is 1. Thus if this planner is chosen, by default, ordering will be done only by number of Running Vms, unless the weight is changed.
- HostAlllocators and StoragePoolAllocators also reorder the hosts and pools by ascending order of number of Running VMS/ Ready Volumes respectively for the given account. Thus try to choose that host or pool within a cluster with less number of VMs for the account.
2011-11-17 18:29:39 -08:00
Alena Prokharchyk
d0cdc451db bug 11193: throw insufficientCapacityException when run out of link local ip addresses
status 11193: resolved fixed
2011-11-17 17:35:04 -08:00
Murali Reddy
4bdcddf96c fixed bug in addSrxFirewallCmd API 2011-11-17 17:22:14 -08:00
Alena Prokharchyk
337c07c0d1 Default gateway service to sourceNat service in the API 2011-11-17 16:28:10 -08:00
Alena Prokharchyk
0a10e32d69 Fixed test client 2011-11-17 16:25:54 -08:00
Sheng Yang
7724bac41b NaaS: Separate DNS service from DHCP service of virtual router
If virtual router provide DHCP but not DNS service, the DHCP response would
contained DNS server address rather than domr itself's address. Then user VM
would use specified DNS server directly.
2011-11-17 16:19:03 -08:00
Alena Prokharchyk
5571afa471 Virtual router elements: prepare nics only when VirtualRouter is a provider for at least one service in the network 2011-11-17 14:33:22 -08:00
Alena Prokharchyk
0bb325ac12 Call implement() and shutdown() methods for providers only when the provider serves a service for the network 2011-11-17 13:53:53 -08:00
Sheng Yang
cb6c1424ef NaaS: Add virtual router state check for virtual router element 2011-11-17 13:42:29 -08:00
prachi
b0cdb86d9e Merging listSupportedNetworkServices and listSupportedNetworkServiceProviders.
listSupportedNetworkServiceProviders returs list of services with providers and capabilities of each service.
It supports 2 parameters:
-service : list providers and capabilities of this service
-provider: list services of this provider
- if none is specified, lists all services supported
2011-11-17 12:54:31 -08:00
Sheng Yang
cdd8d741ca NaaS: Add redundant router capability to virtual router 2011-11-17 11:33:04 -08:00
Abhi
9086a39bda bug 11910: avoid Starting to Running state changes during full sync, as the VM startup process does not like it 2011-11-17 14:32:56 +05:30
Murali Reddy
37908d2669 fixing bug in provider verify logic of SRX element 2011-11-16 18:23:09 -08:00
Alena Prokharchyk
1fadde2082 Fixed bug in list domain level networks 2011-11-16 15:07:24 -08:00
Alena Prokharchyk
790b33bdfc More validation to network and network offering creation/upgrade 2011-11-16 14:53:38 -08:00
Murali Reddy
cbc72f3ef7 adding service capabities to network offering response 2011-11-16 13:43:09 -08:00
Alena Prokharchyk
450b19532a Fixed unit test 2011-11-16 13:20:53 -08:00
Sheng Yang
d4b1732ff4 NaaS: Fix redundant virtual router 2011-11-16 11:30:09 -08:00
Alena Prokharchyk
339e72d414 Introduced "supportedServices" parameter to createNetworkOffering API. This parameter replaces old parameters: dhcpService, gatewayService, etc. 2011-11-16 11:17:07 -08:00
Murali Reddy
75121bd762 bug 11817 : NAAS external networking device support
- added pluggable (service) API's for managing F5 and SRX devices
2011-11-16 10:53:22 -08:00
Murali Reddy
f347158beb NAAS:fixed provider network element mapping for F5 & netscaler and permit device add when provider in disabled state 2011-11-15 17:29:18 -08:00
Sheng Yang
3aef381b37 NaaS: Add service provider to server-setup.xml 2011-11-15 17:09:55 -08:00
Edison Su
b2a5e26c06 bug 10792: add default system wide firewall rule
status 10792: resolved fixed
2011-11-15 16:51:30 -08:00
Alena Prokharchyk
03eb3c9037 Removed unused imports 2011-11-15 16:42:26 -08:00
Kelven Yang
16530b532f Make XML serializer support all fields within the class tree 2011-11-15 15:01:47 -08:00
Kelven Yang
277c60e4f6 bug 11814: Allow template to have details info in key/value pairs. 2011-11-15 15:01:46 -08:00
Murali Reddy
0b05badaaa bug 11817: NAAS external network device support
-made Netscaler, SRX, F5 network elements as pluggable service
   -added abstract load balancer device manager ExternaLoadBalancerDeviceManager
   -made both F5 and Netscaler pluggable service to extend ExternaLoadBalancerDeviceManager
   -added abstract firewall device manager ExternalFirewallDeviceManager
   -made SRX pluugable service to extende ExternalFirewallDeviceManager
   -added API's to configure and manage netscaler devices
2011-11-15 12:18:59 -08:00
Alena Prokharchyk
bb2a8cf7ea NaaS: added "subdomainAccess" parameter to domain level network object. The parameter defines whether the network can be accessed from the subdomains. If the parameter is not specified, it would be defaulted to allow.subdomain.network.access Global Config param 2011-11-14 18:13:47 -08:00