Commit Graph

93 Commits

Author SHA1 Message Date
frank b3478c377e Full opensource 2011-08-23 19:52:19 -07:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
Edison Su a46155e895 bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
Edison Su 314a491b9c bug 8094: forword port NetworkRulesSystemVmComman from 2.1.x to 2.2, to fix security group is lost after migration
status 8094: resovled fixed

Conflicts:

	agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2011-01-22 04:04:52 -05:00
Alex Huang 57def20cf6 moved all agent commands to api. 2011-01-20 09:54:05 -08:00
Chiradeep Vittal dd7f8625cc bug 7380: SNAT rules when there are multiple public interfaces
bug 6854: port from 2.1.x
2011-01-13 16:59:35 -08:00
nit dce1e2031b bug 7519 : Extract links would have Java genereated UUID instead. 2011-01-12 16:53:42 +05:30
Frank a964494332 bug 7722: open vswitch - align some data type with master branch 2011-01-08 17:31:00 -08:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
alena 0b7a15ab99 bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
status 7348: resolved fixed

More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
alena bd788b1827 Fixed RemoteAccessVpn apis 2010-12-29 21:36:44 -08:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
Alex Huang 1afb34d38e Added code to do migration 2010-12-29 09:32:54 -08:00
edison 2d722e685b fix exception in PingRoutingWithNwGroupsCommand, due to no json serialize for pair<long, long> 2010-12-28 10:50:12 -08:00
anthony 5a0fa3380d SetupAnswer need to indicate whether reconnect is needed 2010-12-22 18:11:32 -08:00
Kelven Yang 1805c73363 1) Add HostStats support to vmwre
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
alena 3cd989cbef 1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
Alex Huang adc9ffe034 more changes 2010-12-16 17:17:02 -08:00
Alex Huang 5b11649c55 Removed even more old code 2010-12-16 17:17:02 -08:00
abhishek 5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
Alex Huang a7a4d92739 Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
Alex Huang 65d0b32182 removed a bunch of old code 2010-12-16 14:04:32 -08:00
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
Alex Huang c8961453a4 mac addresses for private ip addresses 2010-12-10 13:36:40 -08:00
Alex Huang d27c0c4b01 mac addresses for private ip addresses 2010-12-10 13:36: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
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
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
Alex Huang 223688d0bf Port forwarding rules and load balancing rules rewrite 2010-12-03 08:48:02 -08:00
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 fb0675bbf4 bug 7365: return both physical and virutal size when creating private template
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony 30fa6530f9 bug 6088: track template physical size in template_host_ref table
add migration from 21 to 22
after migration , SSVM needs to stop/start

status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
Kelven Yang dd9b1634f7 Allow host behind cluster to return real VNC host IP address 2010-11-24 15:17:08 -08:00
abhishek 606bc6d99e corresponding changes in the kvm resource 2010-11-24 10:16:35 -08:00
abhishek 1950bf7a99 changing the nat feature to work with kvm 2010-11-24 10:04:24 -08:00
alena 674d68fc58 bug 7311: Use StoragePoolVO copy constructor in deleteStoragePoolCommand
status 7311: resolved fixed
2010-11-23 18:02:31 -08:00
alena 8dfd7b176e bug 7313: applying Alex's fix.
status 7313: resolved fixed
2010-11-23 18:02:30 -08:00
alena b7eefe1836 Gson deserialization: return JsonNull object when object list is empty. 2010-11-22 14:56:25 -08:00
alena a646745516 bug 7227: applying Alex's fix - different way of desirializing List objects.
status 7227: resolved fixed
2010-11-22 14:08:43 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Chiradeep Vittal ea0680ef9c Gson 1.5 doesnt handle cgi objects very well -- ensure that VO inside agent command is a POJO 2010-11-18 14:05:03 -08:00
Kelven Yang 5490577469 1) Remove forwarding between eth1 and eth2 as it does not solve the problem of asymmetic routing
2) correct Eclipse project settings
3) If VM is hosted by vmware hypervisor, give the previous host preference to start on to fit VMware's VM-centric model
2010-11-17 15:55:04 -08:00
Alex Huang 8b7206073a more gson 1.5 work 2010-11-16 17:03:25 -08:00
Alex Huang 957547a65f gson 1.5 is now in 2010-11-16 15:22:45 -08:00
abhishek 239942bbe1 refactored all the commands to cater to keshav's needs, and added the new apis. the initial set of testing is complete, will now focus on corner cases 2010-11-11 13:07:26 -08:00
abhishek e5ca5dddf9 renaming the ip forwarding commands to port forwarding commands, and beginning to work on Keshav's request to modify the current 1-1 NAT to be compatible with the Amazon apis 2010-11-11 13:07:26 -08:00
anthony 224da7e775 several snapshot fixes 2010-11-05 20:55:19 -07:00