Commit Graph

2935 Commits

Author SHA1 Message Date
Jessica Wang 5a1bca8213 cloudstack 3.0 UI - VPC - create network offering - when service(s) has VPC Virtual Router as provider, remove Firewall service, SecurityGroup service. 2012-07-16 11:03:17 -07:00
Jessica Wang a8c883ba53 cloudstack 3.0 UI - VPC - IP Address - PF, LB, EnableStaticNAT dialogbox - tier dropdown - list only tiers that support corresponding service. 2012-07-13 13:50:24 -07:00
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