Commit Graph

216 Commits

Author SHA1 Message Date
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
Brian Federle 276bb962b7 UI updates/fixes
reviewed-by: jessica

    Navigation organizational changes

    -Rename 'System' -> 'Infrastructure'

    -Rename 'service offering' -> 'compute offering'
     (including all associated labels)

    -Rename 'Configuration' -> 'Service Offerings'

    -Move hypervisor capabilities under global settings

    -Rename 'Compute' -> 'Compute and storage'

    -Make tab width flexible, to support longer labels

    -bug 13920: Fix static NAT rule listing

    -Fix typo
2012-02-21 19:14:26 -08:00
Jessica Wang bbd7e23a6a IP Address page - iselastic field has been renamed to issystem at server-side. Here is related UI change. [reviewed-by: Brian] 2012-02-21 16:23:01 -08:00
Brian Federle bad588377c bug 13918
Don't show VPN actions if IP's network's offering doesn't support VPN

status 13918: resolved fixed
reviewed-by: jessica
2012-02-21 15:41:12 -08:00
Brian Federle 97cd66e532 bug 13675
Hide unused text fields for ICMP vs TCP selection

status 13675: resolved fixed
reviewed-by: jessica
2012-02-21 13:45:23 -08:00
Jessica Wang 5328076529 bug 13864: IP Address page - add new field Purpose (only shown in Basic zone) [reviewed-by: Brian] 2012-02-20 10:23:02 -08:00
Jessica Wang 7029b74915 bug 13800: remove restriction that only sourceNAT IP can show VPN tab. [reviewed-by: Brian] 2012-02-18 21:43:10 -08:00
Brian Federle 107e4a403e bug 13793
Fix show security group dropdown/listing in project view

status 13793: resolved fixed
reviewed-by: jessica
2012-02-17 15:19:42 -08:00
Brian Federle 4036b342ab bug 13726
Don't show destroy action on network details for shared networks or
networks w/o Source NAT service

status 13726: resolved fixed
reviewed-by: jessica
2012-02-17 14:56:18 -08:00
Brian Federle 2f23bdf54a bug 13727
Show network offering name (read-only) for shared network types (i.e.,
in basic zone)

status 13727: resolved fixed
reviewed-by: jessica
2012-02-17 14:33:04 -08:00
Brian Federle 7fb09673fb Add a few more missing localization labels
reviewed-by: jessica
2012-02-17 14:13:22 -08:00
Brian Federle bdad055933 Add missing localization for LB UI
reviewed-by: jessica
2012-02-17 13:56:26 -08:00
Brian Federle e7e5ff79cd bug 12253: Allow editing of LB rule name/algorithm
-- This also introduced a new capability -- edit rule -- into the
   multiEdit widget. If isEditable: true is set for any fields, then a
   dialog will popup allowing editing of those properties.

status 12253: resolved fixed
reviewed-by: jessica
2012-02-17 13:56:26 -08:00
Jessica Wang f7bf5430ee bug 13639: network page - restart network action - if it's a basic zone, hide cleanup checkbox and pass "cleanup=false" to API. [reviewed-by: Brian] 2012-02-17 13:16:24 -08:00
Brian Federle 143ce15cc7 bug 13667
Fix elems undefined error

status 13667: resolved fixed
reviewed-by: jessica
2012-02-16 18:19:05 -08:00
Brian Federle f95f2b50dd Update UI with latest fixes and localization
reviewed-by: jessica
2012-02-13 17:37:38 -08:00
Brian Federle 985d3dce8f bug 13601
Pass correct VPN state to details panel for non-admin IPs

status 13601: resolved fixed
2012-02-10 13:45:23 -08:00
Brian Federle cb479b529f Localize LB algorithm select 2012-02-10 13:39:32 -08:00
Brian Federle 90fac015a5 Localization for network->ip, security group sections 2012-02-10 13:36:28 -08:00
Jessica Wang d1e6e84451 bug 13554: network menu - network page - Edit network - if network type is Isolated and network offering is changed, pop up a dialog box "Do you want to keep the current guest network CIDR unchanged?". Choosing Yes button will send "changecidr=false" to updateNetwork API. Choosing Cancel button will send "changecidr=true" to updateNetwork API. 2012-02-09 16:41:32 -08:00
Brian Federle 6fed8f102a Localization for network->networks section 2012-02-09 15:58:00 -08:00
Jessica Wang e93af6e1f9 bug 13553: network page - Display "View IP adresses" option only for (1) Isolated networks with SourceNat (2) Shared networks with ELB/EIP/SecurityGroup. 2012-02-09 13:50:30 -08:00
Jessica Wang c6a78e056d bug 13553: network page - display all networks instead of only isolated networks with SourceNAT, shared networks with LB, StaticNat,SecurityGroup. 2012-02-09 13:07:23 -08:00
Jessica Wang c233a5c07e bug 13553: When clicking network on left menu - (1) make network section always available. (2) Check if there is SecurityGroup network, if yes, make SecurityGroup section available in filter dropdown. 2012-02-09 11:57:59 -08:00
Brian Federle d2284e4439 UI: localization
-Put localization wrappers around listView, detailView widgets

-Add initial localization for instances section
2012-02-09 10:39:59 -08:00
Jessica Wang 819cbeee22 bug 13427: network page - create port forwarding rule - don't allow specifying range for private port and public port field. 2012-02-07 14:43:03 -08:00
Jessica Wang 2c3159f1ec bug 13499: remove firewall rule - remove Rule ID from notification message. 2012-02-07 13:53:20 -08:00
Jessica Wang 00e8cededf bug 13497: network page - detail view - add domain field, account field. 2012-02-07 13:28:45 -08:00
Jessica Wang 7bdb86d4a8 network page - remove zoneName, state from listView, add zoneName to detailView. 2012-02-07 11:22:13 -08:00
Jessica Wang c9795a33f6 bug 13030: IP address page - Make EnableVPN action available in any type of IP, instead of only sourceNAT IP. 2012-02-02 10:34:27 -08:00
Jessica Wang 7cdb83abfc bug 13343: network page - don't show "Add guest network" button if basic zone(s) exists. 2012-02-01 17:16:11 -08:00
Jessica Wang 5eea6a5c3c bug 12925: pass account parameter to ListVpnUsers API and createRemoteAccessVpn API. 2012-02-01 13:49:53 -08:00
bfederle 8b55d8b1b0 Fix multiEdit string concat for LB name 2012-01-30 17:21:38 -08:00
bfederle b9caf8652c bug 12971
Allow domain admin to see security groups
2012-01-30 16:36:21 -08:00
bfederle d6ef879b44 bug 13148
Concatenate LB rule name if length too long

status 13148: resolved fixed
2012-01-30 15:45:08 -08:00
Jessica Wang 166ccb45a4 bug 12869: network page - add guest network dialog - add gateway field, netmask field. 2012-01-30 14:59:04 -08:00
bfederle b0b5a7a0d0 Network section: LB/PF fixes
-Fix async poll never clearing when creating LB w/ sticky policy

-Append listAll=true to LB/PF listings, to allow admin to alter other
 users' rules
2012-01-30 14:45:51 -08:00
Jessica Wang 09dc843a64 bug 12869: network page - add guest network dialog - network offerings dropdown - populate Isolated networks with SourceNat service and specifyvlan is false. 2012-01-30 14:18:42 -08:00
bfederle fac99b23dc Network section: VM listing fix
Fix admin not being able to assign VMs for port forward/LB to networks
not assigned to them
2012-01-30 13:46:25 -08:00
bfederle c6a3a63f1f Fix account column in network listing 2012-01-30 13:40:02 -08:00
bfederle 3b4676d384 bug 12091
UI support for adding/removing of VMs from LB rules

status 12091: resolved fixed
2012-01-27 16:27:05 -08:00
bfederle 45a8d4e811 bug 13364: Fix security group listing when in projects mode
status 13364: resolved fixed
2012-01-27 10:55:47 -08:00
bfederle 83bc7d1c81 Remove UI test data 2012-01-27 09:01:57 -08:00
bfederle e6f6437afa Fix syntax errors which break IE7 2012-01-26 15:31:25 -08:00
Jessica Wang 9abf040ffa IP Address page - detail view - configuration tab - use a network's networkOffering's services instead of network's own services to determine whether or not to cross out/disable Firewall, Port Forwarding, Load Balancing icon in configuration chart. 2012-01-26 10:02:08 -08:00
Jessica Wang df45347f3f network page - detail view - Add Load Balancer tab - use a network's networkOffering's services instead of network's own services to determine whether or not to show Add Load Balancer tab 2012-01-25 17:46:27 -08:00
Jessica Wang 079eb0f9eb firewallRuleUiEnabled has been removed from listcapabilitiesresponse API. Here is related UI change. In network page, we now use listnetworksresponse to determine whether or not to show firewall section. 2012-01-25 16:45:47 -08:00
bfederle 4efd42cac1 Network section: IP address action updates
Prompt user to close details/refresh list view after these actions are
performed:

-Enable static NAT
-Disable static NAT

Always do a full refresh after releasing an IP.
2012-01-25 13:58:33 -08:00
bfederle 27e0dfcff9 bug 11798
-Support editing/removal of existing sticky session rules

-Cleanup add sticky session param handling
2012-01-25 11:14:37 -08:00
Jessica Wang fdffe3bce2 IP address page - detailView - after DisableStaticNAT succeeds, empty Virtual Machine row. 2012-01-24 19:10:14 -08:00
Jessica Wang 8ae821e045 IP address page - Add Load Balancer tab - pop up a dialog box after addLoadBalancerRule returns success: "The load balancer rule has been added under IP xxx.xxx.xxx.xxx" 2012-01-24 19:09:44 -08:00
Jessica Wang 2dedf6a20b Auto refresh IP Address listing after enableStaticNAT, diableStaticNAT, release IP action. 2012-01-24 16:58:16 -08:00
bfederle 8156842ae6 -LB sticky policy fixes
-StaticNat refresh fixes
2012-01-24 16:38:59 -08:00
Jessica Wang c5d4adaaea IP Address page - detail View - move 4 fields up. 2012-01-24 16:38:16 -08:00
Jessica Wang 137021fbdd IP address page - show Configuration tab if IP is elastic + non-staticNat + VM Id is null 2012-01-24 16:37:25 -08:00
bfederle 461dd4f6a4 Restore fix to avoid creating sticky twice 2012-01-24 16:07:08 -08:00