Commit Graph

2983 Commits

Author SHA1 Message Date
Brian Federle 9c59082658 Add tier name to ACL and VM list dialogs 2012-07-13 13:39:47 -07:00
Jessica Wang c73b29b2ee cloudstack 3.0 UI - VPC - IP Address - Enable static NAT - no VM listing until a tier is selected. 2012-07-13 13:30:12 -07:00
Jessica Wang 32873b3c4e cloudstack 3.0 UI - VPC - tier - tier detail - hide View IP Addresses until JS error "$browser is undefined" is fixed. 2012-07-13 13:07:31 -07:00
Jessica Wang f0815df712 cloudstack 3.0 UI - VPC - tier - implement tier detail with edit, delete, restart action. 2012-07-13 11:28:34 -07:00
Jessica Wang c3a854faf2 cloudstack 3.0 UI - VPC - Gateways - pass listAll=true to listPrivateGateways API. 2012-07-12 16:28:48 -07:00
Jessica Wang 3671d8c490 cloudstack 3.0 UI - VPC - implement restart VPC action. 2012-07-12 16:10:43 -07:00
Jessica Wang 1a48773c50 cloudstack 3.0 UI - VPC - implement update VPC action. 2012-07-12 16:05:05 -07:00
Brian Federle 183beaa8c3 Rename editVpc->configureVpc, for clarity 2012-07-12 15:59:35 -07:00
Brian Federle 3267553af1 Detail view: Fix layout of text actions 2012-07-12 15:26:07 -07:00
Brian Federle 4d6b5e6183 Add edit VPC action to detail view 2012-07-12 15:21:19 -07:00
Brian Federle 5af48ea6cf Detail view UI: Support for text action buttons
Currently, only icons are rendered on detail view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
    ...
  }
}
2012-07-12 15:18:06 -07:00
Jessica Wang 1753480ff8 cloudstack 3.0 UI - VPC - implement Delete VPC action. 2012-07-12 15:09:30 -07:00
Jessica Wang f1283f7bb1 cloudstack 3.0 UI - VPC - IP Addresses - Load Balancer - tier dropdown - if the IP is already associated with a tier, only populate that tier in the dropdown and hide the dropdown whose value will still be used later in listing VM dialog. 2012-07-12 14:28:47 -07:00
Jessica Wang 738c647612 cloudstack 3.0 UI - VPC - IP Addresses - Port Forwarding - tier dropdown - if the IP is already associated with a tier, only populate that tier in the dropdown and hide the dropdown whose value will still be used later in listing VM dialog. 2012-07-12 14:15:12 -07:00
Brian Federle b5ce813a94 VPC list view: Add text label for configure VPC action 2012-07-12 13:45:16 -07:00
Brian Federle 35d93a66ad List view UI: Support for text action buttons
Currently, only icons are rendered on list view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
   ...
  }
}
2012-07-12 13:43:54 -07:00
Jessica Wang 4d5db13555 cloudstack 3.0 UI - VPC - IP Addresses - not pass vpcid to API call if it's undefined. 2012-07-12 11:41:39 -07:00
Jessica Wang 9c36ba1ac4 cloudstack 3.0 UI - network page - Guest Network section - list all networks including VPC and non-VPC ones. 2012-07-12 10:34:37 -07:00
Jessica Wang 86bbba39cd cloudstack 3.0 UI - VPC - tier - Add VM - zone dropdown - exclude Basic zones (since VPC is not supported in Basic zone). 2012-07-12 10:17:37 -07:00
Jessica Wang 16e0ccd4c0 cloudstack 3.0 UI - VPC - Enable StaticNat - tier dropdown - rename default option to be blank. 2012-07-11 16:55:40 -07:00
Brian Federle ca63738ec1 Forgot to re-add VPC ID filter to tier select 2012-07-11 16:29:53 -07:00
Jessica Wang 99c28a58f6 cloudstack 3.0 UI - VPC - gateways - regular user and domain admin are not allowed to Add Gateway. 2012-07-11 16:27:23 -07:00
Brian Federle 7de7b86870 Static NAT UI: Have tier dropdown filter VMs
On VM select list view for static NAT, tier selection will filter the
VM listing by tier (networkid).

By default, VMs for all tiers are shown, until the drop-down is changed.
2012-07-11 16:19:57 -07:00
Brian Federle 9b1395ec0f List view widget: Pass $listView object to dataProvider 2012-07-11 16:19:57 -07:00
Jessica Wang d0b8e59ab4 cloudstack 3.0 UI - VPC - create tier dialog - check all tiers under the VPC. If any of them includes LB service, exclude network offering including LB service from network offering dropdown. 2012-07-11 16:00:48 -07:00
Jessica Wang 76b8407b69 cloudstack 3.0 UI - VPC - gateways - implement Remove Gateway action. 2012-07-11 15:16:18 -07:00
Jessica Wang b727c58497 cloudstack 3.0 UI - VPC - gateways - static route - implement Remove action. 2012-07-11 14:51:19 -07:00
Jessica Wang 37786a8325 cloudstack 3.0 UI - VPC - gateways - static route - implement Add action. 2012-07-11 14:42:23 -07:00
Jessica Wang 9212d16080 cloudstack 3.0 UI - VPC - gateways - populate Static Routes tab. 2012-07-11 13:30:18 -07:00
Jessica Wang c04fd3461a cloudstack 3.0 UI - VPC - gateways - populate listView and detailView. 2012-07-11 13:19:29 -07:00
Jessica Wang 04142986c7 cloudstack 3.0 UI - VPC - implement Add Private Gateway action. 2012-07-11 12:15:35 -07:00
Brian Federle 77efcccee4 Pass context to add tier createForm 2012-07-11 11:39:04 -07:00
Jessica Wang deab99a533 cloudstack 3.0 UI - VPC - Add Tier dialog - check if any tier supports LB service before populating network offering dropdown. 2012-07-11 11:25:56 -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
Jessica Wang e1fbe9e530 cloudstack 3.0 UI - VPC - IP Addresses - Load Balancer - Add VM - populate only VMs under selected tier. 2012-07-10 18:56:46 -07:00
Jessica Wang f0fb52e346 cloudstack 3.0 UI - VPC - IP Addresses - Port Forwarding - Add VM - populate only VMs under selected tier. 2012-07-10 18:40:58 -07:00
Jessica Wang 3bb48742b8 cloudstack 3.0 UI - VPC - tier - ACL - add ACL action - add traffic type field (Ingress/Egress). 2012-07-10 18:06:33 -07:00
Jessica Wang 663ba8c898 cloudstack 3.0 UI - VPC - IP Address - PF, LB - if IP is associated with a tier, hide tier dropdown when creating PF, LB rule. 2012-07-10 17:51:30 -07:00
Jessica Wang 708b4f7003 cloudstack 3.0 UI - VPC - IP Address - create Port Forwarding rule with tier ID. 2012-07-10 17:07:37 -07:00
Jessica Wang 5ecd1c7492 cloudstack 3.0 UI - VPC - IP Address - enable StaticNat with tier id. 2012-07-10 16:40:06 -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 b2e1dd7697 cloudstack 3.0 UI -IP Address - create LB rule screen - show tier dropdown if coming from VPC secton, hide tier dropdown if coming from Guest Network section. 2012-07-10 15:52:00 -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 4641559c9e cloudstack 3.0 UI - VPC - IP Address - create LB rule with tier id. 2012-07-10 15:31:46 -07:00
Brian Federle 2c13b82736 multiEdit: Correctly pass context to header fields 2012-07-10 14:54:10 -07:00
Brian Federle e4a00f1faf Add code to show/hide 'tiers' header fields 2012-07-10 14:17:38 -07:00
Brian Federle a42c837f95 Pass mulit-edit form data to add VM dialogs, as part of context 2012-07-10 14:01:56 -07:00
Brian Federle de3e9c7fcd Multi-edit: refactor form serialization
To support header-level form items, serialize every form within the
multi-edit div (not just the main table form). For reusability, make
data serialization handled in separate 'getMultiData' function.
2012-07-10 14:01:38 -07:00
Brian Federle 02dd57d019 Update dummy tier data 2012-07-10 13:59:51 -07:00
Brian Federle d67d93da5d Add header fields 2012-07-10 13:40:55 -07:00
Jessica Wang b36a13b941 cloudstack 3.0 UI - create network offering dialog - when service(s) has VPC Virtual Router as provider, Redundant router capability checkbox is set to unchecked and grayed out. 2012-07-10 11:38:16 -07:00
Brian Federle 99edf7423b CS-15475: Fix missing 'add guest network' action from network list
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-10 11:23:29 -07:00
Jessica Wang e25ac326fe cloudstack 3.0 UI - create network offering dialog - when service(s) has VPC Virtual Router as provider, conserve mode is set to unchecked and grayed-out. 2012-07-10 11:05:15 -07:00
Jessica Wang 9a669ab0bb cloudstack 3.0 UI - VPC - site to site VPN - delete action - not delete VPN gateway, only delete VPN connection and VPN customer gateway. 2012-07-09 19:11:33 -07:00
Jessica Wang 902a56fc7a cloudstack 3.0 UI - VPC - site to site VPN - there is only one VPN gateway per VPC. So, when creating 2nd, 3rd, ~ VPN connection, reuse the VPN gateway created when the first VPN connection is created. 2012-07-09 19:00:48 -07:00
Jessica Wang d53be4f6bd cloudstack 3.0 UI - VPC - IP from VPC section doesn't support Firewall, including both sourceNat IP and non-sourceNat IP. 2012-07-09 17:49:25 -07:00
Jessica Wang ec5d36a9c4 cloudstack 3.0 UI - VPC - acquire new IP - no passing tier ID. 2012-07-09 16:14:56 -07:00
Jessica Wang b6ebbc93e7 cloudstack 3.0 UI - VPC - IP addresses - implement acquire new IP dialog box with tier dropdown. 2012-07-09 15:36:50 -07:00
Brian Federle d20b1f571f CS-15392: Add error handling to edit user action
Original patch by: Olga Smola <olya.smola@gmail.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-09 14:54:42 -07:00
Jessica Wang a9b62bbfbe cloudstack 3.0 UI - IP address page - configuration tab - (1) if coming from VPC section, get IP's network from associatednetworkid if it's not null, then get its network offering and figure out whether FB, LB is supported. VPN and Firewall is not supported in VPC no matter what. (2) if coming from Guest Network section, get network offering from the guest network and figure out whether FB, LB, VPN, Firewall is supported. 2012-07-09 14:50:59 -07:00
Jessica Wang 359e9eb5d7 cloudstack 3.0 UI - VPC - tier - add VM - fix a bug that nothing was shown in select network step. 2012-07-09 14:19:54 -07:00
Jessica Wang 2e545daa9d cloudStack 3.0 UI - VPC - VPC is only supported in advanced zone, not in basic zone. So, zone dropdown in create VPC dialog only shows advanced zones. 2012-07-09 13:24:05 -07:00
Jessica Wang 0f575c2ecf cloudStack 3.0 UI - IP Address page - (1) if from VPC section, hardcode conserve mode as false and exclude VPN service. (2) if from Guest Network section, get conserve mode and whether or not to show VPN service from guest network's network offering. 2012-07-09 12:10:29 -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 597fa03222 cloudstack 3.0 UI - Network page - guest network section - only show guest networks that don't belong to any VPC. Guest networks that belong to VPC can only be seen under VPC section. 2012-07-08 14:31:53 -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 6641f35885 cloudstack 3.0 UI - move site-to-site VPN into VPC container. 2012-07-08 11:37:46 -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 cbd67268f0 cloudstack 3.0 UI - VPC - tier - VM listing - implement start VM, stop VM, restart VM, destroy VM, restore VM action. 2012-07-07 19:09:23 -07:00
Jessica Wang 8b8b9ddce7 cloudstack 3.0 UI - VPC - tier - (1) clicking "N VMs" will pop up a dialog box listing VMs.
(2) remove Star Tier, Stop Tear action.
2012-07-07 14:02:14 -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 93b264b219 cloudstack 3.0 UI - VPC - tier - ACL - implement Add ACL rule, Delete ACL rule. 2012-07-07 10:33:10 -07:00
Jessica Wang e67d0cbf86 cloudstack 3.0 UI - VPC - tier - ACL - populate ACL grid. 2012-07-06 16:34:40 -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
Brian Federle 1989dce8d0 Fix 'About' page for CloudPlatform 2012-07-06 12:07:32 -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 c3215d1c1f cloudstack 3.0 UI - VPC - infrasture page - network service providers - add "VPC Virtual Router". 2012-07-05 15:53:22 -07:00
Jessica Wang 78e1d37e8f cloudstack 3.0 UI - VPC - add zone wizard - enable VpcVirtualRouter element, enable VpcVirtualRouter provider for advanced zone. 2012-07-05 15:53:21 -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
Jessica Wang 26afe3a96c cloudstack 3.0 UI - instance wizard - network offering dropdown - populate only network offerings that are not for VPC. 2012-07-05 13:19:33 -07:00
Jessica Wang 212baba7b1 cloudstack 3.0 UI - VPC - implement "Add new tier" action. 2012-07-05 13:19:32 -07:00
Jessica Wang dd31d33f7c cloudstack 3.0 UI: VPC feature - implement listView and detailView. 2012-07-03 16:59:18 -07:00
Jessica Wang 809a90b2fc cloudstack 3.0 UI: VPC feature - add "Create VPC" dialog. 2012-07-03 16:18:06 -07:00
Jessica Wang 5c2b4ed646 cloudstack 3.0 UI: site-to-site VPN: add "Reset VPN connection" action in detailView. 2012-07-03 14:25:27 -07:00
Jessica Wang 5475436e03 cloudstack 3.0 UI: delete site-to-site VPN action in detailView - remove detail view and corresponding table row after remove action succeeds. 2012-07-03 14:00:30 -07:00
Jessica Wang d0ed346b49 cloudstack 3.0 UI: create site-to-site VPN action - when any of the 3 createXXXXXXX API fails, remove the row from listView. 2012-07-03 12:03:42 -07:00
Jessica Wang ecf1c42baa cloudstack 3.0 UI: site-to-site VPN - detailView - provide Delete option. 2012-07-02 16:18:51 -07:00
Jessica Wang e0c8454a96 cloudstack 3.0 UI: site-to-site VPN - listView, detailView - add 7 new properties of listVpnConnections API response. 2012-07-02 14:03:00 -07:00
Brian Federle 7621867ee0 CS-15313: Error handling for account section
This fixes an issue where an error is not displayed when entering an
invalid account name.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>
2012-07-02 11:03:52 -07:00
Brian Federle 723d4919c7 CS-14907: Only allow download volume for uploaded volumes
This fixes an issue where an uploaded volume that hasn't been moved to
primary storage yet is downloaded, causing an error. This adjusts the
actionFilter to fix this.

Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
reviewed-by: Brian Federle <brian.federle@citrix.com>

Conflicts:
	ui/scripts/storage.js
2012-07-02 10:43:07 -07:00
Pranav Saxena 278515a59f CS-14907 :Download volume option should not be present for volume which has been uploaded 2012-07-02 11:14:42 +05:30
Jessica Wang 8d35452493 cloudstack 3.0 UI - site-to-site VPN page - populate listView and detailView. 2012-06-29 15:02:09 -07:00
Jessica Wang e07ec3cd2c cloudstack 3.0: (1) API - CreateVpnConnection API, ListVpnConnections API: set object name for API response.
(2) UI - Add site-to-site VPN dialog - call CreateVpnConnection API after CreateVpnCustomerGateway API returns success.
2012-06-29 14:55:26 -07:00
Jessica Wang 6cf45ad29b cloudstack 3.0 API: CreateVpnCustomerGateway API, ListVpnCustomerGateways API: set object name for API response. 2012-06-29 14:40:00 -07:00
Jessica Wang 68a82ae1e3 cloudstack 3.0: (1) API - CreateVpnCustomerGateway API: correct parameter type on server-side.
(2) UI - Add site-to-site VPN dialog - call CreateVpnCustomerGateway API after CreateVpnGateway API returns success.
2012-06-29 14:21:37 -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