Commit Graph

267 Commits

Author SHA1 Message Date
Pranav Saxena 2cd6382f73 CS-16133:Removing the infinte API add load balancer calls in a basic zone while adding VMs to create a lb rule 2012-08-23 01:21:20 +05:30
Brian Federle 59743018e6 VPN Customer Gateway: Fix missing capital letters 2012-08-16 11:33:16 -07:00
Jessica Wang e6130d3384 CS-16018: cloudstack 3.0 UI - create VPN Customer Gateway - IKE DH, Perfect Forward Secrecy dropdown - restore blank option back and label it as "None". 2012-08-16 11:24:02 -07:00
Pranav Saxena 9ac17b35db CS-16018:InterVlan- Blank Options on Add VPN Customer Gateway replaced by Group2mod(1024p) 2012-08-16 21:27:14 +05:30
Pranav Saxena 1ec3fed0e6 CS-16019:InterVlan CIDR list in Add VPN Customer Gateway doesnt let the User know that CIDR list is a comma seperated list 2012-08-16 20:53:51 +05:30
Pranav Saxena 938498c7fe CS-15962:InterVlan-Router details tabs to be visible only for admin and hidden for regular accounts 2012-08-16 16:56:15 +05:30
Jessica Wang 6c33763d86 cloudstack 3.0 UI - VPN Customer Gateway - IKE DH field, Perfect Forward Secrecy field - change option description of to 'Group 2(modp1024)', 'Group 5(modp1536)'. 2012-08-15 13:59:28 -07:00
Jessica Wang 07efdb6409 cloudstack 3.0 UI - IP Address page - detailView - Network Name is referring to name of associated network. 2012-08-15 11:41:38 -07:00
Brian Federle dc07b2e3e6 VPC UI: Fix IP details when no network is present 2012-08-15 10:28:14 -07:00
Jessica Wang aa9dd422d9 CS-15985: cloudstack 3.0 UI - IP Address page - should use associatednetworkid instead of networkid when trying to grep an IP Address' parent network. 2012-08-14 12:35:41 -07:00
Brian Federle e986d03fc9 CS-15916: Show network name in IP details
Conflicts:
	ui/scripts/network.js
2012-08-14 12:35:33 -07:00
Jessica Wang 1fd771f871 cloudstack 3.0 UI - DeleteVpnCustomerGateway API response name has been changed, here is corresponding UI change. 2012-08-14 10:10:03 -07:00
Pranav Saxena 9c6254046a CS-15976:when vpc fails to create, UI keeps on showing that the creation is in progress 2012-08-14 17:24:07 +05:30
Jessica Wang cc2dec9fe1 cloudstack 3.0 UI - network page - LB listing - VM listing - VM name - no need to choose between id, displayname, name property in VM object. Always use displayname property in VM object. This also fixes a bug that VM name did not show right after an VM was assigned to a LB rule. 2012-08-13 16:09:06 -07:00
Jessica Wang 9a8089e02c cloudstack 3.0 UI - network page - LB listing - comment out obsolete unused code. 2012-08-13 14:46:02 -07:00
Pranav Saxena 6de089810d CS-15962: Inter VLAN Virtual router tab development under VPC section 2012-08-14 01:16:11 +05:30
Pranav Saxena 531cfa76f4 CS-15960:InterVlan - UI - Network-VPC view should list the status of the VPCs 2012-08-13 13:11:54 +05:30
Pranav Saxena 5111fee70c CS-15959:InterVlan - UI - Name Label changes required for Add VPC box parameters 2012-08-13 12:00:25 +05:30
Jessica Wang 0db332887e 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-08 10:22:49 -07:00
Pranav Saxena a5f979355b 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:29:27 +05:30
Brian Federle 469e180515 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.

Conflicts:
	client/WEB-INF/classes/resources/messages.properties
	ui/css/cloudstack3.css
	ui/index.jsp
2012-08-06 14:15:41 -07:00
Jessica Wang feb2ed1d2d 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:26:59 -07:00
Jessica Wang 532806ba13 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 13:25:21 -07:00
Jessica Wang 8b16e32b50 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 13:13:59 -07:00
Jessica Wang 6aee5f2aef cloudstack 3.0 UI - site to site VPN - VPN customer gateway - implement Edit mode.
Conflicts:

	ui/scripts/network.js
2012-08-03 13:24:34 -07:00
Brian Federle 75242b49ce VPC details: Display 'restart required' field 2012-08-03 12:03:57 -07:00
Brian Federle 20b0790753 CS-15809: Show account/domain fields on VPC detail view
Conflicts:
	ui/scripts/network.js
2012-08-03 11:13:32 -07:00
Brian Federle 7fb1e13957 CS-15793: Fix static NAT select when in a VPC network
Conflicts:
	ui/scripts/network.js
2012-08-03 11:07:06 -07:00
Pranav Saxena 20407ec863 CS-15793:Enable static NAT for the public IP address screen is not showing VMs 2012-08-03 15:54:10 +05:30
Jessica Wang 25b75c1bff 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 16:01:34 -07:00
Jessica Wang 47f309af6d cloudstack 3.0 UI - site to site VPN - VPN customer gateway - add name field. 2012-08-02 15:30:15 -07:00
Jessica Wang a902443708 CS-15792: cloudstack 3.0 UI - VPC - pass domainid+account instead of listAll to all listNetworks API calls under VPC section. 2012-08-01 16:10:41 -07:00
Brian Federle 6ad7f2f80b 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:36:46 -07:00
Brian Federle c4e2fe7b74 CS-15760
Don't show Configuration tab for VPC static NAT
2012-07-31 13:44:54 -07:00
Pranav Saxena 9644a62014 CS-15724:S2S vpn- Customer vpn gateway page does not display all the configured parameters 2012-07-31 16:27:50 +05:30
Brian Federle 00af517003 VPC UI: IP address configuration fix
After acquiring a new IP, immeditaly clicking on its configuration tab
will show an enabled firewall, which is incorrect. This fix always
disables the firewall if in a VPC network.
2012-07-26 16:13:57 -07:00
Brian Federle e76f8dc577 Disable listView filters for PF/LB/Static NAT 2012-07-26 15:36:33 -07:00
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