Commit Graph

242 Commits

Author SHA1 Message Date
alena d077b127aa bug 7498: fixed search by keyword in listUserVm/listSystemVms/listRouters commands
status 7498: resolved fixed
2010-12-13 15:22:11 -08:00
alena c7a9267225 Delete network as a part of account cleanup 2010-12-13 10:47:10 -08:00
Kelven Yang dedfe57280 seraral fixes for VMFS storage 2010-12-11 11:08:39 -08:00
Alex Huang 790bf40be6 Forgot what i change but must be important 2010-12-10 17:20:31 -08:00
alena fd20002609 Made virtualMachineIds parameter required for assignToLoadBalancerRule command 2010-12-10 15:41:33 -08:00
alena acef5c9f5c Fixed listLoadBalancerRuleInstances to return all vms in the system for the ROOT admin 2010-12-10 15:35:07 -08:00
alena 88d6ff2136 bug 7467: release IP address works now.
status 7467: resolved fixed

Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
Alex Huang d27c0c4b01 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
Alex Huang 68932929fb Changes to how public ip addresses are allocated 2010-12-10 08:38:20 -08:00
anthony dcb40b5b15 Revert "add new api SetVMOSTypeCmd"
This reverts commit 543b2615db.

Conflicts:

	api/src/com/cloud/api/commands/SetVMOSTypeCmd.java
2010-12-09 23:38:52 -08:00
keshav f6f1d38724 - Added variable to keep track of a NicProfile's network 2010-12-09 22:25:42 -08:00
keshav d9f5e63f69 Added a constructor for LoadBalancerConfigCommand, and a variable to keep track of a list of destinations. 2010-12-09 21:28:10 -08:00
alena 7e9579dab2 Fixed create/list LoadBalancerRules 2010-12-09 21:06:48 -08:00
root 471a0e73fe fixing a bug wherein the template/iso gets deleted from the host once upload, on a ms restart. it still exists in db. any further attempt to create vm from this template/iso results in failure. 2010-12-09 18:56:30 -08:00
edison 712953156b fix boot from iso/attach iso/disks issue 2010-12-09 14:25:44 -08:00
alena 52f2d646fd Fixed NPE in listLoadBalancer command 2010-12-09 14:11:11 -08:00
alena c34e2c6c54 Don't return nics for system vms and domain routers. Return private/public/guest ip info instead 2010-12-09 13:56:39 -08:00
alena 88fa5337ca Fixed responses for userVm/domainRouter/SystemVm: added nic information. 2010-12-09 13:24:40 -08:00
keshav 198cab4dee Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources. 2010-12-09 11:40:02 -08:00
alena 8fb948650f Fixed createPortForwardingRule command.
Modified createVlanIpRange command: added optional networkId parameter; only startIp parameter is required now.
2010-12-09 11:12:29 -08:00
Jessica Wang d2bd6e522e bug 7448: add domain parameter in returned objects from listNetworks API. (changed by Alena) 2010-12-09 09:57:23 -08:00
Jessica Wang e256a3a037 bug 7448: add forVirtualNetwork parameter to ListVLANIpRange. (by Alena) 2010-12-08 18:37:00 -08:00
Kelven Yang b285bbb683 new networking change integration 2010-12-08 18:30:30 -08:00
alena 829d6fe8a0 Fixed listIpForwardingRules command: made ipAddress required, added vm and rule state info to the response. 2010-12-08 14:28:37 -08:00
alena 1f7d74dbec 1) Disabled updatePortForwardingRule api command.
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00
abhishek 5c689f3db7 bug 7437: the password is being set in the vm obj, but was being reset before returning the result obj. correcting the same
status 7437: resolved fixed
2010-12-08 12:09:09 -08:00
Alex Huang 2c42ebbf71 ip assoc working 2010-12-08 09:03:34 -08:00
Alex Huang 1134faea1b ip addresses are now separated from domR 2010-12-08 09:03:34 -08:00
Alex Huang f794abfdef ip addresses are now separated from domR 2010-12-08 09:03:34 -08:00
alena 2547fc1f6a More error logging to apis 2010-12-08 08:53:34 -08:00
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
will 847e458e0e You can now view the NICS attached to a VM. 2010-12-07 18:04:09 -08:00
alena 2ffcbb8815 Added isSystem parameter for listNetworks command, default value is false. If it's set to true, only system networks with trafficType=Public and and zone=Advanced are gonna be returned 2010-12-07 16:36:34 -08:00
alena 01b4af3006 Added more error logging to api commands. 2010-12-07 14:38:58 -08:00
alena 954756d69b Introduced new NetworkElement - DhcpElement. 2010-12-07 13:47:59 -08:00
alena e3e34be36d ListVlanIpRanges can list by networkId now. 2010-12-07 10:17:44 -08:00
abhishek 495e85f452 bug 7417: fixing the password return val issue for an iso
status 7417: resolved fixed
2010-12-06 18:16:53 -08:00
alena a67e91253f Don't allow to create network offering of DirectPodBased type 2010-12-06 17:42:23 -08:00
alena fb4c448762 Don't create default pod/zone
Create untagged network as a part of createZone command
2010-12-06 16:48:25 -08:00
Kelven Yang 51b55d8ae9 Carray storage pool uuid in VolumeTO to let hypervisor resource to identify storage easier 2010-12-06 15:57:40 -08:00
anthony 543b2615db add new api SetVMOSTypeCmd
user can update to PV kernel or HVM kernel as they want,
2010-12-06 15:57:18 -08:00
Alex Huang a87aac2640 missing file 2010-12-06 15:24:32 -08:00
Alex Huang d890189a92 missing default values for providers 2010-12-06 15:20:13 -08:00
Alex Huang 87626bea6b start vm is working 2010-12-06 14:17:53 -08:00
Alex Huang f147bf5f94 start vm not working again 2010-12-06 14:17:53 -08:00
Alex Huang fcdd20ca06 more checkin 2010-12-06 14:17:53 -08:00
abhishek b4dd261fc2 introducing a new error state 2010-12-06 14:03:10 -08:00
alena ade1b2665b Removed podId from createNetwork api command 2010-12-06 13:25:37 -08:00
edison fd7960f13d fix secondary storage in new networking mode 2010-12-06 12:40:52 -08:00
alena 5571b444f2 1) Don't allow to delete a vlan if it has network associated with it. Also don't show such vlans in listIpRanges command.
2) Return vlan in create/list networks command.
3) Implemented list networks by type.
4) Changed listVlanIpRanges to return start/endIps in separate tags instead of returning them in description.
2010-12-06 12:36:09 -08:00
alena 8b99a8e15c NetworkIds parameter is required now for deployVmCmd. 2010-12-06 10:57:35 -08:00
alena 31b3b79f5a Changed create/updatePod to accept netmask/gateway instead of cidr 2010-12-06 10:08:07 -08:00
alena cd8513598f Return trafficType/networkType as a part of Nic information for listSystemVms/listDomainRouters/listUserVms. 2010-12-06 09:43:37 -08:00
alena 0dbd21fe23 createNetwork command accepts netmask/gateway instead of cidr. Also return start/endIp in the createNetwork response. 2010-12-06 09:18:02 -08:00
nit a38c18220c bug 7410 : listTemplate - Correcting the pagesize use. Putting all the filters in the DB query rather than after execution so that pagesize restriction happens at the end. 2010-12-06 19:47:33 +05:30
nit 39eb645b04 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-12-06 14:07:24 +05:30
nit 14425ffe83 bug 7415 : listTemplatePermissions - Making it extend BaseCmd and not BaseListCmd since it never returns a list. This will also take care of the ClassCastException getting thrwon
status 7415: resolved fixed
2010-12-06 14:05:58 +05:30
Alex Huang 98eb58bf84 callCreate to create 2010-12-04 17:58:16 -08:00
Alex Huang cf032b7a3a more changes 2010-12-04 17:33:02 -08:00
Alex Huang 16cccf4f59 ip address modifications. removed old deploy 2010-12-04 17:32:32 -08:00
Alex Huang 16caf1954b New ip address states and mode 2010-12-04 17:32:32 -08:00
Alex Huang daa9add158 removed router stuff from network manager 2010-12-04 17:32:31 -08:00
edison 525cb3dd5d don't break old code 2010-12-04 16:39:10 -08:00
edison e591f56b25 add logs, and don't break old code 2010-12-04 15:02:03 -08:00
edison b7cdae2688 fix for migration 2010-12-04 15:02:03 -08:00
edison 41fdbfc65e new allocator 2010-12-04 14:59:39 -08:00
alena 150d684e05 1) isShared attribute belongs to Network now, not NetworkOffering
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang 280884f6d7 Work around VMware problem about detaching volume that has snapshot been linked with it 2010-12-03 18:59:23 -08:00
Kelven Yang cc7dc5e6be Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare 2010-12-03 18:59:23 -08:00
alena 2759e422f5 Return type/trafficType in the listNetworks response 2010-12-03 13:48:43 -08:00
Alex Huang 96ac136b8c changed getAccountId to getEntityOwnerId 2010-12-03 11:59:45 -08:00
abhishek b0abda3c49 some changes to domain specific offerings for the UI to consume 2010-12-03 09:37:02 -08:00
Alex Huang a8b617c596 port forwarding is now in 2010-12-03 08:48:03 -08:00
Alex Huang 3aa19666cf merge with master 2010-12-03 08:48:03 -08:00
Alex Huang b859e103d8 ip nat rule forwarding done 2010-12-03 08:48:03 -08:00
Alex Huang 9a70ee54f0 portforwarding is working 2010-12-03 08:48:03 -08:00
Alex Huang bb78986ddb port forwarding working 2010-12-03 08:48:02 -08:00
Alex Huang 223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
nit b543faeeee bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
alena f8a687ab23 1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony 6f1eb4bf44 bug 7144: return snapshotId with jobid
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql

status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
anthony d184c56ef3 cleanup snapshot code 2010-12-02 19:23:33 -08:00
abhishek d0fc07496f search functionality for ip forwarding rules, with covering of cerner cases 2010-12-02 09:46:32 -08:00
will 2966dd637d bug 6969: Added list async support for host 2010-12-01 18:22:21 -08:00
will cd5afb3d7e bug 6969: Fixed snapshots, templates, isos, routers, volumes, and system vms async commands to make use of the new job id/job status when listing objects with pending jobs. 2010-12-01 16:50:56 -08:00
abhishek a477d6c33c adding support for updating service and disk offerings, also adding domain and domainid back in the responses to the CRUD methods for both service and disk offerings 2010-12-01 10:40:08 -08:00
abhishek b51a7fec50 adding a security checker whilst creating a volume from a disk offering 2010-12-01 09:53:13 -08:00
abhishek 4387e2ca0a another good point to commit; the basic domain specific disk offering functionality is now in place 2010-12-01 09:53:13 -08:00
abhishek 1dfdcf51cb another good point for checkin, added the domain checker for checks against service offerings, whilst deploying virtual machines 2010-12-01 09:53:13 -08:00
abhishek 9a6eaaf21f this is a good point to commit the code; have the basic domain specific service offering working 2010-12-01 09:53:13 -08:00
will c67d26cec4 bug 6969: First step of now displaying pending async jobs for listXXXCommands. There is a lot more cleanup and fixing to do but all commands acting against VirtualMachines now work. 2010-11-30 19:12:09 -08:00
alena 5c8619903b bug 7342: return ipaddress instead of publicip in listIpForwardingRules/listPortForwardingRules api responses.
status 7342: resolved fixed
2010-11-30 10:16:54 -08:00
anthony d3325de5ae 1. limit xs-tools in xenserver related java file
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
alena aa8aa6027a Modified UserContext - got rid of accountName, domainId fields as we can get this information from Account field. 2010-11-24 14:29:08 -08:00
alena 44737d24c5 bug 7196: fixed response object generation for authorizeNetworkGroupIngress command (response type is Network group response - the way it was in 2.1.x - instead of IngressRule response)
status 7196: resolved fixed

Also fixed revokeNetworkGroup command - didn't work via 8096 port
2010-11-24 09:50:04 -08:00
nit 841044e360 Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss 2010-11-24 18:38:23 +05:30
nit 8ea124ae79 bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
kishan f70071dc98 bug 6309: Added event VM.UPDATE along with changed fields
status 6309: resolved fixed
2010-11-24 18:36:35 +05:30
kishan 19dcbb8d8e bug 7246: changed event name to TEMPLATE.CLEANUP when cleaning up templates on sec storage. Usage won't track this event
status 7246: resolved fixed
2010-11-24 17:48:19 +05:30
alena 6765e97976 Made ApiResponseHelper to use Long instead of long for response parameters to eliminate possible NPEs during building an api response. 2010-11-22 11:27:15 -08:00