mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9007 - Write test to check that the /etc/dhcphosts.txt doesn't contain duplicate IPsThis PR contains a test that will cover the fix on PR #981 The tests does the following: * Creates account, service offering, network offering, network * Deploys two virtual machines - Each machine with a pre-assigned IP * Creates two FW and PF rules * Checks that SSH into the VMs works * Checks default routes from both VMs * Checks that the /etc/dhcphosts.txt contains 1 entry per VM IP * Destroys/Expunges 1 VM * Creates a new VM with the same IP as the destroyed one * Checks that the /etc/dhcphosts.txt contains 1 entry per VM IP * pr/1002: CLOUDSTACK-9007 - Add test check that /etc/dhcphosts.txt doesn't contain duplicate IPs Signed-off-by: Remi Bergsma <github@remi.nl>