commit | 10241e32c136ba99e7533ca1370e2e8eca241b7c | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Mon Apr 23 18:15:06 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Wed Apr 25 13:34:36 2012 -0700 |
tree | 875b75839985a6173feab55c8c9515d210ae2548 | |
parent | 9d1bbe759b42af1dea8dee5a340a3dba4c82d8ed [diff] |
shill: Add "IPConfig" property for Services Add an IPConfig property to services so it can be directly referenced here instead of indirectly through the device. A side effect of this is that one can query the IPConfig RPCIdentifier for a VPN service even though the device is not registered. While we are at it, fix all the PropertyStore values to be read-only since we never want to allow these fields to be modified on the IPConfig itself. Later we will provide a method for individual IPConfig fields to be overridden but these will be Service properties. BUG=chromium-os:29540 TEST=Manual: Over DBus, ensure that IPConfig property points at a readable IPConfig instance, both for OpenVPN, Ethernet and WiFi. Ensure that in the Chrome UI, the "Network Info" is still available (basically checking to make sure IPConfigs are still displayable using the old method) even thought the parameters are now set to be "Const". Change-Id: Ib01297ef8dc9bec828ed57361873e9eebc0354bd Reviewed-on: https://gerrit.chromium.org/gerrit/20983 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>