abhishek
baa28d2022
returning serverapiexceptions for prepare and cancel pool maintenance; making it consistent with other pieces of code
2010-11-04 13:40:10 -07:00
abhishek
55e9378f9a
don't set state to errorinmaintenance if cancel maintenance encounters a ps with a state !=Maintenance
2010-11-04 13:35:57 -07:00
abhishek
d96a1a841d
adding logic to prevent commands from being sent to the pool when it is NOT up; also adding better thread safety and db locking, along with a general refactor
2010-11-04 13:35:57 -07:00
Chiradeep Vittal
271f5a5255
fix some unused warnings
2010-11-04 11:54:14 -07:00
Chiradeep Vittal
8b846b07a7
fix some unused warnings"
2010-11-04 11:54:14 -07:00
Chiradeep Vittal
6b33a98573
bug 6981: merge in stuff for bug 6807 from 2.1.x
2010-11-04 11:54:14 -07:00
Chiradeep Vittal
8e2e04a86e
bug 6981: merge in stuff for bug 6807 from 2.1.x
2010-11-04 11:54:14 -07:00
abhishek
898990a11d
fixing the npe which occurs when we list zones from 8096. this has a null account.
2010-11-04 11:36:08 -07:00
edison
5a173ad363
bug 6932: add create private template from volume command support for KVM
...
status 6932: resolved fixed
2010-11-04 11:00:29 -07:00
abhishek
89f0c455e3
fixing the vm creation issue
2010-11-04 10:47:59 -07:00
abhishek
137fe40c46
fixing the zone creation bug
2010-11-04 09:47:39 -07:00
nit
7dc7a4838a
bug 4286: Fixing the extract functionality for Upload after new API framework. Also added a check to avoid system created templates and ISO's from getting extracted as per Mike.
...
status 4286: resolved fixed
2010-11-04 19:09:38 +05:30
will
6dea64c63a
No clue how someone could have checked in this code since it doesn't compile. <cough> Chiradeep <cough>
2010-11-03 22:24:24 -07:00
will
f907e370d1
- Added the rest of the VPN UI feature with the exception of displaying the preshared key.
...
- AddVpnUserCmd will now return the embedded object.
- Fixed RemoteAccssVpnResponse to return "iprange" instead of "ipRange"
2010-11-03 22:24:22 -07:00
abhishek
84ee08430a
making changes to the list zones flow, to add the domain name to the table, and return it
2010-11-03 22:08:32 -07:00
Alex Huang
0fdca8be9a
changed back so everyone else can start the old way
2010-11-03 21:18:31 -07:00
Alex Huang
9bb05d3ef8
harmony amongst joins
2010-11-03 21:18:31 -07:00
Alex Huang
a0cb58aad2
Harmony amongst gurus
2010-11-03 21:18:31 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
abhishek
8e54a40b46
fix for the ui to consume for the disk offering
2010-11-03 20:05:37 -07:00
Jessica Wang
3deb7580bb
Create Disk Offering - make disksize optional
2010-11-03 19:48:35 -07:00
Kelven Yang
d748010da3
Create Template from volume and snapshot for vmware
2010-11-03 19:18:54 -07:00
abhishek
2303afe55c
making changes for disk offerings with a new column called customized being added, for the UI to cosume whilst deploying vm with an arbitrary volume size. The UI will use this value to set the right size and the offering will ensure the right tags are taken.
2010-11-03 17:45:52 -07:00
Chiradeep Vittal
f182efc279
When starting a remote access VPN, send down all the users as well
2010-11-03 16:40:44 -07:00
alena
2939e90d66
Build response the same way for create/list/update IPForwardingRule.
2010-11-03 15:49:51 -07:00
abhishek
7674df6c7a
fixing the merge conflicts
2010-11-03 15:39:16 -07:00
abhishek
46497e3aad
making changes for the private/public zones enhancement, for the UI to consume. The list method has been changed to return visible zones based on the user's credentials, or if the domainId for private zone listing is specified. In the update zone cmd, we do not allow updating private zone once it has been associated with a domain. This might change in the coming releases.
2010-11-03 15:39:16 -07:00
alena
6bd87ca161
Return "status" field in StoragePoolResponse. Status can be Up, Maintenance, ErrorInMaintenance
2010-11-03 14:59:00 -07:00
alena
52a8370102
bug 6955: return embedded object for PreparePrimaryStorageForMaintenance
...
status 6955: resolved fixed
2010-11-03 14:30:35 -07:00
Chiradeep Vittal
dd5e26e701
Allow more chars in username, password
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
e1cb94831f
VPN users feature complete
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
0dd19c197b
VPN users API -- WIP
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
14613415e1
VPN users API -- WIP
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
b6d3b3c184
users for vpn -- data model
2010-11-03 14:02:12 -07:00
edison
437ca41b27
fix sb's typo
2010-11-03 13:23:59 -07:00
edison
f3cc113525
bug 6933: send the snapshot related command to host on which vm created for kvm
...
status 6933: resolved fixed
2010-11-03 13:03:21 -07:00
alena
4a645cdeb0
Return embedded Volume object for create/attach/detach Volume commands.
2010-11-03 13:07:06 -07:00
alena
15a316484e
Fixed deleteZone API - used to return empty response instead of success=true/false
2010-11-03 11:32:45 -07:00
alena
8c0e2fa7ec
Fixed updatePod Api to return embedded object instead of "success" response
2010-11-03 11:18:51 -07:00
abhishek
426e445811
bug 6904: during volume creation, we were NOT converting the size of the parent disk offering (which is in MB), to bytes. This is the size used to create the volume. I am adding the appropriate multipliers. Other flows like creating volume from snapshot etc should remain unaffected, as the parent volume created from the disk offering will be set right.
...
status 6904: resolved fixed
2010-11-03 11:13:06 -07:00
abhishek
703fcaffe6
bug 5190: cosmetic changes for the final result returned back to the UI, for Will to consume
2010-11-03 11:13:05 -07:00
alena
4fc8b7ae0b
bug 6892: do account check for disable user command
...
status 6892: resolved fixed
2010-11-03 10:31:16 -07:00
alena
886fd4e754
More api refactoring - move response building for LoadBalancer/IpAddress commands to ApiResponseHelper.
2010-11-03 10:11:59 -07:00
alena
ebdc1f069d
1) Return embedded Host object in PrepareForMaintenance command.
...
2) Build HostResonse object in ApiResponseHelper for add/reconnect/update/prepareForMaintenance/cancelMaintenance commands
2010-11-02 20:30:41 -07:00
alena
abb8f45667
1) Return embedded object for upgradeRouter command
...
2) Build response objects in ApiResponseHelper for stop/start/reboot/list router/systemVm commands
2010-11-02 19:47:14 -07:00
Alena Prokharchyk
694a8231ef
Build responses in ApiResponseHelper for the deploy/start/stop/reboot/recover/listVm create/list snapshot/snapshotPolicies
2010-11-02 18:16:45 -07:00
abhishek
c6809f89d4
bug 6890: preventing users from searching for system account details via the list api
...
status 6890: resolved fixed
2010-11-02 17:59:24 -07:00
Kelven Yang
3c6b3b3e3d
Add more volume info to BackupSnapshotCommand, to generalize multi-hypervisor usage
2010-11-02 17:04:07 -07:00
abhishek
473c3d33c3
bug 6870: during updating of pf rules, it is possible one might try to update a non existing rule via the api cmd. hitherto, we were returning a null which was assumed as a success by the cmd api, which failed with a npe. instead, we ought to throw back an error since we did not find any rule to be updated. i am checking in the same change. this also will fix the npe.
...
status 6870: resolved fixed
2010-11-02 16:07:15 -07:00
alena
571ca42c44
1) Return embedded object for addCfg/updateCfg/listCfg.
...
2) Fixed NPE in updateCfg command (used to happen when no value was specified)
3) Fixed addCfg command to call correct getName method while setting config name (used to call the method returning the command name)
2010-11-02 15:26:33 -07:00