Commit Graph

3174 Commits

Author SHA1 Message Date
Jessica Wang 8069ffab1c CS-15957: cloudstack 3.0 UI - VPC - private gateway - if not root-admin, show private gateway listView instead of create private gateway dialog because only root-admin is allowed to create private gateway. 2012-08-13 12:44:18 -07:00
Pranav Saxena b3e5371374 CS-15962:InterVlan -VirtualRouter details as a separate under the VPC section 2012-08-14 01:09:38 +05:30
Brian Federle f169a97096 multiEdit: Support default value and description
-If 'defaultValue' is specified for a text field, then put that value
 into the text field on load.

-If 'desc' is specified for any field, then use it as a 'title'
 attribute to show a tooltip description.

Example:

      'icmptype': {
        ...
        defaultValue: '-1',
        desc: 'Please specify -1 if you want to allow all'
        ...
      }
2012-08-13 12:15:43 -07:00
Brian Federle c4f12caf5e CS-15877: Fix static routes
Fix static routes not being shown when viewed as a domain admin
2012-08-13 10:56:26 -07:00
Pranav Saxena 92513db2ba ACL restructuring labels renaming 2012-08-13 14:30:45 +05:30
Pranav Saxena dc41de5e6c UI changes for ACL 2012-08-13 14:05:24 +05:30
Pranav Saxena 52af7e7572 CS-15960:InterVlan - UI - Network-VPC view should list the status of the VPCs 2012-08-13 13:08:58 +05:30
Pranav Saxena 058554b20c CS-15959:InterVlan - UI - Name Label changes required for Add VPC box parameters 2012-08-13 11:55:17 +05:30
Brian Federle c78faf7ffb Fix _hideFields array not hiding add VM button 2012-08-10 14:05:26 -07:00
Jessica Wang f01846c9f5 cloudstack 3.0 UI - autoscale - LB rules - (1) hide AddVMs button on LB rules created by Autoscale. (2) hide Autoscale button on LB rules created by AddVMs. 2012-08-10 13:54:28 -07:00
Brian Federle 5ff964de72 VPC UI: New ACL flow
-Remove the ACL action from the tier chart item

-Adds an ACL overview list view under the VPC configure menu which
 displays each tier and their total # of ACLs.

-Add ACL edit to tier detail view

- (misc) Also add IP address tab to tier detail view
2012-08-10 12:58:17 -07:00
Jessica Wang 7fe710e75b CS-15945: cloudstack 3.0 UI - Infrastructure page - zone detail page - create guest network - make start IP, end IP field required. 2012-08-10 10:52:50 -07:00
Brian Federle 064de72659 Add sample _hideFields to loadBalancer 2012-08-10 10:40:50 -07:00
Brian Federle 0a0acfbf9e multiEdit: Allow disabling fields per-row
If _hideFields array is passed with row item data, then field IDs
specified will be disabled, if they are custom button actions.
2012-08-10 10:40:33 -07:00
Jessica Wang 7450abf36f CS-15939: cloudstack 3.0 UI - VPC - create VPN connection - add error handling. 2012-08-10 10:21:47 -07:00
Brian Federle 2e640b3231 multiEdit: pass context to select handler 2012-08-10 09:16:16 -07:00
Jessica Wang f2a927b9fa CS-15883: cloudstack 3.0 UI - VPC - VM Wizard - step 1 - zone dropdown - populate only one zone, the one that the VPC is under. 2012-08-09 17:07:40 -07:00
Brian Federle 143a0223e7 CS-15913: Add state column to VPN connection listing 2012-08-09 16:13:44 -07:00
Brian Federle d833372a29 VPC UI, VPN connections: fix 'DPD' boolean field 2012-08-09 16:13:39 -07:00
Brian Federle c008637fbf multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-08-09 15:52:17 -07:00
Jessica Wang f32f55f7ac CS-15803: cloudstack 3.0 UI - VPC - fix a bug that root-admin failed to create a VM in a tier that belonged to regular-user or domain-admin. 2012-08-09 14:51:38 -07:00
Brian Federle 1ced3fc287 Fix typo 2012-08-09 14:30:09 -07:00
Jessica Wang 2c1d33d085 CS-15801: cloudstack 3.0 UI - VPC - create new tier - fix an error "Owner of vpc with specified vpcId is different from the network owner Acct[2-admin]". 2012-08-09 14:28:28 -07:00
Brian Federle ce23f29e25 CS-15916: Show network name in IP details 2012-08-09 11:43:23 -07:00
Jessica Wang 02e7797f3f cloudstack 3.0 UI - autoscale - add validation, prompt "Please disable the Autoscale VM Group first" when users try to update autoscale that's in Enabled state. UI does not automatically fire disableAutoScaleVmGroup API any more when VM Group is in Enabled state. 2012-08-09 11:18:59 -07:00
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
Pranav Saxena fd7b1e757f CS-15909:[Autoscale] UI: Autoscaler references to be replaced with Autoscale 2012-08-09 12:55:42 +05:30
Pranav Saxena 1e19ff9bf0 CS-15915:InterVlan - UI - Static route - instead of CIDR should say CIDR of destination network 2012-08-09 10:34:26 +05:30
Jessica Wang f59d5d8dd1 CS-15885: cloudstack 3.0 UI - autoscale - add UI-side validation - at least one condition is required in Scale Up/Down Policy. 2012-08-08 16:44:49 -07:00
Jessica Wang 5d5d8b2d67 CS-15825: cloudstack 3.0 UI - VPC - Tier - detailView - allow all actions for regular-user and domain-admin since server-side doesn't have restriction. 2012-08-08 16:07:06 -07:00
Jessica Wang f2b73d86c2 CS-15773: cloudstack 3.0 UI - VPC - create private gateway dialog - add Physical Network dropdown. 2012-08-08 15:50:08 -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
Jessica Wang a4ca478df5 cloudstack 3.0 UI - autoscale - add validation that scale policy duration can not be less than Polling Interval. 2012-08-08 14:36:28 -07:00
Jessica Wang 5a9dbcf187 cloudstack 3.0 UI - autoscale -fix a bug that action bar was not refreshed after action was complete. 2012-08-08 13:56:13 -07:00
Brian Federle deb7ffa031 Autoscale UI actions: Support passing new actionFilter on complete 2012-08-08 10:23:20 -07:00
Pranav Saxena 29cbd5ea42 CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:24:14 +05:30
Pranav Saxena ee22f88578 CS-15900:InterVlan - UI - Confirmation Note on Acquisition of a Public IP Address to a VPC should mention this VPC instead of this Network 2012-08-08 20:14:11 +05:30
Pranav Saxena fc14cead15 CS-15851:Intervlan - VMware - Enable Static NAT > if no tier selected> Apply> Status should display 'Please select a tier' 2012-08-08 18:05:47 +05:30
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 88bad6cbcb CS-15903:Detail page of vpn connection miss ike/esp lifetime 2012-08-08 13:52:42 +05:30
Pranav Saxena 9da438b24c Merge branch '3.0.x' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 3.0.x 2012-08-08 10:59:57 +05:30
Pranav Saxena 65edf654e2 CS-15898:Change drop down options in vm tier for vpc 2012-08-08 10:58:02 +05:30
Jessica Wang 2e6aeee9af cloudstack 3.0 UI - autoscale - implement enableAutoScaleVmGroup API, disableAutoScaleVmGroup API. 2012-08-07 16:33:39 -07:00
Brian Federle 4618f5f449 CS-15890: ACL multiEdit: Change 'Source CIDR' -> 'CIDR' 2012-08-07 15:57:57 -07:00
Brian Federle ff29e4f02f CS-15891: Add view console action to VPC instances list view 2012-08-07 15:53:19 -07:00
Brian Federle f541d85fce List view: support external link actions
Support actions which point to an external link, primary to support
launching the console proxy.

Example:

listView: {
  actions: {
    viewConsole: {
      label: 'label.view.console',
      action: {
        externalLink: {
          url: function(args) {
            return clientConsoleUrl + '?cmd=access&vm=' + args.context.vpcTierInstances[0].id;
          },
          title: function(args) {
            return args.context.vpcTierInstances[0].id.substr(0,8);
          },
          width: 820,
          height: 640
        }
      }
    }
  }
}
2012-08-07 15:53:19 -07:00
Brian Federle 5c850c9b4c CS-15892: Tier detail view: Show 'tier details' instead of 'details' 2012-08-07 15:53:19 -07:00
Jessica Wang db3692e448 cloudstack 3.0 UI - autoscale - configure AutoScale - resolve an error returned by updateAutoScaleVmGroup API "Only scaleup policies can be specified in scaleuppolicyids". 2012-08-07 15:31:56 -07:00
Jessica Wang 698097a3ce cloudstack 3.0 UI - autoscale - configure AutoScale - fix a bug when root-admin tried to update an AutoScale created by regular-user or domain-admin, users dropdown was not correctly populated (should be populated with users under owner account instead of users under current login account). 2012-08-07 15:17:08 -07:00
Jessica Wang 0cd51eafc3 CS-15836: cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a bug that root-admin was unable to see autoscale created by regular-user or domain-admin. 2012-08-07 14:33:16 -07:00
Jessica Wang 15d1e57b92 cloudstack 3.0 UI - autoscale - existing LB - configure AutoScale - fix a JS bug "otherdeployparams is undefined". 2012-08-07 14:10:12 -07:00
Brian Federle 38a269c1bf CS-15861: Validate form fields before showing autoscale UI
--only applies to new LB rule form, not existing LB rules.
2012-08-07 13:46:32 -07:00
Brian Federle 365e8803cd multiEdit: support validate on custom action
If requireValidation: true is set for a custom action, then only
perform action if multiEdit's form fields are valid. This does not
apply to clicking on existing rules' action buttons.

Syntax:

multiEdit: {
  fields: {
    testField: {
      custom: {
        requireValidation: true,
        ...
      },
      ...
    },
    ...
  }
}
2012-08-07 13:46:32 -07:00
Jessica Wang fa2d392ba2 cloudstack 3.0 UI - autoscale - for regular user - fix a bug that createAutoScaleVmProfile API fails because autoscaleuserid is undefined. 2012-08-07 13:21:26 -07:00
Brian Federle 98b4f598be Autoscale UI: Add actions to top of dialog
Support performing actions via the autoscaler dialog. This adds
'autoscaleActions' and 'actionFilter' options to the autoscaler, which
specify and handle the actions appearing in the UI.

Performing these actions will cause a loading overlay to appear until
actions are finished, when the action bar is refreshed via the action
filter.
2012-08-07 13:19:35 -07:00
Jessica Wang 530fb65278 cloudstack 3.0 UI - VPC - private gateways - preCheck() should not call args.response.success(). 2012-08-07 11:48:36 -07:00
Jessica Wang 9f707a6b7d cloudstack 3.0 UI - site to site VPN - create VPN connection - fix a bug that wrong vpnGatewayId is passed to API command where there are multiple VPN gateways are present in one account. 2012-08-07 11:27:45 -07:00
Jessica Wang b8e3a20ba0 cloudstack 3.0 UI - VPC - IP Address page - configuration tab - fix a bug that root-admin was unable to see LB service of IP Address owned by regular-user or domain-admin. 2012-08-07 10:45:58 -07:00
Jessica Wang 25bb243a6f cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add Reboot action to VPC Virtual Router. 2012-08-06 16:36:53 -07:00
Jessica Wang da9603cfe6 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add Reboot action. 2012-08-06 16:28:23 -07:00
Jessica Wang 9edbc70e5b cloudstack 3.0 UI - infrastructure - Virtual Routers - detailView - add ChangeService action to VPC Virtual Router. 2012-08-06 15:45:31 -07:00
Jessica Wang 5ec9cf3081 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - detailView - add ChangeService action. 2012-08-06 15:39:29 -07:00
Jessica Wang 6620020477 cloudstack 3.0 UI - infrastructure - zone detail - network service providers - Virtual Router - Instances tab - exclude VPC Virtual Router here. 2012-08-06 14:41:46 -07:00
Brian Federle ad132d43b0 CS-15518: Fix password field garbling on login screen.
From ASF master @ b10a619635
2012-08-06 14:34:48 -07:00
Brian Federle 31fbc7bf80 multiEdit: better handling for tag widget
Place tagging widget in a separate action and dialog class; it is
indicated by a 'tag' icon for better clarity.

-- This removes the requirement to specify a dummy 'edit' action on
multi-rules; instead, the separate tag action will appear automatically
as long as 'tags' is specified under the multiEdit's properties.
2012-08-06 14:14:30 -07:00
Jessica Wang ba5a72d73e cloudstack 3.0 UI - infrastructure - zone detail - network service providers - VPC Virtual Router - Instances tab - add Type to listView (System, VPC or Project). 2012-08-06 14:05:35 -07:00
Jessica Wang 9b1dff54d6 cloudstack 3.0 UI - site to site VPN - Edit mode - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 13:04:55 -07:00
Jessica Wang a8db3c98b2 cloudstack 3.0 UI - site to site VPN - listView - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 11:58:12 -07:00
Jessica Wang fa653ebe02 cloudstack 3.0 UI - site to site VPN - Create action - (1)split IKE policy field into 3 fields. (2)split ESP plicy field into 3 fields. (3)split lifetime field into 2 fields. (4) add Dead Peer Detection field. 2012-08-06 11:15:37 -07:00
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
Koushik Das 32c577ef7d Fix CS-15834
Added storage type in list disk offerings response
Reviewed-by: Abhi, Nitin
2012-08-06 15:24:01 +05:30
Brian Federle 7492f4f67f CS-15842: VPC gateway create form: Put 'VLAN' field at the top 2012-08-03 12:29:37 -07:00
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 98e8303187 VPC details: Display 'restart required' field 2012-08-03 12:03:46 -07:00
Brian Federle 06a83e0c1c CS-15802: Add VPC filter to instance wizard network select
Adds drop-down select to filter networks by VPC.

-If no VPC is selected, only show non-VPC isolated networks

-If VPC is selected, show tiers from specified VPC. Note that only one
 tier/network can be checked at a time in this mode, and 'add network'
 text field is hidden
2012-08-03 11:21:48 -07:00
Brian Federle dc32b71de9 CS-15809: Show account/domain fields on VPC detail view 2012-08-03 11:12:31 -07:00
Brian Federle 24885b64d8 CS-15793: Fix static NAT select when in a VPC network 2012-08-03 11:03:56 -07:00
Pranav Saxena 44c067cd10 CS-15793:Enable static NAT for the public IP address screen is not showing VMs 2012-08-03 15:49:26 +05:30
Jessica Wang c5a849e9d2 cloudstack 3.0 UI - site to site VPN - VPN customer gateway - implement Edit mode. 2012-08-02 15:04:50 -07:00
Brian Federle eb93ebf6a1 CS-15798: Support editing of VPC resource limits 2012-08-02 14:22:20 -07:00
Jessica Wang 1f7b273dcc cloudstack 3.0 UI - site to site VPN - (1) implement Add VPN connection action in VPN connection listView. (2) remove Add VPN connection action from VPN customer gateway detailView. 2012-08-02 11:58:49 -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
Jessica Wang 0b1b8adf30 cloudstack 3.0 UI - site to site VPN - VPN customer gateway - add name field. 2012-08-02 11:13:42 -07:00
Pranav Saxena 160d71fe38 CS-15318:Do not allow user to stop a VM when it is in Starting state 2012-08-02 14:17:58 +05:30
Pranav Saxena 0f302f9e42 CS-15807 :No network label for OVM is available in UI 2012-08-02 13:48:13 +05:30
Jessica Wang db489d018a cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API even id parameter is passed. 2012-08-01 16:45:32 -07:00
Jessica Wang 32c295aa6c cloudstack 3.0 UI - Guest Network section - pass listAll=true to listNetworks API. 2012-08-01 16:36:08 -07:00
Brian Federle 63b3b92176 listView UI: Fix case where $breadcrumb isn't present 2012-08-01 15:54:07 -07:00
Jessica Wang 541bb95d63 CS-15792: cloudstack 3.0 UI - VPC - pass domainid+account instead of listAll to all listNetworks API calls under VPC section. 2012-08-01 15:50:56 -07:00
Pranav Saxena 6cc7cda9ce CS:15792- S2S VPN : A tier created in VPC from a domain-admin account does not show up in the VPC configuration page. Instead, it is seen in the guest networks page 2012-08-02 02:59:30 +05:30
Brian Federle 505a9ad982 CS-15740: Show 'please select a tier' instead of blank default option
For VPC enable static NAT dialog, a tier always needs to be selected
-- this is now indicated in the default option select.
2012-08-01 14:28:07 -07:00
Brian Federle f6cc891831 cloudBrowser / list view UI: Show subsection in breadcrumb
If in a section with multiple subsections, show active subsection in
the breadcrumb.

For example, if in storage->snapshots, display 'Storage - Snapshots'
based on the 'title' attribute for the main section and subsetion.

-- Note: this disables the 'fixSize' functionality which resizes long
   breadcrumb trails, due to incompatibility with this new feature. It
   is going to be reimplemented anyway, as it is fairly glitchy in its
   current incarnation.
2012-08-01 13:24:51 -07:00
Jessica Wang ea9fe42c50 cloudstack 3.0 UI - autoscale - edit mode - update autoscaleVmGroup. 2012-08-01 12:18:29 -07:00
Jessica Wang 301a3be8ec cloudstack 3.0 UI - autoscale - edit mode - disable autoscaleVmGroup before calling other updateXXXXXXX APIs and enable it back afterwards. 2012-08-01 10:19:50 -07:00
Jessica Wang 9d23cd672e cloudstack 3.0 UI - autoscale - edit mode - API calls end after updating VM profile. 2012-08-01 09:39:44 -07:00
Pranav Saxena e51076af3f CS-14907:download volume option should be present only in READY state since it has moved to primary storage 2012-08-01 10:54:48 +05:30
Jessica Wang 1dc3a3910c cloudstack 3.0 UI - autoscale - add validation that LB name, public port, private port field have to be filled before creating autoscale. 2012-07-31 18:02:48 -07:00
Jessica Wang cedf4f4c47 cloudstack 3.0 UI - autoscale - service offering, disk offering, security group can not be changed after autosccale is created. So, disable the 3 dropdowns in edit mode. 2012-07-31 17:45:22 -07:00
Jessica Wang cee948681f cloudstack 3.0 UI - autoscale is not supported in VPC. So, hide autoscale button in LB listing in IP Addresses under VPC. 2012-07-31 16:45:22 -07:00