GitHub user wilderrodrigues opened a pull request: https://github.com/apache/cloudstack/pull/1002
CLOUDSTACK-9007 - Write test to check that the /etc/dhcphosts.txt doesn't contain duplicate IPs This 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 You can merge this pull request into a Git repository by running: $ git pull https://github.com/ekholabs/cloudstack test/dhcphosts-CLOUDSTACK-9007 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1002.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1002 ---- commit a1eeac08efbbffd038a2e656c57e7211c0cc076b Author: Wilder Rodrigues <wrodrig...@schubergphilis.com> Date: 2015-10-29T09:05:49Z CLOUDSTACK-9007 - Add test check that /etc/dhcphosts.txt doesn't contain duplicate IPs ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---