Commit Graph

325 Commits

Author SHA1 Message Date
Pranav Saxena 373d4045c2 CS-15927:Filter to display only Non AutoscaleVMs (name to displayname property change) 2012-11-16 10:56:54 +05:30
Pranav Saxena b8bb6f483e CS-15927:Filter to hide the autoscale VM's through a Regular expression for a load balancer Rule 2012-11-16 10:56:53 +05:30
Jessica Wang ce8fe90aae CS-15863: cloudstack 3.0 UI - (1) extend multiEdit widget to be able to hide actions upon an each item's properties.
(2) IP Addresses page - load balancer listing - VM listing - hide destroy action for autoscale VM.
2012-11-16 10:56:53 +05:30
Pranav Saxena 8bd0012e33 CS-16004:LB rule name , ports validation missing under the load balancers tab for a basic zone autoscale configuration 2012-11-16 10:56:52 +05:30
Jessica Wang 52a9d0e64b 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-11-16 10:56:51 +05:30
Brian Federle a7508c12c6 Add sample _hideFields to loadBalancer 2012-11-16 10:56:51 +05:30
Brian Federle 2ffc381ea1 multiEdit: support hiding fields dynamically via dataProvider
If 'hideFields' array is passed to .success(), then hide the field IDs
specified.
2012-11-16 10:56:50 +05:30
Brian Federle 9076ee5018 CS-15861: Validate form fields before showing autoscale UI
--only applies to new LB rule form, not existing LB rules.
2012-11-16 10:56:47 +05:30
Jessica Wang 4abf8ebeac cloudstack 3.0 UI - autoscale is not supported in VPC. So, hide autoscale button in LB listing in IP Addresses under VPC. 2012-11-16 10:56:46 +05:30
Brian Federle 2bb5cb024f multiEdit widget: Support field pre-filter
If adding a 'fieldPreFilter' option to a multiEdit, the returned array
specifies field IDs to be hidden.
2012-11-16 10:56:45 +05:30
Brian Federle bbfb13a1d9 Merge Autoscaler UI implemetation
This change includes the new dialog box for the CloudStack Autoscaler
implementation. It is accessible by a button ('Autoscaler') that
appears under each LB rule.

This also contains changes to the multiEdit widget to support features
required for Autoscaler:

-Fixes context/data passing to custom button widgets
-Fixes data retrieval for select fields
2012-11-16 10:56:45 +05:30
Brian Federle 70a5a22329 Network list view: Fix incorrect 'acquire new ip' message from appearing
Fixes issue where global flag was sometimes causing the confirm
message to be incorrect for non-VPC acquire IP action.

Conflicts:
	ui/scripts/network.js
2012-11-13 10:52:32 -08:00
Pranav Saxena fda31ab4b7 CS-16767:Add VM's option is not visible while creating Load Balancing Rules with Netscaler [ Basic EIP and ELB Offering] 2012-11-08 14:05:16 +05:30
Brian Federle 13f286158b Disable egress UI, for now 2012-11-05 15:42:11 -08:00
Brian Federle 7707b3b4b3 Update tabFilter for egress rules 2012-11-05 15:42:11 -08:00
Brian Federle c3f1a694ae Add network-level egress UI
Adds new tab to network section details to add/remove/list
network-level egress rules. This tab only appears for isolated source
NAT networks. It is based on the same format as the firewall rule
edit.
2012-11-05 15:42:11 -08:00
Brian Federle a7138d9665 CS-16732: Show virtual router actions on VPC detail view 2012-11-05 15:42:10 -08:00
Brian Federle c91bde7d4b Fix capitalization of 'Site-to-site VPN' 2012-11-05 15:42:10 -08:00
Jessica Wang 29dda3f41a CS-16599: cloudstack UI - guest network page - fix a bug that networkdomain didn't show in a shared network. 2012-11-05 10:39:23 -08:00
Jessica Wang 8dd1991e6d CS-16662: cloudstack UI - IP Address page - VPN tab - pass domainId/account parameter to removeVpnUser API. 2012-10-31 16:30:17 -07:00
Jessica Wang e531763d87 Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - exclude ICMP from Protocol dropdown."
This reverts commit b7ccae0dde.
2012-10-25 12:43:25 -07:00
Jessica Wang 0c96db5898 Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - call listNetworkOfferings API only when the screen is navigated from Guest Network section, but not from VPC section."
This reverts commit a8e18f0529.
2012-10-25 12:42:10 -07:00
Jessica Wang aee0bf3e7b Revert "cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - if Firewall is provided by JuniperSRX, hide Firewall icon when Port forwarding is configured on IP Address."
This reverts commit 714b0593d3.
2012-10-25 12:40:41 -07:00
Brian Federle 062190ccd8 Support IP address and services UI for shared networks
Currently, the IP addresses section and PF/LB/FW rule configuration is
disabled for shared networks; this change enables it for any shared
network with the source NAT service enabled. This makes the UI the
same for how it is with isolated networks.
2012-10-25 12:07:45 -07:00
Jessica Wang 8e2ebb26a8 CS-16573: cloudstack UI - IP Address page, VPN Customer Gateway page - basic search - encode data passed to API call. 2012-10-24 15:07:25 -07:00
Jessica Wang 47c83ef403 CS-16573: cloudstack UI - guest network page - update network - encode data passed to API call. 2012-10-24 14:54:39 -07:00
Brian Federle a96b27b5ac CS-16566: Remove egress rule tab if network ACL not present
-If network ACL feature is not part of a network's offering, then hide
 the egress rule tab

-Also includes code cleanup of network tabFilter
2012-10-24 14:28:02 -07:00
Brian Federle d01bbb9417 Apply same dataProvider map to both ingress and egress rules
-Because the dataProvider for both ingress and egress rules are
 handled the same, use a shared data mapping for both
2012-10-22 17:20:48 -07:00
Brian Federle 7fda33bbd0 CS-16572: Fix missing fields when start port == 0 2012-10-22 16:49:19 -07:00
Brian Federle 8bb273de8f Add tooltips to form fields
-Adds tooltips to all dialog-based form fields, to describe what each
 field represents. The tooltip appears on focus of the field, and
 hides once the field is blurred.

-Documentation content is pulled from a new namespace
 'cloudStack.docs', under docs.js. A new attribute, 'docID' is then
 specified on each createForm field to link the field to a specific
 tooltip string.

-If no docID is specified, then no tooltip is rendered.

-This only applies to the 'generic' forms that are rendered using the
 createForm widget

-This still needs to be localized

Conflicts:
	ui/index.jsp
	ui/scripts/configuration.js
	ui/scripts/network.js
	ui/scripts/ui/dialog.js
	ui/scripts/vpc.js
2012-10-22 15:18:22 -07:00
Jessica Wang 714b0593d3 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - if Firewall is provided by JuniperSRX, hide Firewall icon when Port forwarding is configured on IP Address. 2012-10-18 14:41:06 -07:00
Jessica Wang a8e18f0529 cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - call listNetworkOfferings API only when the screen is navigated from Guest Network section, but not from VPC section. 2012-10-18 14:36:29 -07:00
Jessica Wang b7ccae0dde cloudstack UI - Static NAT, Port Forwarding and Firewall Implementation on JuniperSRX - IP Address page - configuration - Firewall - exclude ICMP from Protocol dropdown. 2012-10-18 14:35:47 -07:00
Jessica Wang 08b074a101 CS-16493: cloudstack UI - IP Address page - hide VLAN for regular-user/domain-admin. 2012-10-12 15:22:15 -07:00
Jessica Wang 318a60fd6a CS-16493: cloudstack UI - guest network page - hide VLAN ID for regular-user/domain-admin. 2012-10-12 14:50:55 -07:00
Rohit Yadav 6dd5c3fd42 CLOUDSTACK-70: Improve restart network behaviour for basic network
If cleanup=true, network elements and resources are shutdown and
reimplemented. Else, shutdown/reimplementation is skipped. Enabled
cleanup checkbox in CS UI.

For both cases, VRs are only deployed for Pods with no running
or starting VRs and Pods having running or starting user vms.

New DAO helpers introduced:
HostPodDao: listByDataCenterIdVMTypeAndStates
DomainRouterDao: listByPodId and listByPodIdAndStates
VMInstanceDao: listByPodId and corrected definition of listByTypeAndState

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-10-11 19:33:26 +05:30
Brian Federle 991557bfb6 UI: Add quick view to table list
For any list view that has a corresponding detail view, adds a tooltip
to display the compact overview of the detail view contents, including
all available actions. This avoids a user from having to click into a
new panel to see more details and actions for an item.

This will happen automatically for any list view with a 'detailView'
sub-option, and will append a new column to the end of each item
row. If 'noCompact: true' is specified in the detailView's options,
then the quick view will not be rendered.

** Note: This also removes the existing list actions for the instances
         and zones tables.

Example, to show a quick view:

listView: {
  detailView: {
    // Specify noCompact: true to not render a quick view
    //
    // noCompact: true
    ...
  },
  ...
}

Conflicts:
	ui/scripts/ui/widgets/detailView.js
2012-10-10 11:18:02 -07:00
Mice Xia a5edef06c9 CLOUDSTACK-256 vpn:As an admin user , not able to delete VPN user which is present in a regular user's network. 2012-10-10 13:43:30 +08:00
Jessica Wang 7b1b9f8e95 cloudstack UI - advanced search - dropdown field - check API permission before making API call. 2012-10-04 17:17:28 -07:00
Jessica Wang c0c0ae1c36 cloudstack UI - advanced search on VPC page - add domain dropdown, account text field. 2012-10-04 14:22:39 -07:00
Jessica Wang d80debcbfe cloudstack UI - advanced search on guest network page - add domain dropdown, account text field. 2012-10-04 14:22:03 -07:00
Jessica Wang e8fd65d867 cloudstack UI - advanced search - implement advanced search on security group page. 2012-10-03 16:28:57 -07:00
Jessica Wang 3e1957933e cloudstack UI - advanced search - implement advanced search on VPC page. 2012-10-03 15:03:05 -07:00
Jessica Wang ea91662485 cloudstack UI - advanced search - implement advanced search on network page. 2012-10-03 14:49:59 -07:00
Jessica Wang 2214ba6c17 CS-16344: cloudstack UI - Port Forwarding section - add port ranges back to private port and public port. 2012-09-28 10:58:10 -07:00
Mice Xia 11b42481e1 CLOUDSTACK-114 UI - VPC related Network Offerings should not be provided as options to create a guest network for the Account before a VPC is actually present with the Account 2012-09-18 11:18:44 +08:00
Mice Xia cf5d7f879f CLOUDSTACK-115 UI - Currently there is no way an User can specify network domain suffix to an Isolated Guest Network on the UI. 2012-09-18 11:18:44 +08:00
Mice Xia 25e99e9c4d CLOUDSTACK-87 VMs in Expunging state should be excluded from VM listView for staticNat/portForwarding/loadbalance 2012-09-13 11:21:11 +08:00
Mice Xia 8a008ecd16 CLOUDSTACK-82 enable static nat button is not working in UI 2012-09-13 11:21:11 +08:00
Alena Prokharchyk d6b6529951 Revert "CLOUDSTACK-70: Improve Network Restart Behaviour for Basic Zone: Restarting Network Fails"
This reverts commit ecd1ac214c.
2012-09-10 16:34:21 -07:00
Rohit Yadav ecd1ac214c CLOUDSTACK-70: Improve Network Restart Behaviour for Basic Zone: Restarting Network Fails
If cleanup=true, removes all VRs and creates VR, implements network.
If cleanup=false, skips running VRs, implements network for stopped/deleted VRs.

Signed-off-by: Rohit Yadav <rohit.yadav@citrix.com>
2012-09-10 14:13:24 +05:30
Brian Federle eb0caf10a2 CS-16218: Only show VPC router details for ROOT admin 2012-08-30 11:01:02 -07:00
Pranav Saxena d134a63ea8 CS-16147: Always show VPC section and VPN customer Gateway if advanced zone is present 2012-08-29 13:28:00 +05:30
Pranav Saxena ad78a0e918 CS-16201:Network Page drop down shows VPN Customer Gateway even in Basic Zone 2012-08-29 12:30:47 +05:30
Pranav Saxena 8884febe44 CS-15962: Inter VLAN Virtual router tab development under VPC section -fixing a typo 2012-08-29 11:11:40 +05:30
Jessica Wang f9fdbcddb1 cloudstack 3.0 UI - VPC feature - localize network.js (Reviewed-by: Brian) 2012-08-24 15:41:41 -07:00
Brian Federle c0b92958ef CS-16001: Show VPC router details for domain admins 2012-08-23 12:26:03 -07:00
Jessica Wang b5d00724fa cloudstack 3.0 UI - basic zone - elastic IP - Add Load Balancer tab - Add VMs button - add a comment to specify code area. (Reviewed-by: Brian) 2012-08-23 10:40:05 -07:00
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