History log of /system/connectivity/shill/dhcp_properties.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
15d5431798155cc83a3fcb8abe0d1a2d5128f7b6 09-Oct-2015 Rebecca Silberstein <silberst@google.com> RE-LAND: shill: use DhcpProperties for dhcpv4 config

In some deployments, DHCP properties need to be specified for DHCP
requests. These properties will be set via the PropertyStore and stored
in the user profile (per service) and the default profile.

To implement this, the manager and service classes will each have an
instance of DhcpProperties to track the property settings stored in the
applicable profile. When a device creates a dhcp_config object to
configure the dhcpcd options, it will merge any applicable
DhcpProperties values set in the default and user profiles.

Users were previously able to set the hostname for DHCP requests using
the Manager.Hostname property. This value is now included in the new
DhcpProperties object. Two options are currently supported:
DhcpProperties.Hostname and DhcpProperties.VendorClass.

This change also includes new tests for the new object and the
affiliated functions. Existing tests were also updated to cover this
new functionality.

Bug: 24162121
TEST="FEATURES=test emerge-daisy shill"
TEST=compiled for brillo

Change-Id: I045ab0dbf866ea0084a8f77b28bfff24970bb92c
/system/connectivity/shill/dhcp_properties.cc
62d57630fe05899743f319326bd99168fc2cd69c 03-Nov-2015 Rebecca Silberstein <silberst@google.com> shill: add DhcpProperties to Android.mk

Add new files for DhcpProperties to the Android.mk file.

Bug: 24162121
TEST=compiled for Brillo

Change-Id: I1268efaf8ba4b045ae3f2655d678da6c0f8487c8
/system/connectivity/shill/dhcp_properties.cc
f95fe0f32645a56ba4a1dfb2dfbcaabf80b0b3f2 31-Oct-2015 Rebecca Silberstein <silberst@google.com> Revert "shill: use DhcpProperties for dhcpv4 config"

This reverts commit 5ac8c7b32241582e2e39469297de6b7cab2c7d19.

Change-Id: I7b8e747aca30a2d09dc474d2c5ef31ffcccf8032
/system/connectivity/shill/dhcp_properties.cc
5ac8c7b32241582e2e39469297de6b7cab2c7d19 09-Oct-2015 Rebecca Silberstein <silberst@google.com> shill: use DhcpProperties for dhcpv4 config

In some deployments, DHCP properties need to be specified for DHCP
requests. These properties will be set via the PropertyStore and stored
in the user profile (per service) and the default profile.

To implement this, the manager and service classes will each have an
instance of DhcpProperties to track the property settings stored in the
applicable profile. When a device creates a dhcp_config object to
configure the dhcpcd options, it will merge any applicable
DhcpProperties values set in the default and user profiles.

Users were previously able to set the hostname for DHCP requests using
the Manager.Hostname property. This value is now included in the new
DhcpProperties object. Two options are currently supported:
DhcpProperties.Hostname and DhcpProperties.VendorClass.

This change also includes new tests for the new object and the
affiliated functions. Existing tests were also updated to cover this
new functionality.

Bug: 24162121
TEST="USE="asan clang" FEATURES=test emerge-samus shill"

Change-Id: I9e25ced863661cfd73164faf9032df25b208c6c2
/system/connectivity/shill/dhcp_properties.cc
e0d323234de6375d9774aaca262ed6cb0716f6d6 20-Oct-2015 Alex Vakulenko <avakulenko@google.com> shill: Fix build break on ChromeOS

Brillo-based code has migrated to brillo:: namespace in code sourced
from libchromeos. A new change added reference to chromeos::Any which
no longer compiles on Brillo. Changed it to brillo::Any instead.

Change-Id: Ic2d4b01fa931fa151f14f39cda4206d90814238b
/system/connectivity/shill/dhcp_properties.cc
a77c5e24c871e2b25b2ca4def689388ba6c6892b 08-Oct-2015 Rebecca Silberstein <silberst@google.com> shill: create DHCP properties to use for config

Create a DHCP Properties class that stores optional settings for DHCP
requests. The class will initally support two properties: Hostname and
VendorClass. This class also implements PropertyStore plumbing for the
properties. This change includes new unitests for the DhcpProperties
functionality.

Bug: 24162121
TEST="FEATURES=test USE="asan clang" emerge-samus shill"

Change-Id: I62696d45fd04d0bbc8be2cebaef7b4a5aebb80ee
/system/connectivity/shill/dhcp_properties.cc