Kris McQueen
0143cbc1e1
changeServiceForVirtualMachine is not an async command since it merely does a database update for the VMs service offering. Change the UI to reflect this.
2010-10-18 11:51:34 -07:00
Kris McQueen
3be625ca6e
The stopVirtualMachine API should return the vm instance rather than a boolean indicating success. The response for async jobs is now under the jobresult property of the JSON response, handle the start/stop virtual machine responses using data from the jobresult rather than expecting some embedded object.
2010-10-18 11:15:07 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Kris McQueen
9c593352d0
Fixing events for async jobs so that there's a scheduled event recorded with appropriate type/description whenever the API framework schedules the async command to run. A few miscellaneous fixes as well uncovered during regression testing (router response was not parsed correctly by UI, etc.)
2010-10-05 20:26:18 -07:00
Jessica Wang
ef67728cea
new UI - instance page - reset password - after action succeeds, show new password in middle menu and details tab when middle menu item is clicked.
2010-10-05 16:59:22 -07:00
Jessica Wang
4fa53720c6
new UI - add shared function enableMultipleSelectionInMiddleMenu(), disableMultipleSelectionInMiddleMenu().
2010-10-05 14:23:18 -07:00
Jessica Wang
426767f9f1
Primary Storage page, Host page - decode text.
2010-10-04 20:08:12 -07:00
Jessica Wang
0763037d5f
decode text returned from API. encode text passed to API.
2010-10-04 19:38:22 -07:00
Jessica Wang
b45b23b50a
Storage page - encode API parameters
2010-10-04 18:17:25 -07:00
Jessica Wang
7ab6a24876
decode text before it displays on UI.
2010-10-04 14:56:44 -07:00
Jessica Wang
ec71530d49
for bug 6381 - add primary storage - shows cluster option when hypervisor is KVM.
2010-10-01 18:36:51 -07:00
Jessica Wang
1924556caf
template page, ISO page - apply shared function todb(), fromdb().
2010-09-30 16:22:56 -07:00
Jessica Wang
e0542260eb
Use shared function todb(), fromdb().
2010-09-30 15:49:44 -07:00
Jessica Wang
9e0fa5abd3
fix bug 6330 - instance page action menu not displaying correctly on IE7.
2010-09-30 11:14:29 -07:00
edison
6fc7528809
create data volume is splitted into two stage:
...
1. create a volume entry in the database,
2. when user attaching the volume to a VM, then actually create the volume on storage pool.
2010-09-29 18:41:54 -07:00
will
031c6fc280
Adding support to indicate hypervisor when registering ISOs
2010-09-29 18:41:54 -07:00
will
3570322ef5
Forgot to add listing of templates by hypervisor
2010-09-29 18:40:51 -07:00
will
67cc587603
Adding some prelim UI to support multiple hypervisors in the hybrid branch
2010-09-29 18:40:51 -07:00
Kris McQueen
2fde826a77
fix up a few merge conflicts from the big merge master->2.1.refactor that were overlooked
2010-09-28 16:35:15 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
Jessica Wang
f08ef8c6d4
fix a bug - Zones page - Direct VLAN IP Range - account field appears twice in view mode.
2010-09-28 15:07:36 -07:00
Jessica Wang
9a4ceb64c0
fix bug 6287 - decode string before displaying on UI.
2010-09-28 10:46:14 -07:00
Kris McQueen
2a4ddac41a
Change getResponse() to return a ResponseObject so that the caller can choose how to serialize. This in in preparation for serializing the async commands to the database with class information and deserializing them into the ResponseObject itself when queryAsyncJobResult is called. Once the ResponseObject is deserialized, the proper string can be returned to the caller.
...
The previous behavior had the JSON response from the command embedded into the queryAsyncJobResult response as a string rather than a JSON object which prevented the client from being able to read the response. With this new behavior an actual JSON object should be returned which can then be parsed on the client side.
2010-09-23 17:34:28 -07:00
Jessica Wang
a6ca920452
for bug 6163 - change direct tagged IP range to no longer restrict it to an account.
2010-09-23 15:25:42 -07:00
Jessica Wang
7b8218af7b
fix bug 6160 - "No disk offering" option is missing when creating VM from templates tab.
2010-09-23 10:57:00 -07:00
Jessica Wang
df82d0bac6
fix bug 6154 - port forwarding should show user-assigned VM name instead of system-assigned VM name.
2010-09-21 20:11:35 -07:00
Jessica Wang
2e98f2c41d
for bug 6153 - prevent startIP being passed twice to UpdatePod API.
2010-09-21 19:37:32 -07:00
Jessica Wang
d117da5f7d
fix bug 6153 - when editing a private IP range, just modifying the ending of the IP range will throw an error.
2010-09-21 19:30:39 -07:00
Kris McQueen
50da0d918f
The sanitizeXSS function only sanitizes strings and leaves other types unchanged.
2010-09-21 18:23:40 -07:00
Jessica Wang
23bb32dcde
fix bug 6130 - when attaching volume, running and stopped VMs not displayed consistently.
2010-09-21 18:11:10 -07:00
Jessica Wang
039cb78173
fix bug 6127 - change text on confirmation box on VM destroy.
2010-09-21 17:55:40 -07:00
Jessica Wang
4e9b1239ce
cross-site scripting - sanitize only value whose type is string.
2010-09-21 17:42:26 -07:00
Jessica Wang
67cfa3582e
new UI - volume page - implement Recurring Snapshot action.
2010-09-21 16:18:40 -07:00
Jessica Wang
0435d99247
new UI - volume page - implement delete volume action.
2010-09-21 11:55:12 -07:00
Kris McQueen
ebd06ae6f3
List clusters was using the name of the command rather than the name of the cluster to search for clusters, which was resulting in no clusters returned. Fixed. CreateStoragePool was returning an array of one pool every time, simplified it to just return the pool and changed the UI to expect one pool rather than an array. Fixed the backend code for creating a storage pool to (a) generate a UUID based on host name, path, and a timestamp and (b) to list only active storage pools when checking for duplicates. This allows a storage pool to be create with the same path as a pool that had previously been deleted.
2010-09-20 19:08:52 -07:00
Jessica Wang
74bd85a3c0
current UI - create disk offering - minimum size of disk offering changes from 1 to 0
2010-09-17 15:39:59 -07:00
Jessica Wang
4c78c6304d
current UI - add host - send clustername parameter when calling addHost API
2010-09-17 10:19:06 -07:00
edison
d933f19d35
bug 5800: add cluster for KVM
...
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
Jessica Wang
37d82c8aa7
new UI - instance page - volume tab - show different action link for each volume depending on volume type and vm state.
2010-09-10 11:40:37 -07:00
Jessica Wang
87820eeb98
new UI - instance page - volume tab - add action links (detach disk, create template).
2010-09-09 17:47:37 -07:00
jessica
91e3f8e89e
fix bug 6050 - extend pagesize to 500
2010-08-31 11:37:13 -07:00
jessica
01508aa6b3
Issue #: 5945 - replace all content/tab_xxxxxxx.html with jsp/tab_xxxxxxx.jsp
2010-08-26 11:53:10 -07:00
jessica
111f88a1dc
Issue #: 5953 - show remove link when host status is disconnected
2010-08-25 16:48:16 -07:00
jessica
3c92e52886
Issue #: 5785 - support non-ascii character like euro character
2010-08-25 15:51:01 -07:00
jessica
c17cda2a37
resolve failed merge markers
2010-08-20 18:15:24 -07:00
Jessica Wang
65b9f29941
Issue #: 5975
...
(1) API-side: make listDomains, ListDomainChildren return all items
(2) UI-side: make domains page show all domains by specifying pageSize=-1
2010-08-20 17:39:40 -07:00
Jessica Wang
275785404c
Add Host - vlidate cluster section only if xenserver is xenserver
2010-08-18 11:30:01 -07:00
Jessica Wang
1849d4a6b1
Issue #: 5894
...
Create Template from Snapshot dialog - add password dropdown field
2010-08-17 14:25:54 -07:00
Jessica Wang
66ccd6f7ad
(1) When hypervisor.type is kvm, allow option to add host in UI.
...
(2) When when hypervisor.type is kvm, hide cluster section in add host dialog.
2010-08-13 18:19:55 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00