Commit Graph

256 Commits

Author SHA1 Message Date
Jessica Wang 58de6d43ee cloudstack 3.0 UI - VPC - localize Configure VPC Chart (Reviewed-by: Brian) 2012-08-29 13:26:44 -07:00
Jessica Wang 9e4a5dfca1 cloudstack 3.0 UI - VPC widget - localize text (Reviewed-by: Brian) 2012-08-28 15:41:23 -07:00
Brian Federle 2f69d12459 CS-16196: Fix VM wizard network selects
-Fixes case where 1 existing network is present, but cannot be
 unchecked when 'add new network' is checked

-Fixes regression with multiple networks and VPC tiers present, where
 unchecking all regular networks will select the hidden VPC network

reviewed-by: jessica
2012-08-28 13:50:00 -07:00
Brian Federle 3095f51d81 CS-16138: Fix instance wizard 'add network' radio button
When no guest networks are present but VPC tier is, fix 'add new
network' radio button being unselected.

reviewed-by: jessica
2012-08-22 15:24:19 -07:00
Jessica Wang d156a122de cloudstack 3.0 UI - VPC feature - fix a bug that shortLabel was not localizable. (Reviewed-by: Brian) 2012-08-21 16:46:04 -07:00
Brian Federle 463257dcec VPC UI: Network ACL: Only show 'acl' tab on detail view
reviewed-by: jessica
2012-08-21 13:12:26 -07:00
Brian Federle 1bd532d13b CS-16085: Fix networks checkboxes
When both VPC and isolated networks are present, fix case where
unchecking first isolated networks triggers checkbox for VPC tier
network, thus making it appear as if no network is selected.

reviewed-by: jessica
2012-08-20 14:57:58 -07:00
Pranav Saxena 8ec4e23194 Autoscale UI changes as suggested during demo 2012-08-18 14:17:11 +05:30
Brian Federle ece2f03946 CS-16001: Show router details on click of 'virtual router'
Clicking the 'Virtual Router' button will show the same router tab as seen on
the VPC detail view.

 -- Note that this is only clickable for admins, as users cannot view router
      details in the API.
2012-08-16 12:34:05 -07:00
Jessica Wang 09bd57cff2 CS-15977: cloudstack 3.0 UI - VM Wizard - select network step (5th step) - if there is no visible network in Existing Networks Area, check checkbox in Add Network Area. 2012-08-14 15:52:04 -07:00
Brian Federle 945edac370 CS-15796: Disable security group dropdown when in advanced zone 2012-08-14 11:08:48 -07:00
Pranav Saxena 92513db2ba ACL restructuring labels renaming 2012-08-13 14:30:45 +05:30
Pranav Saxena dc41de5e6c UI changes for ACL 2012-08-13 14:05:24 +05:30
Brian Federle 5ff964de72 VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 12:58:17 -07:00
Brian Federle afe78348c9 CS-15902: Remove loading overlay from VPC actions
For add VPN and add gateway actions: remove loading overlay to allow
user to perform other actions. The overlay is replaced with a set of
notification messages indicating the status of the job.
2012-08-09 11:02:10 -07:00
Pranav Saxena fd7b1e757f CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-08-09 12:55:42 +05:30
Jessica Wang 8327719d2c CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:50:08 -07:00
Jessica Wang 5a9dbcf187 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-08-08 13:56:13 -07:00
Brian Federle deb7ffa031 Autoscale UI actions: Support passing new actionFilter on complete 2012-08-08 10:23:20 -07:00
Pranav Saxena fc14cead15 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:05:47 +05:30
Pranav Saxena 4c6421abf7 CS-15901:InterVlan - UI - Site-to-Site VPN Gateway - Confirmation Message should mention Site-to-Site VPN Gateway instead of just VPN Gateway 2012-08-08 14:57:35 +05:30
Jessica Wang 2e6aeee9af cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-08-07 16:33:39 -07:00
Brian Federle 98b4f598be Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-08-07 13:19:35 -07:00
Brian Federle ad132d43b0 CS-15518: Fix password field garbling on login screen.
From ASF master @ b10a619635
2012-08-06 14:34:48 -07:00
Pranav Saxena edf747495b Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-06 16:00:12 +05:30
Pranav Saxena f62b96125f CS-15844:InterVlan - UI - Remove ACL Icon is not displayed properly for ACL Rules 2012-08-06 15:59:15 +05:30
Brian Federle 015078b499 CS-15841: Better add VPC gateway flow
- Because only 1 gateway can exist per VPC, remove 'add' button from
  list view and immediately show create form on click if no gateway is
  present; show list view on successful creation. If there is a
  gateway, go to list view immediately.

- Rename "Gateways" -> "Private Gateway"
2012-08-03 12:26:18 -07:00
Brian Federle 06a83e0c1c CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:21:48 -07:00
Brian Federle bf77446f15 VPC: Update site-to-site VPN creation flow
If no VPN gateway exists for a VPC, then immediately show a dialog box
asking if user wants to add. If so, create VPN gateway and show list
view afterwards.

- This removes the 'add' button from the list view, moving the code up
  a level in the object to siteToSiteVPN.add

- In addition there is a new function, siteToSiteVPN.preCheck, which
  returns true/false. If true, then show list view immediately; if
  false, show dialog and go through creation process, showing list
  view afterwards.
2012-08-02 11:32:02 -07:00
Jessica Wang cedf4f4c47 cloudstack 3.0 UI - autoscale - service offering, disk offering, security group can not be changed after autosccale is created. So, disable the 3 dropdowns in edit mode. 2012-07-31 17:45:22 -07:00
Jessica Wang d218641559 cloudstack 3.0 UI - autoscale - rename add action to apply action since the action is used by both creation mode and edit mode now. 2012-07-31 15:03:30 -07:00
Jessica Wang 0320fc1b65 cloudstack 3.0 UI - autoscale - implement edit mode. 2012-07-31 14:21:45 -07:00
Brian Federle 431b8fe708 CS-15753:
Re-enable 'view all ip addresses' link on tier details.

--this was disabled previously due to a bug in the VPC widget, which
  is also fixed with this commit.
2012-07-30 15:10:48 -07:00
Brian Federle 665829703f Clean up indentation/whitespace for autoscaler UI code 2012-07-30 11:08:04 -07:00
Brian Federle c11aab3c7e Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-07-30 11:08:04 -07:00
Brian Federle f8bfead038 Cleanup formatting/whitespace 2012-07-26 15:38:56 -07:00
Brian Federle 3d2d1a2efc VPC tier UI: Fix loading state for other actions
Fix actions other than the add VM action, whose loading state was
never removed
2012-07-26 14:41:53 -07:00
Brian Federle dafbdcb838 VPC UI: Better launch VM loading state for tiers
When launching a VM via the 'add VM' button on a VPC tier, show
loading icon to the side of the VM count, so that the tier area isn't
blocked, allowing the user to add more VMs or do other actions to the
tier.
2012-07-26 14:32:10 -07:00
Brian Federle ce536daffa CS-15619: Concatenate long tier names, to prevent overlap 2012-07-19 14:31:23 -07:00
Brian Federle 9c59082658 Add tier name to ACL and VM list dialogs 2012-07-13 13:39:47 -07:00
Brian Federle 77efcccee4 Pass context to add tier createForm 2012-07-11 11:39:04 -07:00
Brian Federle dd653618fb Widen ACL UI dialog box, to prevent overflow 2012-07-11 10:43:00 -07:00
Brian Federle ae38623b88 Fix $browser undefined exception, in case add tier fails 2012-07-11 10:30:36 -07:00
Brian Federle c33aeb43e5 Add VPC gateway config UI
-Add a list view which lists gateways associated with a VPC

-Add detail view with ability to edit a gateway's static routes

** Note: this currently uses dummy content
2012-07-11 10:21:31 -07:00
Brian Federle 722d8faf17 VPC: Add tier detail view
On click of tier name, show a detail view of the specific tier.

This implemented as follows:

    tiers: {
      detailView: {
        name: 'Tier details',
        tabs: {
          details: {
            title: 'Details',
            fields: [
              { id: { label: 'ID' }},
              {
                name: { label: 'Name' },
                cidr: { label: 'CIDR' }
              }
            ],
            dataProvider: function(args) {
              args.response.success({
                data: args.context.networks[0]
              });
            }
          }
        }
      },
      ...
2012-07-10 16:23:43 -07:00
Brian Federle e212b6420a Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:39:09 -07:00
Brian Federle 8e638ed752 Implement static NAT tier select UI
Adds a new drop-down to the enable static NAT dialog to allow selecting a tier to be associated with the VM. This is in the header of the list view.

It is defined as follows:

enableStaticNAT: {
  ...
    action: {
      noAdd: true,
      custom: cloudStack.uiCustom.enableStaticNAT({
        // VPC
        tierSelect: function(args) {
          args.response.success({
            data: [
              { id: '1', description: 'VPC 1' },
              { id: '2', description: 'VPC 2' }
            ]
          });
        },
    ...
2012-07-10 15:32:01 -07:00
Jessica Wang c237e0a960 cloudstack 3.0 UI - VPC section - rename context.tiers to context.networks to be consistent with Guest Network section. 2012-07-08 15:20:18 -07:00
Jessica Wang ecf730356d cloudstack 3.0 UI - VPC - site-to-site VPN - pass vpcid to listVpnConnections and listVirtualMachines API since site-to-site VPN has been moved under VPC. 2012-07-08 14:05:54 -07:00
Jessica Wang 2602acb0b7 cloudstack 3.0 UI - VPC - implement "IP Addresses" in VPC. 2012-07-08 11:18:18 -07:00