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/network.py to
fix dependency check.
TEST=Setup a DUT device befind a ubuntu running goofy_presenter, the DUT
should be able to perform netboot install.
Reviewed-by: Hung-Te Lin <firstname.lastname@example.org>
Commit-Queue: Wei-Ning Huang <email@example.com>
Tested-by: Wei-Ning Huang <firstname.lastname@example.org>
6 files changed