ONC: Fix Static-/Saved-/IPConfig.
Before commit
41ec57e48ebd467c7a3b169a5598fb8038f54232,
IPConfigs was the field in ONC meant for configuring ip configuration of a network.
This was changed to:
- IPConfigs is the set of currently active ip configurations (it can be more than one if IPv4 and IPv6 are coexisting in parallel) reported by ChromeOS
- StaticIPConfig (note that it's a single configuration, not multiple as before) is the writable field that the user or policy can set
- SavedIPConfig is the configuration received via DHCP and reported by ChromeOS.
This change updates the different ONC functions to these new field definitions.
Effectively this also allows setting the IPConfig of a network through ONC import, the networkingPrivate API, and through policy (there's no server support though).
BUG=410877
Review URL: https://codereview.chromium.org/
540333002
Cr-Commit-Position: refs/heads/master@{#293915}