Commit Graph

35 Commits

Author SHA1 Message Date
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
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
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
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 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
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 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
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
Jessica Wang 33cf9468b6 cloudstack 3.0 UI - VPC - tier - implement Remove Tier action. 2012-07-07 13:35:01 -07:00
Jessica Wang 3a5b43796c cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-06 16:03:44 -07:00
Jessica Wang 883d061dd7 cloudstack 3.0 UI - VPC - Edit VPC chart - populate tiers by API call instead of hardcoding. 2012-07-06 10:43:28 -07:00
Jessica Wang 6eebd7aa0d cloudstack 3.0 UI - VPC - create tier action is sync, not async. 2012-07-05 18:33:43 -07:00
Jessica Wang a39a08a40d cloudstack 3.0 UI: ui-custom VPC - add error handling to addTierDialog(). 2012-07-05 13:19:33 -07:00
Brian Federle a3a965a5a8 VPC UI: Add link to site-to-site VPN
Add link in tooltip for site-to-site VPN, which opens a new panel
showing the list view. This draws from the existing 'siteToSiteVpn'
network subsection, so no modification should be required to the
existing list view.
2012-06-29 13:35:47 -07:00
Brian Federle f87c719b03 Add configure VPC tooltip and links 2012-06-29 13:11:43 -07:00
Brian Federle d5e8a5f227 Add configure icon to VPC 2012-06-29 11:50:58 -07:00
Brian Federle f6fb322c7b Fix add tier UI
Properly pass context for add tier dialog, which broke due to recent
changes that requires context to be present, for the action filter.
2012-06-28 15:34:08 -07:00
Brian Federle 196ef1c1e0 VPC tier UI: Update state after performing actions
After performing an action that changes state, namely starting and
stopping a tier, run through the action pre-filter again, to make sure
that the allowable actions are properly refreshed.
2012-06-28 15:19:06 -07:00
Brian Federle 0a14f09fd7 VPC UI: Refactor tier action filter handling
For reusability, move action filter handling for VPC tier actions to a
separate function. This allows for easier refreshing of actions after a
tier's state has changed.
2012-06-28 14:50:13 -07:00
Brian Federle 252e599a6c Pass _custom correctly to VPC tier add VM action 2012-06-28 14:21:30 -07:00
Brian Federle 27eceaabdf Add Citrix license to new JS files 2012-06-28 13:41:29 -07:00
Brian Federle 98924a0579 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:52:34 -07:00