Commit Graph

389 Commits

Author SHA1 Message Date
Brian Federle acc71fb735 CLOUDSTACK-766: Support assigning VLAN ID to network
On add network form, if selected network offering has
specifyVlan=true, show VLAN text field.
2013-06-03 11:45:28 -07:00
Jessica Wang 560fa52fdc CLOUDSTACK-2678: portable IP ranges - Associate IP Address - pop up a dialog that have cross zone dropdown (yes/no) and send selected option to API call. 2013-05-28 15:59:37 -07:00
Jessica Wang 6975f6bac6 CLOUDSTACK-2377: UI - network menu - add guest network dialog only allows to add Isolated network, but not shared network. Change label to make it clear. 2013-05-24 10:09:44 -07:00
Pranav Saxena 4fdd0261fe port forwarding issues with the listNics API response parameter 2013-05-23 14:56:32 +05:30
Nitin Mehta c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Jessica Wang df039aab7f CLOUDSTACK-1730: cloudstack UI - IPv6 - network menu - guest network detailView - add IPv6 Gateway, IPv6 CIDR. 2013-04-22 13:32:38 -07:00
Brian Federle 5d05e49fa6 Merge branch 'master' into ui-mixed-zone-management 2013-04-16 11:45:05 -07:00
Jessica Wang 65448791ed CLOUDSTACK-2038: cloudstack UI - mixed zone management - network menu - guest network section - show/hide Add Guest Network action upon selected zone type on top menu. 2013-04-15 14:56:36 -07:00
Jessica Wang f85ab8a26b CLOUDSTACK-2038: cloudstack UI - mixed zone management - network menu - show different sections upon selected zone type on top menu. 2013-04-15 14:34:14 -07:00
Pranav Saxena 97911e9fe6 CLOUDSTACK-779:Enabling Egress rules feature for SRX 2013-04-15 16:28:45 +05:30
Brian Federle 76d1ee54de VM NICs list view: Fix 'VM name' field for VMs without name 2013-04-11 12:29:02 -07:00
Pranav Saxena a194720417 Refactoring the code in network.js to remove the disabling of egress and load balancers tab 2013-04-10 13:59:55 +05:30
Brian Federle d9d6d21b5c VM multiple NICs: Fix broken UI due to API call changes 2013-04-09 14:16:21 -07:00
Pranav Saxena 47dc989675 CLOUDSTACK-1428:[UI] Instance which are created without display name are not visible when added to LB: Using the name property instead in the data flow 2013-04-09 17:02:01 +05:30
Brian Federle 9ca7b82baa Merge branch 'master' into Health-Check-UI
Conflicts:
	ui/css/cloudstack3.css
2013-03-15 11:46:32 -07:00
Pranav Saxena 2094ee682e Health-Check UI development 2013-03-14 17:13:27 +05:30
Brian Federle 66a6520e4d Multiple IPs per NIC: Fixes
-Remove redundant columns from NIC IPs list view

-Fix remove, add action to use correct data from API response
2013-03-13 11:06:48 -07:00
Brian Federle 7566424a0b List view: Subselect UI: Fixes
-Split subselect options into 2 subcategories, 'label' and 'dataProvider'

-Localize subselect label
2013-03-13 11:05:50 -07:00
Brian Federle 70164aa3bb Merge branch 'master' into ui-multiple-nics
Conflicts:
	ui/scripts/network.js
2013-03-13 09:36:06 -07:00
Pranav Saxena 9abb4d5f4b CLOUDSTACK-1539:Editing any parameter in the Network UI results in implementation of IP Reservation. 2013-03-12 19:38:46 +05:30
Brian Federle fd7ce8bb88 Pass VM guest IP to enable static NAT action 2013-03-08 14:38:37 -08:00
Brian Federle ccbad34c05 Fix IP address list view 2013-03-08 11:46:26 -08:00
Brian Federle 03135ce4fa Make primary IP default selection 2013-03-08 10:51:03 -08:00
Brian Federle 3cea7959f5 Don't support secondary IPs on LB VM selection (not supported) 2013-03-08 10:13:49 -08:00
Brian Federle 1c80313702 Fix another typo 2013-03-07 16:22:49 -08:00
Brian Federle f487756999 Fix typo 2013-03-07 16:21:46 -08:00
Brian Federle f6d9190432 Pass vmguestip to add PF rules API 2013-03-07 15:56:01 -08:00
Brian Federle e046364cce LB/PF/NAT UI: Support secondary IP selection
During selection of a VM for LB/PF/Static NAT, show dropdown to select
which secondary IP will apply for the rule being created.
2013-03-06 14:37:26 -08:00
Brian Federle f24ee207c4 Multiple NICs UI: Refactor list view/detail view
Puts secondary IP list view and detail view in dedicated section,
instead of as part of the public IP address section.

Removes conditional API calls from public IP address list/detail view
for secondary NICS.
2013-03-06 12:13:00 -08:00
Brian Federle 4469e6b859 Multiple NICs UI: Fix list view data 2013-03-06 11:26:38 -08:00
Brian Federle e653c02515 Merge branch 'master' into ui-multiple-nics 2013-02-28 12:47:36 -08:00
Pranav Saxena c25a0d8d8e Displaying persistent network property in the detail view for VPC networks 2013-02-28 11:54:04 +05:30
Pranav Saxena 840650f9ff IP address reservation basic UI requirement 2013-02-26 17:16:51 +05:30
Brian Federle 6c8182b6f4 UI: Update IP address server calls to support per-NIC IPs
Update the following actions on IP address section to support per-NIC IP
addresses:

- List IPs -> listNics
- Add IP -> addIpToNic
- Remove IP -> removeIpFromNic

These API calls will be conditionally invoked in place of the existing
calls if a NIC is selected -- i.e., args.context.nics is present
2013-02-25 11:35:41 -08:00
Pranav Saxena bd825109d8 Persistent Networks support - UI functionality 2013-02-01 16:41:29 +05:30
Pranav Saxena 5d8e1f0dff Enabling Egress Rules Feature on the UI 2013-01-31 20:39:09 +05:30
Pranav Saxena 8d0091d7e2 CLOUDSTACK-978:TypeError: instance.displayname is undefined while adding VM's to the LB rule 2013-01-15 21:12:10 +05:30
Pranav Saxena 569ca6d7a3 CLOUDSTACK-725:UI-Error when the Egress rules tab is selected for a network:Hiding the egress rules tab 2013-01-05 04:19:48 +05:30
Brian Federle 368a8e2bda Egress UI: Rename 'CIDR' -> 'Source CIDR' 2012-12-18 11:05:16 -08:00
Jessica Wang d6694abf4d CLOUDSTACK-656: cloudstack UI - network menu - guest network section - detailView - should have only one preFilter(). Consolidate 2 preFilter() into 1. 2012-12-17 11:03:49 -08:00
Brian Federle 5b7b47048b Add missing tooltips
Add missing doc tooltips for the following dialogs:

-Add VPN customer gateway

-Add ISO

-Enter project token

-Add compute offering

-Add system offering

-Add network offering
2012-12-07 13:19:37 -08:00
Brian Federle cd238b4aab Don't show egress rules tab for SRX-based networks 2012-12-06 14:35:30 -08:00
Brian Federle 75e51a03aa Egress UI: Fix columns
-If startport or endport are blank, still show the blank columns to
 keep alignment correct.
2012-12-06 14:35:30 -08:00
Brian Federle 5f1f1e7534 Don't show egress tab for advanced SG zones 2012-12-04 11:22:52 -08:00
Brian Federle 4bab97be3e Hide acquire new IP button if in advanced SG zone 2012-12-04 11:06:35 -08:00
Brian Federle 2514b92e4b Add VPC: Don't list SG-enabled zones
Conflicts:
	ui/scripts/network.js
2012-12-04 10:49:38 -08:00
Brian Federle 1aecd7b42a Egress UI: Make ICMP type/code optional 2012-12-04 10:49:35 -08:00
Brian Federle 77f80ab72d Egress UI: Make start/end port optional 2012-11-30 11:40:10 -08:00
Jessica Wang 8819ec6ea7 CLOUDSTACK-571: cloudstack UI - network menu - guest network section - network detailView - edit action - network offering upgrade is not allowed in Shared network. 2012-11-30 09:35:38 -08:00
Jessica Wang fefec372a2 CLOUDSTACK-565: cloudstack UI - EIP/ELB Basic Zone - Network menu > Guest Network Section > Network detailView > Add Load Balancer tab > Add VMs button: pass current login's domainId and account to listVirtualMachines API. 2012-11-29 11:02:34 -08:00
Jessica Wang 6d8cd9f5c0 CLOUDSTACK-564: cloudstack UI - EIP/ELB Basic Zone - Network menu - Guest Network section - network detailView - Add Load Balancer tab - use jobid from assignToLoadBalancerRule instead of createLoadBalancerRule. 2012-11-29 10:55:51 -08:00
Pranav Saxena 46b16e5917 CLOUDSTACK-557:For createFirewallRule API startport and endport are optional arguments but in UI ports are not optional 2012-11-29 18:26:35 +05:30
Brian Federle 66e04c9bf9 Re-enable network-level egress UI
-Adds complete egress rules tab to the network detail view

-Updated server calls per functional spec

-Add localization labels
2012-11-28 11:57:22 -08:00
Pranav Saxena 936f84bb7b CLOUDSTACK-555:Uncaught TypeError: Cannot read property 0 of undefined in UI while navigating to ipAddresses section under VPC 2012-11-29 00:41:54 +05:30
Pranav Saxena fb9c62ff1c CLOUDSTACK-555:Uncaught TypeError: Cannot read property 0 of undefined in UI while navigating to ipAddresses section under VPC 2012-11-29 00:32:18 +05:30
Jessica Wang 2e3bedda10 CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - fix an JS error "advSgDisabledZones is undefined". 2012-11-27 11:06:34 -08:00
Jessica Wang 08bd175d56 CLOUDSTACK-541: cloudstack UI - Network menu - Guest Network section - network detailPanel - show "View IP Addresses" icon regardless of having SourceNAT service or not. 2012-11-26 14:05:26 -08:00
Jessica Wang 7f40eef920 CLOUDSTACK-538: cloudstack UI - IP Addresses page - Acquire New IP button - If it's under a Basic zone, check whether its network offering is EIP ELB. If yes, show the button. If no, hide the button. 2012-11-26 13:52:19 -08:00
Jessica Wang 1fb80fc6ce CLOUDSTACK-537: cloudstack UI - Advanced SG-Enabled zone - Network menu - guest network section - (1) hide create network button if there is no Advacned SG-disabled zones. (2) create network dialog - zone dropdown - populate only Advacned SG-disabled zones. 2012-11-26 13:12:41 -08:00
Vijay Venkatachalam affc162556 AutoScale: Fixing issues that occurred during rebase with master 2012-11-16 11:04:37 +05:30
Jessica Wang 8fdd0a469a CS-16459: cloudstack UI - network page - When creating Lb rules for a network that is not using netscaler for LB service, AutoScale button is hidden. 2012-11-16 10:57:00 +05:30
Jessica Wang 3785d52b90 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-11-16 10:56:55 +05:30
Jessica Wang 193a8c4edb CS-15863: cloudstack 3.0 UI - autoscale - LB listing - VM listing - hide delete button based on vm displayname instead of vm name (Reviewed-by: Brian) 2012-11-16 10:56:55 +05:30
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 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