goofy_presenter: relay DHCP boot options

When DUT is behind presenter NAT, we need to relay the DHCP boot options
including 'sname' and 'file' so the DUT can netboot from the correct
server.  However, netboot install behind a cros device will not works
since the cros device does not have the 'nf_conntrack_tftp' module, so
it can not pass the tftp data properly.

Also move some advanced networking function into py/test/ to
fix dependency check.

TEST=Setup a DUT device befind a ubuntu running goofy_presenter, the DUT
should be able to perform netboot install.

Change-Id: I77f9af1166b187174c0712428e566fb5f442d04e
Reviewed-by: Hung-Te Lin <>
Commit-Queue: Wei-Ning Huang <>
Tested-by: Wei-Ning Huang <>
6 files changed