Commit Graph

271 Commits

Author SHA1 Message Date
Jessica Wang f43a92a2af cloudstack 3.0 UI - VPC - IP Address - after a LB rule is added, hide tier dropdown. 2012-07-17 15:12:46 -07:00
Jessica Wang d4f8d3b3a4 cloudstack 3.0 UI - network page - Guest Network section - select a VPC network - IP Address' configuration chart will be the same as the one from VPC section. 2012-07-16 17:05:39 -07:00
Jessica Wang 38e0c4b31a cloudstack 3.0 UI - VPC - create VPC action - make it async instead of sync. 2012-07-16 14:07:42 -07:00
Jessica Wang a36fc7a9fa cloudstack 3.0 UI - IP Address page – if it comes from Guest Network section and it’s a VPC network, remove “Acquire IP” button. 2012-07-16 13:49:28 -07:00
Jessica Wang d623ee3dee cloudstack 3.0 UI - network page - Guest Network section - create Guest Network - If selected network offering includes forvpc = true, show VPC dropdown. Otherwise, hide VPC dropdown. 2012-07-16 13:25:30 -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
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 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 4d6b5e6183 Add edit VPC action to detail view 2012-07-12 15:21:19 -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
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 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
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
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 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
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 e4a00f1faf Add code to show/hide 'tiers' header fields 2012-07-10 14:17: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
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 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
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 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 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 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 3a5b43796c cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-06 16:03:44 -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 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
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
Jessica Wang d922b99c64 cloudstack 3.0 API: CreateVpnGateway API, ListVpnGateways API: set object name for API response. 2012-06-29 11:05:10 -07:00
Jessica Wang f8e556f04b cloudstack 3.0 UI: site-to-site VPN: add "Create site-to-site VPN" dialog. 2012-06-28 16:55:36 -07:00
Brian Federle 98924a0579 Add base VPC UI
** Note: this is a work-in-progress, and only contains dummy content

Implement UI for managing VPC tiers, via a custom chart-like UI list
tiers and allowing the management of VMs associated with the VPCs.
2012-06-28 10:52:34 -07:00
Brian Federle 1e01c21fd3 CS-14980: Fix blank PF/LB instance name label
Show VM ID if .displayname and .instancename are not present, as is
the case with KVM-type virtual machines that don't have a custom name.
2012-05-18 12:09:32 -07:00
Jessica Wang ed0ac5d15e CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide LoadBalancer when any PortForwarding rule exists, hide PortForwarding when any LoadBalancer rule exists. 2012-05-17 11:31:47 -07:00
Jessica Wang 1a1d7ce185 CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide EnableStaticNAT and EnableVPN when any PortForwarding rule or LoadBalancer rule exists. 2012-05-16 17:02:18 -07:00
Jessica Wang 5712c56f0b CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide PortForwarding and LoadBalacer when staticNAT or VPN is enabled. 2012-05-16 16:25:14 -07:00
Jessica Wang cac21291bd CS-14901: cloudstack 3.0 UI - IP Address page - non-SourceNAT IP - when network offering's Conserve Mode is off, hide EnableVPN action when staticNAT is enabled, hide EnableStaticNAT action when VPN is enabled. 2012-05-16 13:46:25 -07:00
Jessica Wang 9fb81f239d CS-14901: cloudstack 3.0 UI - IP Address page - SourceNAT IP - when network offering's Conserve Mode is off, hide LoadBalancer, PortForwarding action in Configuration tab. 2012-05-16 13:46:04 -07:00
Jessica Wang 822c50cdcc CS-14901: cloudstack 3.0 UI - IP Address page - SourceNAT IP - when network offering's Conserve Mode is off, hide Enable Static NAT, Enable VPN action. 2012-05-16 13:45:39 -07:00
Jessica Wang 3706941010 cloudstack 3.0 UI - IP Address page - args.id is obsolete. Use args.context.ipAddresses[0].id instead. 2012-05-15 16:03:38 -07:00
Jessica Wang 0cda716cf0 cloudstack 3.0 UI - IP Address page - action filter - optimize status handling. 2012-05-15 15:43:43 -07:00
Brian Federle ecbe959a23 CS-13874
If no 'custom' instance name is specified for a VM, use the
'instancename' field instead of 'displayname' for the label in PF/LB
UI.
2012-05-14 13:53:54 -07:00
bfederle 44d04fd58e IP addresses: fix for projects + port forwarding
-Port forwarding: only show VMs of the IP's owner

-Don't pass account/domain ID for acquire IP address and list VMs for
 static NAT/PF/LB
2012-05-10 17:05:20 -07:00
bfederle a491a6ee35 CS-14797
Pass IP address's account + domainid for listing VMs on PF/LB/Static
NAT. This prevents an admin from attaching one user's VM to another
user's IP address.
2012-05-10 16:30:26 -07:00
Jessica Wang 3d0811ecb7 cloudstack 3.0 UI - IP Address page - listView - remove dummy filter. 2012-05-07 15:38:26 -07:00
Jessica Wang 21ebf03ea1 cloudstack 3.0 UI - infrastructure page - guest traffic type - network tab - fix a bug that clicking a network that doesn't belong to current login user would show spinning wheel forever in detailView. 2012-04-24 12:14:15 -07:00
Jessica Wang 84d439f3cb bug 14476: cloudstack 3.0 UI - IP address page - VPN tab - fix a bug that newly added VPN users didn't show up on UI when owner of IP Address is different from current login. 2012-04-13 21:10:34 -07:00
Jessica Wang f4bd2fb654 cloudstack 3.0 UI - security group - ingress rule - fix a bug that Account, Security group failed to be translated. 2012-04-11 17:28:07 -07:00
Jessica Wang d290296060 bug 14418: cloudstack 3.0 UI - network - security group - after remove action completes, close detailView and remove corresponding row from listView. 2012-04-11 16:17:36 -07:00
Brian Federle a2b82de0e6 bug CS-14419
Add error handling for delete security group action

status CS-14419: resolved fixed
2012-04-11 11:51:51 -07:00
frank 72d284de7d Switch to Apache license 2012-04-03 04:54:14 -07:00
Brian Federle c15f58624e bug 14556: Add missing page + pageSize params to PF/LB list view 2012-03-30 14:54:05 -07:00
Jessica Wang 07466f8c53 bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - configuration - clicking Firewall - show Firewall multiEdit screen instead of NAT Port Range screen because createIpForwardingRule/deleteIpForwardingRule/listIpForwardingRules API are obsolete in cloudstack 3.0 2012-03-29 11:52:24 -07:00
Jessica Wang 4d014786b6 Revert - bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 20:24:52 -07:00
Jessica Wang aff92112c2 bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 19:31:51 -07:00
Jessica Wang 68ce66ef78 bug 14482: IP Address page - remove IP action - after action is finished, remove the IP from listView and close detailView. 2012-03-26 15:05:56 -07:00
Jessica Wang 6467dc486b bug 14474: cloudstack 3.0 UI - network page - configuration - Load Balancer, Port Forwarding - "instancename" is not returned by API for normal user and domain admin. Should use "displayname" returned by API instead. 2012-03-23 12:15:34 -07:00
Jessica Wang f486cef0d6 cloudstack 3.0 UI - network page - detail view - pass listAll=true for now until API is fixed. 2012-03-21 16:31:01 -07:00
Brian Federle 643f54c127 bug 14351: Show VM name in PF, instead of UUID
status 14351: resolved fixed
2012-03-21 10:27:29 -07:00
Brian Federle 49f0960de1 Remove trailing comma 2012-03-21 09:56:33 -07:00
Brian Federle 0d3b8191b4 UI: Better load balancer / multi-edit item naming
Currently, the items listed under the load balancer always use .name as
the field to display for the VM name.

Since 'instancename' is now used for the user-friendly name field,
_itemName metadata attribute can be specified in the rule's data
provider to tell which field should be rendered as the name field in the
list.
2012-03-21 09:56:33 -07:00
Brian Federle 52fcc20b59 Fix admin not being able to view users' network details 2012-03-21 09:56:33 -07:00
bfederle 2a653782db bug 14352: Fix LB instance naming
status 14352: resolved fixed
2012-03-20 16:29:16 -07:00
Jessica Wang e980263c5f cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - Hide "clean up" checkbox if it's Basic zone. Show "clean up" checkbox if it's Advanced zone. 2012-03-13 16:55:34 -07:00
Jessica Wang 41352a5464 cloudstack 3.0 UI - network page - IP Address detail page - remove duplicate info - network name and network type are already in parent page (network page). 2012-03-13 16:29:51 -07:00
Jessica Wang 9066e995d1 cloudstack 3.0 UI - network page, infrastructure page - guest network - restart network action - uncheck and gray out "clean up" checkbox if it's Basic zone. Check and enable the checkbox if it's Advanced zone. 2012-03-13 16:16:55 -07:00
Jessica Wang 315430785d cloudstack 3.0 UI - guest network - show Edit action for Isolated network. Show Restart action for all networks. 2012-03-13 15:15:18 -07:00
Jessica Wang 7ec7484662 cloudstack 3.0 UI - IP Address page - retrieving data for detailView - no need to pass listAll parameter to listPublicIpAddresses API. Passing id parameter is enough. 2012-03-12 14:12:26 -07:00
Jessica Wang 6962ad9c49 Network page - Add guest network dialog - network offering dropdown - pass guestiptype instead of type to listNetworkOfferings API. 2012-03-08 10:02:34 -08:00
bfederle 08bc9d0e44 UI: Networks section fix
Fix broken detail view when viewing other users' networks as admin
2012-03-02 11:07:12 -08:00
Jessica Wang 0441508e19 delete account, delete network offeirng, delete guest network - use 'remove' instead of 'destroy' since their definitions have been switched. [reviewed-by: Brian] 2012-03-01 16:58:57 -08:00
Jessica Wang 23a5cf2570 Network page - detail view - make API call to refresh data when Refresh button is clicked. [reviewed-by: Brian] 2012-03-01 11:35:59 -08:00
Jessica Wang 50b7830ee3 bug 13971: network page - create network - pass new API parameter zoneId to listNetworkOfferings API. [Reviewed-by: Brian] 2012-02-23 17:04:05 -08:00
Brian Federle 30f968e137 bug 13922
-Fix enable static NAT never completing if detail view was not visible
 -- caused by JS error in widget

-If detail view isn't visible anymore, don't show post-enable/disable
 NAT dialog which refreshes list view

status 13922: resolved fixed
reviewed-by: jessica
2012-02-22 12:06:38 -08:00