Commit Graph

2914 Commits

Author SHA1 Message Date
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