Commit Graph

706 Commits

Author SHA1 Message Date
anthony 401e5ce0e9 handle register template/iso to all zones
Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
2011-07-01 17:42:59 -07:00
alena 22bf622359 bug 10539: use TemplateResponse object instead of ListResponse in copyTemplate api
status 10539: resolved fixed
2011-07-01 13:19:19 -07:00
alena 17f785f07a Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin 2011-07-01 13:19:12 -07:00
kishan 36d7ee5634 bug 10372: Added Vm State Machine listener for usage events
status 10372: resolved fixed
2011-07-01 16:37:53 +05:30
anthony a217baebf6 bug 5873: Checking if scmbug works
status 5873: resolved fixed
2011-06-30 14:06:20 -07:00
Nitin 62078ffef2 bug 8915: Adding events for TEMPLATE.CREATE, TEMPLATE.DELETE, ISO.DELETE, ISO.ATTACH, ISO.DETACH.
Status 8915: resolved fixed
2011-06-30 16:31:02 +05:30
Murali Reddy 9c1bfc351a Bug 10524 - refactor ExternalNetworkManager, ExternalFirewallManager, ExternalLoadBalancerManager for supporting multiple type of devices
refactoring code to enable support for multiple load balancer and firewall types
2011-06-30 16:15:48 +05:30
Abhinandan Prateek 8bdbfc78ea bug 10489: self review updates 2011-06-30 10:52:03 +05:30
Abhinandan Prateek f34252f2e0 bug 10489: improving listVM performance: Combined various queries to get Vm details into one single join, reduced the time required to 1/5 2011-06-30 09:55:35 +05:30
anthony 2fb5de8852 fixed several template issues
merge createtemplateresponse and createteisoresponse

on UI template
only show template corresponding hypervisor exists

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	server/src/com/cloud/storage/StorageManager.java
2011-06-29 18:31:13 -07:00
anthony 6fe033deae bug 10410:
same template only shows once in a zone,
and only ready template shows in UI

status 10410: resolved fixed
2011-06-27 15:51:00 -07:00
anthony 3f62723bb9 Revert "bug 10410:"
This reverts commit 5eed2e9cb246ce526203df3a39cef2be991ccc6e.
2011-06-27 15:48:36 -07:00
anthony bec24d533d bug 10410:
same template only shows once per zone

status 10410: resolved fixed
2011-06-27 15:47:50 -07:00
alena d380ce0897 bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
status 4706: resolved fixed
2011-06-23 11:31:39 -07:00
Alex Huang 9171407113 bug 10417: don't log vmdata in debug 2011-06-23 11:10:01 -07:00
Kelven Yang 7f8b129dc5 bug 10414: update VM sync logic and capacity management to sync VM state change initiated from external source 2011-06-22 18:23:43 -07:00
Sheng Yang 6e405efe01 bug 10311: Update UpdateNetworkCmd, allow change networkOfferingId
And restart/re-implement the network if networkOfferingId is changed.
2011-06-22 15:30:39 -07:00
Sheng Yang 0d750dacc2 bug 10311: Update create network_offering API 2011-06-22 15:30:39 -07:00
alena 4fcb406f2b bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
status 4706: resolved fixed
2011-06-21 16:41:43 -07:00
Abhinandan Prateek b6d2ec505e bug 10340: added cidrs in response
The input can take multiple cidrs as in 10.91.28.0/24,169.254.2.0/24,56.89.0.0/16
2011-06-21 22:55:17 +05:30
Alex Huang 8459ae0beb Renamed IPAssoc to IpAssoc to be consistent with agent commands 2011-06-21 09:25:29 -07:00
Sheng Yang be216bf975 bug 9154: Add redundancy capability to VirtualRouterElement
Also move redundancy checking to VirtualRouterElement
2011-06-20 14:47:22 -07:00
Abhinandan Prateek 79e38f0a1f bug 10305: for a systemvm only applicable system vm offering should be displayed
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:11:50 +05:30
Abhinandan Prateek db29a56eaf bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
alena cdaf4d1370 Fixed userResponse to return api/secretKeys 2011-06-17 15:38:06 -07:00
Sheng Yang d5ff0dfa12 bug 9154: Update NetworkOfferingVO field 2011-06-16 14:29:34 -07:00
alena cad16ed27f bug 10325: renamed apiKey/secretKey to userApiKey/userSecretKey in updateUser api call
This reverts commit 927508215de383bdcc5b2e289e5103e011d72843.
2011-06-16 11:49:40 -07:00
Murali Reddy 7ce2f0362f bug 9419: implement api to reset resource count
adding couple of fixes
2011-06-16 17:38:20 +05:30
Kelven Yang 464d793754 1) Remove customer field applied to virtual machine in VMware. 2) always track VM host change in VMware regardless whether or not native HA is enabled 2011-06-15 18:37:38 -07:00
Sheng Yang 9466106c40 bug 9154: Add isRedundantRouter to DomainRouterResponse 2011-06-15 14:39:28 -07:00
Sheng Yang 6f0edd9541 bug 9154: Add router fault state report 2011-06-14 20:33:18 -07:00
Sheng Yang 07a61686db bug 9154: Add redundant state to DomainRouterResponse 2011-06-14 19:31:24 -07:00
Sheng Yang aef562c69d bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
kishan 0629592caf bug 8144: Added event for router start/stop and reboot
status 8144: resolved fixed
2011-06-14 14:24:52 +05:30
anthony e91e0b4174 bug 9997:
put copy scripts in SetupCommand,
1. initiate returns host version,
2. if it doesn't match with DB, update DB, and reconnect the host.

status 9997: resolved fixed
2011-06-13 16:45:13 -07:00
kishan 39ded44bb6 bug 8373: Added new API listEventTypes 2011-06-13 19:11:48 +05:30
kishan 5a6664ab12 bug 8373: Added new API listEventTypes 2011-06-13 19:11:12 +05:30
nit 197dc6cf6e registerIso - remove hardcoding of GuestosId when its None. Retrieve it from DB. 2011-06-13 19:04:27 +05:30
kishan 44ec82a28b bug 8992: Added volume ID for snapshot create starting and completed events
status 8992: resolved fixed
2011-06-13 15:08:10 +05:30
Abhinandan Prateek a4bdeffd61 bug 8962: changes for vms using virtual network 2011-06-13 14:56:00 +05:30
Murali Reddy 6310991bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 10:55:57 +05:30
Murali Reddy 8d56093bdc bug 9419: implement api to reset resource count
added a command to reset resource count for account/domain based on real usage of resources
2011-06-13 09:13:15 +05:30
Alex Huang 2688d61a1e bug 10222: fixed issue with associate ip introduced more than one nic. The problem is that associate ip automatically creates a nic but doesn't have sufficient information to properly creates so it uses what it knows for sure is the naming pattern to do it. However, we changed the naming pattern and it broke. I fixed it by passing all of the information in the ipaddressTO object. 2011-06-11 13:45:28 -07:00
nit 53cb1beff5 bug 9885 : registerIso - Improving the documentation for the parameter bootable,guestOsId. The later needs to be passed whenever the bootable parameter is true.
status 9885: resolved fixed
2011-06-11 14:26:27 +05:30
Kelven Yang 1e9efb2f86 bug 10214: merge fixes from 2.2.8/2.2.4 2011-06-10 14:29:01 -07:00
alena 53bdd625b8 bug 9579: allow domain name suffix update for existing networks.
Block update only in these cases:

* when DNS capability AllowDnsSuffixModification is false for the network
* when target network has running network elements (dhcps or domRs)

Conflicts:

	server/src/com/cloud/vm/dao/DomainRouterDao.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
2011-06-09 16:24:48 -07:00
alena f06818704b Revert "bug 10199: don't allow network offering Name modification."
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.

Use the following solution instead:

* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script

Conflicts:

	server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -07:00
Abhinandan Prateek 8e4ec4ce09 bug 8962: moving vm from one account to other 2011-06-09 15:02:47 +05:30
alena c57248aa4e bug 10199: don't allow network offering Name modification.
UI has to be fixed as well
2011-06-08 17:42:04 -07:00
alena f81ddc1f7b 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain
2011-06-08 11:55:36 -07:00