326 Commits

Author SHA1 Message Date
Pranav Saxena
e20f599a23 CS-15927:Filter to hide the autoscale VM's through a Regular expression for a Basic Zone 2012-11-16 10:56:54 +05:30
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 b7ccae0dde6f6949e5314036a7aa71460d676316.
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 a8e18f05298218d858c1833e52d2d3e4dd1ab5df.
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 714b0593d3dfaa81af3c13d19a8105d1036954f7.
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