shill: Add DeviceInfo routines for assigning IP address
Accept an IPConfig instance and assign IP address parameters
to device index. Add code to device superclass to apply any
successful ipconfig (petkov should change this as necessary).
BUG=chromium-os:16846
TEST=Manual -- ran on a cr48 with ethernet attached. Added throw-away
code to remove the address, and this worked correctly. Also re-ran
unit tests.
Change-Id: Ib491de2e9f6d4a4317fc305978351e5812514e0f
Reviewed-on: http://gerrit.chromium.org/gerrit/3018
Reviewed-by: Paul Stewart <pstew@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
5 files changed