Commit Graph

3221 Commits

Author SHA1 Message Date
Brian Federle f72434261c CLOUDSTACK-352: Fix user dashboard VM count
Pass listAll=true to user dashboard API call, so domain admin can see totals
for all user VMs.
2012-10-15 14:23:42 -07:00
Brian Federle 7e704d1b3d Fade-in notification widget on show 2012-10-15 10:05:24 -07:00
Rohit Yadav 4c69cac42e CLOUDSTACK-341: Fix incorrect js object in system.js
Use correct object in system.js that fixes the issue of management traffic
details not getting loaded as it fails on type error.

Fixes regression introduced in 95b6a5eeda
2012-10-14 20:53:18 +05:30
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
Jessica Wang 7cac7ff2c7 cloudstack UI - left navigation - group menus for the same role. 2012-10-12 14:06:55 -07:00
Hugo Trippaers c07d6d28ee Merge branch 'nicira-l3support'
This commit merges the nicira-l3support branch with master. This
effectively adds nicira nvp l3 support to master. The NiciraNVP Provider
can support the following services with this modification: Connectivity,
SourceNat, StaticNat and PortForwarding

Testing done:
Create, Delete network offerings with Nicira Element
Use Gui to add, modify, remove Nicira Element and Provider
Provision, deprovision SourceNat networks
Provision, deprovision Portforwarding and StaticNat rules

Tested with Nicira NVP release 2.1.0, 2.2.0 and 2.2.1 (2.2.x recommended)
2012-10-12 14:15:17 +02:00
Jessica Wang e73cbfe6a9 CS-16344: cloudstack UI - multiEdit widget - remove isOptional property, isDisabled property from field level since they are supposed to be on field.range level. 2012-10-11 14:07:03 -07:00
Brian Federle ea934c1a02 Update advanced search styling
- Add cancel button

- Move search buttons to the right
2012-10-11 13:27:07 -07:00
Brian Federle 44996d4611 Style advanced search
-Convert advanced search to a drop-down that overlaps the standard
 search when visible

-Add new arrow icon to show advanced search popup
2012-10-11 12:13: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
Jessica Wang ad280bd174 CLOUDSTACK-228: cloudstack UI - host page - hide Force Reconnect option when host state is Disconnected. 2012-10-10 12:40:39 -07:00
Brian Federle 65a526fa54 Quick view: fix for dialog actions
In some cases, clicking out of an overlayed dialog will cause an open
quick view to become stuck. This fixes via a new class 'hovered-elem'
which, when attached to any DOM element, will have its 'mouseleave'
triggered once the dialog is closed.
2012-10-10 11:18:03 -07:00
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 7af3f6ef94 cloudstack 3.0 UI - instance page - listView - not pass details=min to API call since nic and securitygroup info is needed here. 2012-10-05 15:21:47 -07:00
Jessica Wang e7e486204e cloudstack UI - dialog widget - introduce new property isDatepicker. 2012-10-05 11:38:47 -07: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 8ea0a230e6 CS-16452: cloudstack UI - dialog widget - call field.selectFn regardless of value of field.isHidden. 2012-10-04 16:58:24 -07:00
Jessica Wang a5c9c560ff cloudstack UI - listView widget - keep advanced search criteria when scrolling down grid when the last search is from advanced search dialog. 2012-10-04 16:30:17 -07:00
Jessica Wang a2a1e19e70 cloudstack UI - add advanced search on Event page. 2012-10-04 15:36:25 -07:00
Jessica Wang 9e1b5b5361 cloudstack UI - event page - add more fields to detailView. 2012-10-04 15:35:55 -07:00
Jessica Wang 1a7dbdc8d9 cloudstack UI - advanced search on project page - add domain dropdown, account text field. 2012-10-04 14:23:24 -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 10d1a0cc6b cloudstack UI - advanced search on snapshot page - add domain dropdown, account text field. 2012-10-04 13:58:45 -07:00
Jessica Wang 90f608d216 cloudstack UI - advanced search on volume page - add domain dropdown, account text field. 2012-10-04 13:50:53 -07:00
Jessica Wang 10a5bdab49 cloudstack UI - regular user in project view - VPC - tier - deploy VM - should pass projectid instead of account parameter to deployVirtualMachine API. 2012-10-04 12:53:54 -07:00
Jessica Wang 939e060e2e cloudstack UI - advanced search on instance page - domain field - add blank option, so admin has a choice to see all domains instead of being forced to stick with one domain for each search. 2012-10-04 12:34:30 -07:00
Jessica Wang f7667e8a88 cloudstack UI - dialog widget - (1) extend field's isHidden property to have function type other than boolean type. (2) do not call field's select function if field's isHidden property is false. 2012-10-04 12:12:19 -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 b8a3524d2e cloudstack UI - advanced search - implement advanced search on project page. 2012-10-03 16:07:16 -07:00
Jessica Wang 3605ee5564 cloudstack UI - advanced search - implement advanced search on ISO page. 2012-10-03 15:56:42 -07:00
Jessica Wang 5dc1d468fe cloudstack UI - advanced search - implement advanced search on template page. 2012-10-03 15:40:26 -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 18a09c9664 cloudstack UI - advanced search - implement advanced search on snapshot page. 2012-10-02 17:03:23 -07:00
Jessica Wang 92864aa023 cloudstack UI - advanced search - instance page - add name field, zone dropdown, tag key field, tag value field. 2012-10-02 16:47:55 -07:00
Jessica Wang 56496a235f cloudstack UI - advanced search - implement advanced search on instance page which has filter dropdown in listView. 2012-10-02 16:38:23 -07:00
Jessica Wang c9bd605029 cloudstack UI - advanced search - after searching, clear basic search input field to avoid confusion of search result. 2012-10-02 16:00:05 -07:00
Jessica Wang c7c6d23762 cloudstack UI - advanced search - add a new shared function listViewDataProvider() to deal with data parameter passed to API call in listView. 2012-10-02 15:40:34 -07:00
Jessica Wang 71355c1941 cloudstack UI - advanced search - volume page - add domain dropdown, account field. 2012-10-02 15:40:00 -07:00
Jessica Wang 6266fcb8f7 cloudstack UI - advanced search - show advanced search icon on listView only when advSearch property is specified. 2012-10-02 15:39:14 -07:00
Jessica Wang 3187bc6d30 cloudstack UI - advanced search - add Tag Key field, Tag Value field in advanced search in volume page. 2012-10-01 16:58:33 -07:00
Jessica Wang 2c6bc0e918 CS-16197: cloudstack UI - Tags - input validation. 2012-10-01 16:07:45 -07:00
Jessica Wang ac31b7d914 CS-15687: cloudstack 3.0 UI - zone wizard - change timer setting for adding netcaler provider. 2012-10-01 13:26:59 -07:00
Pranav Saxena 4d458c988a CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes to reset the default value Reviewed-By:Brian 2012-10-02 00:12:51 +05:30
Saksham Srivastava 63f7c12333 no error message when we upload volume whose size is greater than storage.max.volume.upload.size value 2012-10-01 22:54:39 +05:30
Hugo Trippaers c9b0b0b1a9 Add Nicira configuration to the UI 2012-09-30 23:33:37 -07:00
Pranav Saxena 4530af1bee CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes 2012-09-29 12:12:20 +05:30
Jessica Wang 295e228819 bug 15089: cloudstack UI - domain page - get volume count and VM count from listAccounts API response that has volumetotal property and vmtotal property under each account object. listVolumes API and listVirtualMachines API are no longer called when domains are clicked in domain page. 2012-09-28 22:58:34 -07:00
Brian Federle d266ac9f84 Instances details: Show host name 2012-09-28 12:17:52 -07:00
Brian Federle 6366eeec36 CLOUDSTACK-178: Show VM host name instead of internal name 2012-09-28 12:11:24 -07:00
Hugo Trippaers d4d82fa3f7 This name makes more sense 2012-09-28 11:33:14 -07:00
Brian Federle 69f6e33a65 CS-16413: Fix load time for infrastructure main page
-Disable API calls for infrastructure page
-Re-style infrastructure labels
2012-09-28 11:30:42 -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
Jessica Wang c99a3c6ee9 CS-16197: cloudstack UI - Tags - output encoding. 2012-09-27 17:40:43 -07:00
Jessica Wang 80ad7dd930 CS-16413: cloudstack UI - domain page - pass details=min to listAccounts API. 2012-09-27 15:09:04 -07:00
Jessica Wang b885809638 CS-16407: cloudstack UI - Infrastructure page - total number of Virtual Routers should include both project type and account type. 2012-09-27 12:13:52 -07:00
Jessica Wang d7508a4cea CS-16407: cloudstack UI - Infrastructure page - zone - Physical network - Guest - network tab - make 2 API calls to get guest networks. The first one is to get guest networks under all projects. The 2nd one is to get guest networks that are not under any project. 2012-09-27 11:52:32 -07:00
Mice Xia 77520e0bc8 CLOUDSTAK-214 Local storage usage data format is incorrect in zoneChart 2012-09-27 12:10:59 +08:00
Jessica Wang 45360b7a57 cloudstack UI - advanced search - introduce new property "advSearchFields" to lsitViewData. 2012-09-26 15:17:00 -07:00
Jessica Wang d09b46751c cloudstack UI - advanced search - extend listView widget to pass data on Advanced Search Dialog to data provider. 2012-09-26 11:04:39 -07:00
Jessica Wang 645527dbf7 cloudstack UI - advanced search - use cloudStack.dialog.createForm() 2012-09-25 16:31:05 -07:00
Jessica Wang 3a313ee1ff CLOUDSTACK-110: cloudstack UI - domain page - allow root domain to have Edit option, but only network domain field is editable, Resource Limits fields and domain name field is not editable. 2012-09-24 16:49:09 -07:00
Jessica Wang a3c80ebf4e CLOUDSTACK-109: cloudstack UI - (1) detailView widget - pass context to isEditable() when calling it. (2) account page - Edit action - allow to update network domain on system-generated default admin account. 2012-09-24 16:05:32 -07:00
Jessica Wang 309be015ce CLOUDSTACK-109: cloudstack UI - (1) account page: fix a bug that system-generated default admin account wrongly had enalbe/disable/lock/remove option. (2) user page - fix a bug that system-generated default admin account user wrongly had enable/disable/remove option. 2012-09-24 16:05:00 -07:00
Brian Federle 951c124166 CLOUDSTACK-154: Show network details for virtual router
-Adds new NICs tab, to display network information for each router
 NIC, including network name

-Show guest network ID field on router details tab
2012-09-24 13:59:44 -07:00
Jessica Wang edc6b4c6da cloudstack UI - listView widget - basic search - fix a bug that happened on IE browser that clicking Enter key didn't do the searching. 2012-09-20 15:25:50 -07:00
Brian Federle 93c84c8291 CLOUDSTACK-85: Fix instance wizard review hypervisor
Fix hypervisor type not being shown in instance wizard review step
2012-09-18 14:18:48 -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
Jessica Wang 90a649753c Revert commit f090fdeea7 "CS-15292: Split long OS Type list when create Template,ISO." which causes bug 39 (https://issues.apache.org/jira/browse/CLOUDSTACK-39) that blocks QA's testing since QA is unable to select a provider on any service during network offering creation. 2012-09-13 16:04:06 -07:00
Pranav Saxena 125a6fe065 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Pranav Saxena 330c89ce59 CS-16328:UI not calling the listCapacity correctly 2012-09-13 14:21:52 -07:00
Jessica Wang 8737762bde apache jira CLOUDSTACK-86: cloudstack UI - Instances page - NICs tab - fix a bug that got networkname from a wrong position in array of args.context.instances[0].nic. To correct and simplify it, use API response of "listVirtualMachines&details=nics&id=N" instead of API response of "listVirtualMachines&id=N" in $.map(). 2012-09-13 14:17:03 -07: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
Jessica Wang fbdd65fe6b CS-16046: cloudstack 3.0 UI - Edit zone - Local Storage Enabled field is a true/false field. Make it a checkbox in Edit mode. 2012-09-12 12:25:32 -07:00
Koushik Das 65eeeaf071 CS-14277
Support for local data disk. Currently enable/disable config is at zone level, in subsequent checkins it can be made more granular.
    Following changes are made:
    - Create disk offering API now takes an extra parameter to denote storage type (local or shared). This is similar to storage type in service offering.
    - Create/delete of data volume on local storage
    - Attach/detach for local data volumes. Re-attach is allowed as long as vm host and data volume storage pool host is same.
    - Migration of VM instance is not supported if it uses local root or data volumes.
    - Migrate is not supported for local volumes.
    - Zone level config to enable/disable local storage usage for service and disk offerings.
    - Local storage gets discovered when a host is added/reconnected if zone level config is enabled. When disabled existing local storages are not removed but any new local storage is not added.
    - Deploy VM command validates service and disk offerings based on local storage config.
    - Upgrade uses the global config 'use.local.storage' to set the zone level config for local storage.
(cherry picked from commit 62710aed37606168012a0ed255a876c8e7954010)
2012-09-11 17:22:43 +05:30
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
Pranav Saxena f20f388bf7 CLOUDSTACK-38:Lable name is getting displayed in place of Network Rate while adding Network offering 2012-09-07 14:46:37 +05:30
Mice Xia dd07d1598f Fix Bug CloudStack-9 can not change OS preference from OS to none 2012-09-04 20:51:03 +08:00
Jessica Wang 5ccca40067 cloudstack 3.0 UI - account page - create account action - encrypt password even md5-hashed is off before passing it to API call. 2012-08-30 14:46:22 -07:00
Brian Federle eb0caf10a2 CS-16218: Only show VPC router details for ROOT admin 2012-08-30 11:01:02 -07:00
Jessica Wang 05fef0fb25 cloudstack 3.0 UI - VPC - localize Configure VPC Chart (Reviewed-by: Brian) 2012-08-29 13:29:44 -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 bbf8bed8ee cloudstack 3.0 UI - VPC widget - localize text (Reviewed-by: Brian) 2012-08-28 15:59:46 -07:00
Jessica Wang 155436870f cloudstack 3.0 UI - tagger widget - localize text (Reviewed-by: Brian) 2012-08-28 14:46:58 -07:00
Brian Federle a52889bb6a CS-16196: Fix VM wizard network selects
-Fixes case where 1 existing network is present, but cannot be
 unchecked when 'add new network' is checked

-Fixes regression with multiple networks and VPC tiers present, where
 unchecking all regular networks will select the hidden VPC network

reviewed-by: jessica
2012-08-28 13:52:15 -07:00
Pranav Saxena 36ce46c319 CS-16190:InterVlan - UI - Non-VPC Virtual Routers are not provided with an option to reboot unlike VPC Virtual Routers- Check on the vpc id being not NULL was making the reboot action hidden for a normal VR ,but if the vpc id is NULL , VPC VR won't exist 2012-08-28 13:31:27 +05:30
Jessica Wang ccfdb151f1 CS-15671: cloudstack 3.0 UI - Migrate SystemVM option, Migrate Router action - host dropdown - listHosts API no longer returns hasEnoughCapacity proprety. So, "Available" or "Full" is removed from dropdown option since "Available" or "Full" is determined by host's hasEnoughCapacity proprety. 2012-08-27 16:35:28 -07:00
Brian Federle 21904cf33b UI, add network offering: Disable VPC virtual router by default
reviewed-by: jessica
2012-08-27 15:32:24 -07:00
Brian Federle 7e591a442d CS-15811: Network offering: filter by VPC supported services
Introduce a new checkbox which indicates that this service offering is
for VPC networks. If enabled, then only show the VpcVirtualRouter
option for all supported services. If disabled, then disable the
VpcVirtualRouter options

reviewed-by: jessica
2012-08-27 15:21:08 -07:00
Jessica Wang f9fdbcddb1 cloudstack 3.0 UI - VPC feature - localize network.js (Reviewed-by: Brian) 2012-08-24 15:41:41 -07:00
Pranav Saxena e4c51e92ef CS-16152:Projects:Not shown max.vpcs entry in the resourcelimits 2012-08-24 05:18:43 +05:30
Brian Federle 00323f0e5a CS-15967: Don't pass projectId=-1 to zone->guest networks list
reviewed-by: jessica
2012-08-23 13:16:42 -07:00