|
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
Committed: https://crrev.com/faf50c40335fd2055c8beed69c0f630bd442d880
Cr-Commit-Position: refs/heads/master@{#293915}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+221 lines, -87 lines) |
Patch |
 |
M |
chromeos/network/onc/onc_merger_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_normalizer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_signature.cc
|
View
|
1
2
3
|
4 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_translator_onc_to_shill.cc
|
View
|
1
|
5 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_translator_shill_to_onc.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_validator.cc
|
View
|
|
1 chunk |
+17 lines, -14 lines |
0 comments
|
Download
|
 |
M |
chromeos/network/onc/onc_validator_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/augmented_merge.json
|
View
|
1
|
1 chunk |
+51 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/device_policy.onc
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/ethernet.onc
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/invalid_settings_with_repairs.json
|
View
|
1
|
3 chunks |
+23 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/managed_toplevel1.onc
|
View
|
|
1 chunk |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/managed_vpn.onc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/managed_vpn_without_recommended.onc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/repaired_toplevel_partially_invalid.onc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/shill_ethernet.json
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/toplevel_partially_invalid.onc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/translation_of_shill_ethernet.onc
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/translation_of_shill_ethernet_with_ipconfig.onc
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/user.onc
|
View
|
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chromeos/test/data/network/vpn_active_settings.onc
|
View
|
1
|
1 chunk |
+20 lines, -1 line |
0 comments
|
Download
|
Total messages: 33 (10 generated)
|