Allow user to modify network settings not enforced by device policy.

* ONC normalizer now removes StaticIPConfig fields that are
overriden by IPAddressConfigType and NameServersConfigType.

* ONC validator validates StaticIPConfig properly (e.g. requires
fields based on IPAddressConfigType and NameServersConfigType)

Bug: 847429
Change-Id: I47fceaaf10f41346afba552a35206fcdb130a887
Reviewed-by: Alexander Hendrich <>
Reviewed-by: Steven Bennetts <>
Commit-Queue: Zakhar Voit <>
Cr-Commit-Position: refs/heads/master@{#613409}
12 files changed