cloudstack/api/src/com/cloud
Hiroaki Kawai 7260e8d83f CLOUDSTACK-1638: Introduce NetworkMigrationResponder
The location of the virtual machine is provided by DeployDestination, which will
be passed in NetworkGuru#reserve and NetworkElement#prepare.

During the virtual machine migration, it actually changes DeployDestination and
it looks like that it will tell that event to network components as it has
NetworkManager#prepareNicForMigration. The problem is that althogh the interface
has that method, NetworkManagerImpl does not tell the DeployDestination changes
to network components.

So IMHO, we need to add calls of NetworkGuru#reserve and NetworkElement#prepare
in NetworkManagerImpl#prepareNicForMigration . And then, we also need to add
calls NetworkGuru#release and NetworkElement#release after the migration,
otherwise the network resources that plugin reserved will be kept even when the
vm leaves off.

(Sheng Yang: rebase code, add license header)

Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2013-05-20 16:43:18 -07:00
..
agent/api Merge branch 'pvlan' 2013-05-15 16:08:08 -07:00
alert merge master 2013-05-11 15:28:43 +05:30
api/commands CLOUDSTACK-797: Removing cmds CreatePrivateNetworkCmd and DestroyConsoleProxyCmd 2013-04-10 13:21:24 +05:30
async CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
capacity api: Entities will extend InternalIdentity and Identity 2012-12-26 19:11:15 -08:00
cluster api: Entities will extend InternalIdentity and Identity 2012-12-26 19:11:15 -08:00
configuration CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
dao CLOUDSTACK-786, CLOUDSTACK-1014: Moved usage APIs to cloud-api. Removed ManagementServerExt. Usage API related implementation is added to UsageServiceImpl 2013-02-05 16:49:34 +05:30
dc CLOUDSTACK-1332: Pass IPv6 DNS to VR 2013-02-25 16:08:15 -08:00
deploy Changes for implicitly dedicating a resource. It includes a following: 2013-05-17 11:40:31 +05:30
domain CLOUDSTACK-1636: Removed the concept of owner region. 2013-03-14 11:53:40 +05:30
event CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
exception CLOUDSTACK-2070: Anti-Affinity - When Vm deployment fails because of not being able to satisfy the anti-affinity rule , user should be provided with more informative message. 2013-05-17 14:36:23 -07:00
host CLOUDSTACK-2522: While processing agents behind on ping, we may fail to process a host that is already in 'Down' state 2013-05-15 14:27:27 -07:00
hypervisor fix CLOUDSTACK-2157 On VMWare ESXi host deployment: Expunged VMs are not getting cleaned up from the host 2013-04-25 14:25:03 +08:00
info merge master 2013-05-11 15:28:43 +05:30
network CLOUDSTACK-1638: Introduce NetworkMigrationResponder 2013-05-20 16:43:18 -07:00
offering CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering 2013-05-16 15:02:17 -07:00
org fixed unit tests from merge 2013-01-18 15:58:55 -08:00
projects fixed unit tests from merge 2013-01-18 15:58:55 -08:00
region/ha CLOUDSTACK-1958: List GSLB response should have the GSLB site (zone load 2013-04-24 21:03:26 +05:30
resource CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering 2013-05-16 15:02:17 -07:00
serializer api_refactor: refactor project apis 2012-12-03 22:10:32 -08:00
server iCLOUDSTACK-2321 2013-05-17 17:43:43 +05:30
storage remove unwanted files 2013-05-12 14:30:10 +05:30
template updateTemplatePermissions should allow user to be able to see 2013-03-11 17:32:26 -07:00
user CLOUDSTACK-1941: introduced "default" flag to account/user objects. Admin/System accounts that come with the CS install are default, and can never be removed. All accounts created by the CS admin, have default flag set to false, and can be removed at any time. 2013-04-17 12:04:18 -07:00
uservm fixed unit tests from merge 2013-01-18 15:58:55 -08:00
vm iCLOUDSTACK-2321 2013-05-17 17:43:43 +05:30