wintest Improve wintest's handling of IP addresses and add more auto-setup
authorAndrew Bartlett <abartlet@samba.org>
Tue, 23 Nov 2010 04:04:31 +0000 (15:04 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 23 Nov 2010 06:46:07 +0000 (07:46 +0100)
commitbe0f4129a165c0fbfa363f87b52ce733dba4e4bc
tree7fc22d3c2162ce49acc42a036835b5e6ab3c2d20
parent39c2fd1c6462aaa91132ef10fbb51254a133864c
wintest Improve wintest's handling of IP addresses and add more auto-setup

 - Don't change the IP address if DHCP is not in use

   The main reason to 'fix' the IP is to get around Dynamic DNS issues caused
   by the DHCP server, if the VM is already on a fixed IP, it does not matter.

 - Set the maximum telnet connection limit to 1024

   This ensures that we can always make a new connection, regardless
   of the existing configuration.  We also catch more conditions when
   the server has restricted the number of connections, and try again.

 - Set the route after the connection drops out

   My WinXP box always wants to drop the default route

 - Set the DNS as a distinct step

   My WinXP box drops the connection when we set DNS servers

Andrew Bartlett
wintest/test-s4-howto.py
wintest/wintest.py