cloudstack/server/test/com/cloud/network
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
..
dao ElbVmMapDaoTest requires active DB backend for tests, hence jenkins test fails. 2012-08-16 12:59:00 -07:00
firewall fixed unit tests from merge 2013-01-18 15:58:55 -08:00
security merge master 2013-05-11 15:28:43 +05:30
vpn Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
DedicateGuestVlanRangesTest.java merge master 2013-05-11 15:28:43 +05:30
MockFirewallManagerImpl.java Merge latest master into javelin 2013-01-31 11:34:49 -08:00
MockNetworkManagerImpl.java CLOUDSTACK-1638: Introduce NetworkMigrationResponder 2013-05-20 16:43:18 -07:00
MockNetworkModelImpl.java merge master 2013-05-11 15:28:43 +05:30
MockRulesManagerImpl.java merge master 2013-05-11 15:28:43 +05:30
NetworkManagerTest.java fixed unit tests from merge 2013-01-18 15:58:55 -08:00
NetworkManagerTestComponentLibrary.java fixed unit tests from merge 2013-01-18 15:58:55 -08:00
NetworkModelTest.java Making unit tests work 2013-01-22 11:18:51 -08:00
UpdatePhysicalNetworkTest.java Cloudstack-701 Support for non contiguous vlan ranges. 2013-04-17 10:14:42 +05:30