Commit Graph

19678 Commits

Author SHA1 Message Date
Prasanna Santhanam 0a9b9f7944 Internal LB test refactored to use integration lib
Refactoring the internal lb test to use the marvin libraries. Also added
reqd methods for the internal lb related APIs into integration.lib

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 17:00:47 +05:30
Hiroaki KAWAI 78196384ae CLOUDSTACK-2758: touch file for tomcat6 package change CVS 2013-1976
catalina.out must be prepared by package installation.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 17:00:47 +05:30
Pranav Saxena 11a25b3b9a Providing acl id option while creating a tier 2013-06-05 16:42:31 +05:30
Pranav Saxena f4a7f12185 Passing vpcid to the listNetworkACLLists API while replacing an acl list 2013-06-05 16:26:47 +05:30
Pranav Saxena e8629c00fa not displaying acl id on the tier detail view 2013-06-05 16:19:05 +05:30
Koushik Das 9f18f1cb1c CLOUDSTACK-2812: Static NAT rules are created with same name and Destination IP Pool for each Public IP with which only one instance is reachable with both Static NATed IP's
For static NAT rule an IP pool gets created in VNMC. In order to make the pool name unique the rule id is appended. Since static NAT rules are not stored in CS db. like PF/FW rules, the id was always set to 0.
As a result the pool was always getting overridden everytime a static NAT rule is created. Fixed it by appending the public IP address id along with a character indicating that the pool is used for static NAT rule to the pool name.
2013-06-05 15:41:36 +05:30
Harikrishna Patnala 9fe7846d72 CLOUDSTACK-2728: 41-42 DB upgrade: add step to upgrade system templates 2013-06-05 15:14:04 +05:30
Murali Reddy 91b15711b6 CLOUDSTACK-2343: listGlobalLoadBalancerRules shouldn't list the
globalGSLBRules of other accounts

imposing ACL checks
2013-06-05 15:02:03 +05:30
Sanjay Tripathi 52a901099c CLOUDSTACK-2824: API:MS:Ability to delete events and alerts-Auto Purge for Alerts doesn't work 2013-06-05 14:37:11 +05:30
SrikanteswaraRao Talluri 4da995238b CLOUDSTACK-2783: FIXED listHypervisorCapabilities API response to include the following fields: 1. maxdatavolumes 2. maxhostspercluster 3. storagemotionenabled 2013-06-05 13:50:41 +05:30
Prasanna Santhanam f321acd06d Provide mock implementations of VPC network commands
Provide mock implementations for all network commands in the
MockNetworkManagerImpl of the simualtor

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:47:31 +05:30
Prasanna Santhanam da6f39b782 PlugNic and UnplugNic both call the method getVmName
Renaming the method in the command objects to be uniform with
PlugNicCommand/UnplugNicCommand.getVmName

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:37:42 +05:30
Prasanna Santhanam 5bfe2f99d7 Enable the bean for network manager
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:37:41 +05:30
Prasanna Santhanam b2dccf618f Removing unused simulator component library
And the components-simulator.xml configuration. Both are unused as we
use Spring injection now.

Remove unused rebootVM method

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:37:29 +05:30
Prasanna Santhanam 956a5967dd Pulling out Network operations into a separate manager
Network operations like VM, host and storage are pulled into a separate
managaer for simulator.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-05 12:23:07 +05:30
Murali Reddy 6a92f3b8ac CLOUDSTACK-2741: [GSLB] GSLB service doesn't come up if the LB rule
mapped to it is serviced by VR

For remote LB services that are not running on NetScaler, there needs to
be a LB monitor bound to GSLB service. Otherwise service is shown down.
This fix binds a LB monitor with GSLB services.
2013-06-05 12:10:36 +05:30
Jessica Wang 402cc917b9 CLOUDSTACK-2782: UI - zone wizard - add cluster step - remove obsolete code. 2013-06-04 16:20:34 -07:00
Jessica Wang 86c0e28c04 CLOUDSTACK-2029: UI - zone wizard - primary storage step - pass args.data.cluster.hypervisor to API when scope is zone-wide. 2013-06-04 16:11:23 -07:00
Brian Federle dfdb8a967e CLOUDSTACK-1742: Better text labels for secondary IP UI 2013-06-04 16:06:48 -07:00
Jessica Wang 782bf82744 CLOUDSTACK-2029: UI - zone wizard - primary storage step - scope dropdown - show zone-wide option when hypervisor is VMware or KVM. 2013-06-04 15:42:34 -07:00
Brian Federle e883526449 CLOUDSTACK-1763: Better confirm message for acquire NIC IP 2013-06-04 15:25:50 -07:00
Brian Federle 317c8e0606 CLOUDSTACK-2185: Display VM IP on PF multi-edit 2013-06-04 15:03:28 -07:00
Alena Prokharchyk 90df4e4df0 CLOUDSTACK-2840: get the latest information from the DB about the number of rules in non-revoked state for the ip address when figuring out if the internal lb vm needs to be destroyed. Instead of relying on the information passed down by the NetworkManager as the network manager might pass only rules in transition state omitting the Active rules 2013-06-04 14:41:23 -07:00
Jessica Wang 7e8d19963d CLOUDSTACK-2842: UI - fix a JS error "elems is undefined" when popping up a dialog box that has zone dropdown and there is no zone created yet. 2013-06-04 14:22:47 -07:00
Brian Federle 55148d90a8 CLOUDSTACK-2185: Display VM IP on static NAT detail page 2013-06-04 14:16:00 -07:00
Brian Federle e78fa02da3 VPC UI: Fix router 'top' alignment 2013-06-04 14:08:48 -07:00
Brian Federle c190b05057 CLOUDSTACK-2185: Allow custom 'ipaddr' argument when creating NIC IP 2013-06-04 14:04:43 -07:00
Jessica Wang 9f564fc77f CLOUDSTACK-747: internal LB in VPC - internalLB detailView - implement Delete Internal LB action. 2013-06-04 13:58:34 -07:00
Edison Su 5435495e18 fix build 2013-06-04 13:54:43 -07:00
Min Chen e92cd6d632 Move data store specific extract volume logic from VolumeManager to data
store driver.
2013-06-04 13:54:14 -07:00
Brian Federle d8f81fe14d CLOUDSTACK-2205: Hide egress tab for shared networks 2013-06-04 13:46:19 -07:00
Alena Prokharchyk 95c9835f69 CLOUDSTACK-2817: set SearchBuilder with the "scheme" attribute 2013-06-04 13:45:54 -07:00
Brian Federle 86c7274998 VPC UI: Fix padding/alignment 2013-06-04 13:37:28 -07:00
Brian Federle eaea724044 VPC UI: Fix dashboard totals for admin viewing user VPCs 2013-06-04 13:37:27 -07:00
Min Chen ef03d5a122 Move data store specific extract template/iso logic from
TemplateManager to data store driver.
2013-06-04 11:50:43 -07:00
Sheng Yang 4c1ace5e02 CLOUDSTACK-2775: Fix trunk port is not 1 on some hosts
Now searching for eth- or em- prefix, as the port for going outside.
2013-06-04 11:32:23 -07:00
Brian Federle 727c5bae9a VPC UI, chart: Tweak for better alignment 2013-06-04 10:45:52 -07:00
Brian Federle a3b3753da3 VPC UI, chart: Color connector lines for tiers w/ public network 2013-06-04 09:00:54 -07:00
Pranav Saxena 00715c9b86 Displaying ACL name as None if acl is not associated with a tier 2013-06-04 20:22:02 +05:30
Kishan Kavala b5148af0c6 CLOUDSTACK-2809: Assign acl_id to VPC tier only when NetworkACL service is supported 2013-06-04 20:08:26 +05:30
Murali Reddy cb595cafc7 CLOUDSTACK-2390:[GSLB] After removeFromGSLBRule, still CloudStack things
that lb rule is active

removing the GSLB rule to Lb rule mapping once rules are applied on the
GSLB service provider
2013-06-04 18:53:17 +05:30
Pranav Saxena ee3043b884 Changing drop box to textfield 2013-06-04 17:50:15 +05:30
Pranav Saxena 2a3cfe4b22 CLOUDSTACK-2782:UI Support to add VMware DC to CloudStack zone through the zone wizard 2013-06-04 16:58:32 +05:30
Abhinandan Prateek c8f143e3a7 bug CLOUDSTACK-2445: removed vm id from exception message 2013-06-04 16:11:40 +05:30
Radhika PC e0fa773c8e CLOUDSTACK-817 2013-06-04 16:07:36 +05:30
Radhika PC 01ff51d0f9 multiple ip edits 2013-06-04 15:01:20 +05:30
Prasanna Santhanam bc345e5520 CLOUDSTACK-2837 : InternalLoadBalancer greets Alena
Extraneous logs used while debugging. :)

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-04 14:26:40 +05:30
Prasanna Santhanam 25fac83326 developer pom is for developer environment
Naming the developer project to "Apache CloudStack developer mode"
instead of tools. Tools are cli, marvin, etc

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-04 14:26:40 +05:30
Prasanna Santhanam 0401774a09 StoragePoolForMigrationResponse -> StoragePoolResponse
The additional response type is basically the same as
StoragePoolResponse. Only additional state reported is whether the
storage pool is suitable for migration. Since this is fetched from
hypervisor capabilities there is no need for a new response type.

Tested with the simulator and I can see the response format correctly.

mysql> select * from hypervisor_capabilities where id=18\G
*************************** 1. row ***************************
                      id: 18
                    uuid: 98b88e6e-ccf1-11e2-bd2a-af89de8bd27e
         hypervisor_type: Simulator
      hypervisor_version: NULL
        max_guests_limit: 100
  security_group_enabled: 1
  max_data_volumes_limit: 100
   max_hosts_per_cluster: 100
storage_motion_supported: 1
     vm_snapshot_enabled: 1
1 row in set (0.00 sec)

CloudMonkey output as below:
> find storagepoolsformigration id=0a644f79-53dd-4eb6-a871-64679a47cfc6
count = 1
storagepool:
name = PS0
id = 7c07ec9b-a3c6-3466-ab5a-f5669ead0b22
clusterid = 71fb5c34-4852-46e6-bb8f-c9da4e8f827c
clustername = C0
created = 2013-06-04T14:06:55+0530
disksizeallocated = 0
disksizetotal = 1099511627776
disksizeused = 0
ipaddress = 10.147.28.6
jobstatus = 0
path = /export/home/sandbox/primary0
podid = 560d9600-35dd-4a50-addd-81d5618536e9
podname = POD0
scope = CLUSTER
state = Up
suitableformigration = True
type = NetworkFilesystem
zoneid = 3108f711-0db6-4dad-a0d0-2fd7d413e5ef
zonename = Sandbox-simulator

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-04 14:26:40 +05:30
Bharat Kumar d58c0c4d11 Cloudstack-2736 [Multiple_IP_Ranges] Failed to deploy vm with IP address from new CIDR
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2013-06-04 14:19:57 +05:30