Commit Graph

3951 Commits

Author SHA1 Message Date
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 f7aea2a569 Fix placement of header 2012-07-10 13:40:55 -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
Brian Federle ae7ec39bff CS-12739: VM wizard: add asterisk next to network 'name' field
Original patch by: Pranav Saxena <pranav.saxena@citrix.com>
Reviewed by: Brian Federle <brian.federle@citrix.com>
2012-07-09 16:40:38 -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 2fa2dd5dfd CS-15401: Fix arrow BG for PF/LB UI for Japanese language
When opening Network screen, arrows to the right side of "show all"
for firewall, load balancer and port forwarding are divided in
Japanese localized environment. This fix adjusts the CSS to fit longer
characters in this condition.
2012-07-06 14:02:21 -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