Commit Graph

20 Commits

Author SHA1 Message Date
kishan 22577363ca bug 8373: Added new API listEventTypes 2011-06-15 12:40:23 +05:30
Abhinandan Prateek 770e317218 bug 7553: Virtual Router service offering 2011-05-19 19:18:33 +05:30
Abhinandan Prateek 0fc005f20a bug 6451: XenServer username/password should be changable through API 2011-04-27 12:08:02 +05:30
alena 4953461e57 bug 8809: listHypervisors api - when zoneId=-1 is specified, only hypervisors availble in all zones are being returned 2011-04-25 10:39:51 -07:00
alena 1a6d78eae4 Code cleanup. No need to declare runtime exceptions (CloudRuntimeException, InvalidParameterException, PermissionDenied exceptions) 2011-04-21 16:26:53 -07:00
prachi ed9a11c6b6 API changes for Bug 3316 - Manual live migration of Virtual Machines
This is a Root admin only functionality
---------------------
Service API changes:
---------------------
- ManagementServer  will expose new API:
   Pair<List<HostVO>, List<Long>> listHostsForMigrationOfVM(UserVm vm, Long
startIndex, Long pageSize)
The API returns list of all hosts in the VM's cluster minus the current host and also a list of hostIds that seem to have enough CPU and RAM capacity to host this VM.
- ListHostsCmd will call this service API if virtualmachineid is present in the request.
- MigrateVmCmd is the new command added that takes in virtualmachineid and destination hostid
- UserVmService  will expose a new API:  UserVm migrateVirtualMachine(UserVm vm, Host destinationHost)

------------------------------------
API throws error in following cases:
------------------------------------
- User is not a root Admin. (‘Permission denied’)
- A VM uses local storage, we cannot migrate it, so ‘listHosts’ will throw error.
- We fail to migrate the VM on the chosen host.
- API will support migration for XenServer only currently. So error is thrown
if hypervisor is not XenServer (e.g KVM, vSphere etc)
- Destination host is not in same cluster as source host.
- VM is not in running state
2011-03-11 17:49:53 -08:00
kishan 0b9fa1cc8a bug 5747: Added action events for system Vms commands
status 5747: resolved fixed
2011-02-25 16:29:16 +05:30
Alex Huang b92fc074aa added forced paramter to stop apis 2011-02-08 15:38:26 -08:00
anthony 96d9776c20 remove preallocatedLun 2011-01-28 12:36:31 -08:00
Kelven Yang 34178bec61 1) add destroySystemVm command to allow destroying of system VMs
2) add consoleproxy.launch.max to allow specifying a configured max number of console proxy VM that can be launched within a zone(if not specified, default is 10), this is to prevent possible DoS attacks or uncontrolled usage of system resources
3) Remove some unused code.
2011-01-26 12:08:35 -08:00
will 5c5563dfdd UI will now use the config param "allow.public.user.templates". If this is false, only admins will be able to set the "public" status of a template. 2011-01-18 19:08:31 -08:00
Ragnar B. Johannsson 32c68e1583 API cmds for SSH-keys manipulation and VM passwds retrieval.
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
kishan ce3c794bd3 bug 6916: check for removed account for ListVMs. Moved realated code to userVm Manager
status 6916: resolved fixed
2011-01-04 13:07:49 +05:30
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
kishan bb0e6a0ae3 bug 7504: Events refactoring 2010-12-24 12:58:32 +05:30
nit 83145c38fd bug 7410 : listTemplates and ListIsos - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end.
status 7410: resolved fixed
2010-12-08 19:46:04 +05:30
Alex Huang 16cccf4f59 ip address modifications. removed old deploy 2010-12-04 17:32:32 -08:00
Alex Huang 223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
anthony d184c56ef3 cleanup snapshot code 2010-12-02 19:23:33 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00