Commit Graph

18236 Commits

Author SHA1 Message Date
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
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
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
Radhika PC ba2687c238 href error fixed 2013-06-04 11:45:45 +05:30
Radhika PC 13eaa9a5b8 CLOUDSTACK-847 2013-06-04 11:32:23 +05:30
Pranav Saxena cc2091078d Legacy zone validation changes 2013-06-04 10:30:25 +05:30
Pranav Saxena 15c2c212f7 Changing the CSS object names for dedicate/release action items 2013-06-04 10:18:29 +05:30
Brian Federle e71a54b3a9 VPC UI: Add tier connector lines to chart
On VPC chart, connect router to tier networks via graph lines.
2013-06-03 17:05:42 -07:00
Jessica Wang 84634d4cf6 CLOUDSTACK-2782: UI - Infrastructure menu - zone detail page - rename action name to be more clear. 2013-06-03 16:45:49 -07:00
Jessica Wang 5a525211de CLOUDSTACK-2782: UI - Infrastructure menu - zone detail page - implement Remove VMWare DC action. 2013-06-03 16:37:38 -07:00
Jessica Wang bfe05acd95 CLOUDSTACK-2782: UI - Infrastructure menu - zone detail page - add new action Add VMWare DC. 2013-06-03 16:28:09 -07:00
Marcus Sorensen ddfdc9af63 KVM - Don't fail to start due to old VM definition. On rare occasion we see
inactive VM definitions block a new VM starting. Definitions aren't supposed to
be persistent, but sometimes a crash or failed migration can leave behind a
definition.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1370299734 -0600
2013-06-03 16:48:54 -06:00
Jessica Wang b325f7d3bd CLOUDSTACK-2744: UI - create network offering dialog - when VPC checkbox is unchecked and LB service is checked, provider option InternalLbVm should be disabled. 2013-06-03 12:32:08 -07:00
Brian Federle acc71fb735 CLOUDSTACK-766: Support assigning VLAN ID to network
On add network form, if selected network offering has
specifyVlan=true, show VLAN text field.
2013-06-03 11:45:28 -07:00
Jessica Wang 24d6055177 CLOUDSTACK-2744: UI - create network offering dialog - when LB Type is selected as PublicLb, hide internalLbVm from provider list. 2013-06-03 11:25:42 -07:00