Commit Graph

230 Commits

Author SHA1 Message Date
Brian Federle 21290ef8f1 Networks section: Only show VPC dropdown for Advanced zones 2012-07-26 15:22:03 -07:00
Pranav Saxena 12ee8810f6 TAGS feature implementation throughout CloudStack UI 2012-07-24 15:36:43 -07:00
Brian Federle 8683fc4e05 Add tag UI support for VPC resource types:
-        Vpc,
-        NetworkACL,
-        StaticRoute
2012-07-24 15:26:59 -07:00
Brian Federle 5126ca95e6 Add tags to FW rule multi-edit 2012-07-24 15:26:27 -07:00
Brian Federle c839cf68a6 Add tags to edit PF dialog 2012-07-24 15:25:57 -07:00
Brian Federle a59afac31f Add tag edit to LB rule 2012-07-24 15:25:57 -07:00
Jessica Wang ee9074a175 cloudstack 3.0 UI - VPC - sync VPC UI from citrix-hosted repo to apache-hosted repo. 2012-07-20 14:12:53 -07:00
Brian Federle 262bbbe800 Add block to show/hide tier select
-- Hidden by default, needs real conditional code
2012-07-10 15:41:23 -07:00
Brian Federle 9f093817f3 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:41:23 -07:00
Brian Federle dd52157f09 Add code to show/hide 'tiers' header fields 2012-07-10 14:57:07 -07:00
Brian Federle 7de02b6d5c Update dummy tier data 2012-07-10 14:57:05 -07:00
Brian Federle 081f1e335d Add header fields 2012-07-10 14:57:05 -07:00
Brian Federle b000b8047e 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:24:07 -07:00
Brian Federle c347c6bd09 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:51:56 -07:00
David Nalley 9687520712 applying Chip Childer's patches for license headers in the ui directory 2012-06-26 10:46:53 -04:00
Brian Federle 07fd2cab6d 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:14 -07:00
Jessica Wang 05964ea465 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:33:08 -07:00
Jessica Wang 33ce7933cc 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:03:17 -07:00
Jessica Wang 2e2e5ee59d 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:27:03 -07:00
Jessica Wang 30c938aaa9 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 12:42:46 -07:00
Jessica Wang 3715d1aef2 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 11:31:14 -07:00
Jessica Wang 93d6b668a2 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-15 16:19:41 -07:00
Jessica Wang e1f6b1b125 cloudstack 3.0 UI - IP Address page - args.id is obsolete. Use args.context.ipAddresses[0].id instead. 2012-05-15 16:04:44 -07:00
Jessica Wang 6ab317b60f cloudstack 3.0 UI - IP Address page - action filter - optimize status handling. 2012-05-15 15:44:38 -07:00
Brian Federle 71ee805f7d 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:54:02 -07:00
bfederle 562dd29bfb 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:04:55 -07:00
bfederle a206683268 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:15 -07:00
Jessica Wang 52f82d33ea cloudstack 3.0 UI - IP Address page - listView - remove dummy filter. 2012-05-07 15:39:39 -07:00
Jessica Wang f86e9f9eea 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:19:03 -07:00
Jessica Wang 177c5277c8 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:11:36 -07:00
Jessica Wang 0c33016c9f cloudstack 3.0 UI - security group - ingress rule - fix a bug that Account, Security group failed to be translated. 2012-04-11 17:29:19 -07:00
Jessica Wang 38e54d35e0 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:18:55 -07:00
Brian Federle bd58de20fc bug CS-14419
Add error handling for delete security group action

status CS-14419: resolved fixed
2012-04-11 11:51:03 -07:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Brian Federle 0e1a245c56 bug 14556: Add missing page + pageSize params to PF/LB list view 2012-03-30 14:53:02 -07:00
Jessica Wang 297ec02dea 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:53:10 -07:00
Jessica Wang 7da24db79b Revert - bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 20:25:35 -07:00
Jessica Wang afb148a38c bug 14532: cloudstack 3.0 UI - IP Address page - StaticNAT IP - NAT Port Range - protocol dropdown - add ICMP option 2012-03-28 19:32:44 -07:00
Jessica Wang 217982840e bug 14482: IP Address page - remove IP action - after action is finished, remove the IP from listView and close detailView. 2012-03-26 15:06:47 -07:00
Jessica Wang 95b0f51064 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:16:14 -07:00
Jessica Wang d7cd27d923 cloudstack 3.0 UI - network page - detail view - pass listAll=true for now until API is fixed. 2012-03-21 16:31:44 -07:00
Brian Federle 6ef16cb79f bug 14351: Show VM name in PF, instead of UUID 2012-03-21 10:26:48 -07:00
Brian Federle a184660028 Remove trailing comma 2012-03-21 09:56:40 -07:00
Brian Federle a1099e34c2 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:40 -07:00
Brian Federle 5333ee1549 Fix admin not being able to view users' network details 2012-03-21 09:56:40 -07:00
bfederle 1a39682cd5 Fix case where LB instance list is empty 2012-03-20 16:29:34 -07:00
bfederle b6b4c893f8 bug 14352
Show internal VM names instead of IDs for LB rule
2012-03-20 16:29:33 -07:00
Jessica Wang ad74b396dc 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:56:08 -07:00
Jessica Wang b46a2340be 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:30:25 -07:00
Jessica Wang 13a9a98ef4 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:17:40 -07:00
Jessica Wang 1c4f580a85 cloudstack 3.0 UI - guest network - show Edit action for Isolated network. Show Restart action for all networks. 2012-03-13 15:15:54 -07:00
Jessica Wang 11b4e2c37e 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:13:14 -07:00
Jessica Wang 346e543582 Network page - Add guest network dialog - network offering dropdown - pass guestiptype instead of type to listNetworkOfferings API. 2012-03-08 10:03:41 -08:00
bfederle 9f260fb37b UI: Networks section fix
Fix broken detail view when viewing other users' networks as admin
2012-03-02 11:06:47 -08:00
Jessica Wang 7e9393ec2f delete account, delete network offeirng, delete guest network - use 'remove' instead of 'destroy' since their definitions have been switched. 2012-03-01 16:59:40 -08:00
Jessica Wang db7e262181 Network page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:36:49 -08:00
Jessica Wang 9ff7056820 bug 13971: network page - create network - pass new API parameter zoneId to listNetworkOfferings API. [Reviewed-by: Brian] 2012-02-23 17:18:50 -08:00
Brian Federle 84b18473e7 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
2012-02-22 12:04:18 -08:00
Brian Federle ba0044fa0d bug 13920: Fix static NAT rule listing
status 13920: resolved fixed
2012-02-21 19:03:24 -08:00
Jessica Wang ec41f31dc6 IP Address page - iselastic field has been renamed to issystem at server-side. Here is related UI change. 2012-02-21 16:24:03 -08:00
Brian Federle a9e8240618 bug 13918
Don't show VPN actions if IP's network's offering doesn't support VPN
2012-02-21 15:40:41 -08:00
Brian Federle 9d954fa815 bug 13675
Hide unused text fields for ICMP vs TCP selection
2012-02-21 13:44:34 -08:00
Jessica Wang 1dfe656f2a bug 13864: IP Address page - add new field Purpose (only shown in Basic zone) 2012-02-20 10:24:08 -08:00
Jessica Wang b0671726e3 bug 13800: remove restriction that only sourceNAT IP can show VPN tab. 2012-02-18 21:45:24 -08:00
Brian Federle 56a54819d3 bug 13793
Fix show security group dropdown/listing in project view

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

status 13726: resolved fixed
2012-02-17 14:55:23 -08:00
Brian Federle ce4368c679 bug 13727
Show network offering name (read-only) for shared network types (i.e.,
in basic zone)

status 13727: resolved fixed
2012-02-17 14:32:39 -08:00
Brian Federle 80e4b5ef7c Add a few more missing localization labels 2012-02-17 14:12:53 -08:00
Brian Federle f223d8086c Add missing localization for LB UI 2012-02-17 13:54:23 -08:00
Brian Federle 380689be88 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
2012-02-17 13:39:20 -08:00
Jessica Wang 9ea214062c bug 13639: network page - restart network action - if it's a basic zone, hide cleanup checkbox and pass "cleanup=false" to API. 2012-02-17 13:17:39 -08:00
Brian Federle d3f98d5ba2 bug 13367
Fix elems undefined error
2012-02-16 18:16:54 -08:00
Brian Federle 06ac144e34 bug 13638
Hide VLAN/CIDR on network details when zone type = basic

status 13638: resolved fixed
2012-02-13 17:29:47 -08:00
Brian Federle 68f602f3fa bug 13653
Always use context for network object, to avoid bug when network
response is empty

status 13653: resolved fixed
2012-02-13 17:29:47 -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