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.

BUG=chrome-os-partner:35391
TEST=Setup a DUT device befind a ubuntu running goofy_presenter, the DUT
should be able to perform netboot install.

Change-Id: I77f9af1166b187174c0712428e566fb5f442d04e
Reviewed-on: https://chromium-review.googlesource.com/262540
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Wei-Ning Huang <wnhuang@chromium.org>
Tested-by: Wei-Ning Huang <wnhuang@chromium.org>
6 files changed