[ https://issues.apache.org/jira/browse/CLOUDSTACK-9007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980089#comment-14980089 ]
ASF GitHub Bot commented on CLOUDSTACK-9007: -------------------------------------------- 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 ---- > Write test to check that the /etc/dhcphosts.txt doesn't contain duplicate IPs > ----------------------------------------------------------------------------- > > Key: CLOUDSTACK-9007 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9007 > Project: CloudStack > Issue Type: Test > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Virtual Router > Reporter: Wilder Rodrigues > Assignee: Wilder Rodrigues > Fix For: 4.6.0 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)