cloudstack/server/test/com/cloud/vpc
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 CLOUDSTACK-2517: fixed private gateway creation. Following fixes went in: 2013-05-15 13:12:51 -07:00
MockConfigurationManagerImpl.java CLOUDSTACK-652: meging 'portable public ip' feature 2013-05-20 20:05:47 +05:30
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
MockResourceLimitManagerImpl.java CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts 2013-03-29 11:26:38 +05:30
MockSite2SiteVpnManagerImpl.java Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
MockSite2SiteVpnServiceProvider.java Improve component lifecycle management with system run-level concept 2013-01-30 15:21:02 -08:00
MockVpcManagerImpl.java CLOUDSTACK-2517: fixed private gateway creation. Following fixes went in: 2013-05-15 13:12:51 -07:00
MockVpcVirtualNetworkApplianceManager.java CLOUDSTACK-768: ACL on private gateway 2013-05-13 19:24:23 +05:30
NetworkACLManagerTest.java CLOUDSTACK-768: ACL on private gateway 2013-05-13 19:24:23 +05:30
NetworkACLServiceTest.java Updated network acl service test to avoid default ACL modification 2013-05-15 14:20:29 +05:30
Site2SiteVpnTest.java Fixed VPC api unittests 2013-04-19 11:26:32 -07:00
VpcApiUnitTest.java Fixed VPC api unittests 2013-04-19 11:26:32 -07:00
VpcTest.java merge master 2013-05-11 15:28:43 +05:30
VpcTestConfiguration.java merge master 2013-05-11 15:28:43 +05:30