shill: expose ethernet link state via D-Bus

Expose Ethernet's link_up member via a D-Bus property, including
notifications when it is modified.  This will allow shill clients
to monitor a given Ethernet Device's link state without polling.

BUG=chrome-os-partner:36917
TEST=FEATURES=test emerge-amd64-generic shill, ASAN profile
CQ-DEPEND=CL:251466

Change-Id: Ibfa3236e61b28b2a3afabaecca2dbed44163fc71
Reviewed-on: https://chromium-review.googlesource.com/251471
Reviewed-by: Paul Stewart <pstew@chromium.org>
Commit-Queue: Garret Kelly <gdk@chromium.org>
Tested-by: Garret Kelly <gdk@chromium.org>
(cherry picked from commit cd31c0717625ef0bd94212646771dc95656cc66b)
Reviewed-on: https://chromium-review.googlesource.com/258480
Reviewed-by: Patrick Sosinski <sosinski@google.com>
Commit-Queue: Patrick Sosinski <sosinski@google.com>
Tested-by: Patrick Sosinski <sosinski@google.com>
2 files changed