cloudstack/server/test/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 CLOUDSTACK-1339: Using Sping interface injection pattern to avoid using CGLIB proxying mode. Spring with CGLIB proxying will concflict with CGLIB usage in CloudStack DB code, CloudStack CGLIB usage can cause Spring to lose tack of its proxied object and therefore creates a massive amount of objects in memory 2013-03-05 19:03:30 -05:00
alert Add missing Apache license header. 2013-03-08 14:38:35 -08:00
api CLOUDSTACK-1253: Remove @author tag. 2013-02-15 10:42:06 -08:00
async Removing ^M's from code. 2013-04-04 00:53:20 +05:30
capacity Correcting the license header problem that was introduced with commit 2013-02-22 11:06:47 -05:00
configuration CLOUDSTACK-702: Multiple ip ranges in different subnets. 2013-05-13 17:06:44 +05:30
event CLOUDSTACK-1904: API : UI : Admin can not delete Events/Archive from other accounts 2013-05-15 15:28:37 +05:30
keystore commit ba3fef5d0650c42463d0f225f4ca14b5f9046c44 2012-12-17 17:44:39 -08:00
metadata add missing file 2013-05-11 15:02:12 +05:30
network CLOUDSTACK-1638: Introduce NetworkMigrationResponder 2013-05-20 16:43:18 -07:00
projects Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
resource CLOUDSTACK-2056: DeploymentPlanner choice via ServiceOffering 2013-05-16 15:02:17 -07:00
resourcelimit CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts 2013-03-29 11:26:38 +05:30
snapshot merge master 2013-05-11 15:28:43 +05:30
storage/dao merge master 2013-05-11 15:28:43 +05:30
upgrade ignore the tests looking for db 2013-03-01 12:04:06 +05:30
user CLOUDSTACK-1636: Removed the concept of owner region. 2013-03-14 11:53:40 +05:30
vm iCLOUDSTACK-2321 2013-05-17 17:43:43 +05:30
vpc CLOUDSTACK-1638: Introduce NetworkMigrationResponder 2013-05-20 16:43:18 -07:00