commit | 6f455aa39802089e86b0d24e7e9e8cdc2ca44406 | [log] [tgz] |
---|---|---|
author | Kevin Benton <kevin@benton.pub> | Wed Jul 13 16:20:06 2016 -0700 |
committer | Kevin Benton <kevin@benton.pub> | Mon Jul 18 07:00:46 2016 +0000 |
tree | b82c972094df1359b36568feed106ad36a89a53c | |
parent | a70710bb36fd334e30bb2f927398a693e43d4d24 [diff] |
Reverse order of get_unused_ip_addresses If a test author forgets to disable DHCP on a subnet used for a test (e.g. I17e201ef8822cace86bf805d6bd5a2e4d0e9084d), returning the first IP address in the subnet can race with the creation of the DHCP port. As a defensive measure this adjusts the logic to get unused IP addresses starting with the last addresses in the subnet instead. Change-Id: I31b9fcc9140de08e907bec08584a8c29ec6004e9