Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: chromeos/test/data/network/translation_of_shill_ethernet_with_ipconfig.onc

Issue 749013003: ONC: Add IPAddressConfigType and NameServersConfigType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Alywas use empty dictionary to clear StaticIPConfig properties Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "Ethernet":{ 2 "Ethernet":{
3 "Authentication":"None" 3 "Authentication":"None"
4 }, 4 },
5 "GUID":"guid", 5 "GUID":"guid",
6 "IPAddressConfigType":"Static",
6 "IPConfigs":[ 7 "IPConfigs":[
7 { 8 {
8 "Gateway":"1.1.1.1", 9 "Gateway":"1.1.1.1",
9 "IPAddress":"123.123.123.123", 10 "IPAddress":"123.123.123.123",
10 "NameServers":[ 11 "NameServers":[
11 "1.1.1.2", 12 "1.1.1.2",
12 "1.1.1.3" 13 "1.1.1.3"
13 ], 14 ],
14 "RoutingPrefix":24, 15 "RoutingPrefix":24,
15 "Type":"IPv4", 16 "Type":"IPv4",
16 "WebProxyAutoDiscoveryUrl":"proxy.url" 17 "WebProxyAutoDiscoveryUrl":"proxy.url"
17 }, 18 },
18 { 19 {
19 "Gateway":"2001:db8:85a3::7a2e:370:7331", 20 "Gateway":"2001:db8:85a3::7a2e:370:7331",
20 "IPAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334", 21 "IPAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334",
21 "NameServers":[], 22 "NameServers":[],
22 "RoutingPrefix":12, 23 "RoutingPrefix":12,
23 "Type":"IPv6" 24 "Type":"IPv6"
24 } 25 }
25 ], 26 ],
26 "Name":"", 27 "Name":"",
28 "NameServersConfigType":"Static",
27 "SavedIPConfig":{ 29 "SavedIPConfig":{
28 "Gateway":"1.1.1.4", 30 "Gateway":"1.1.1.4",
29 "IPAddress":"124.124.124.124", 31 "IPAddress":"124.124.124.124",
30 "NameServers":[ 32 "NameServers":[
31 "1.1.1.5", 33 "1.1.1.5",
32 "1.1.1.6" 34 "1.1.1.6"
33 ], 35 ],
34 "RoutingPrefix":25, 36 "RoutingPrefix":25,
35 "Type":"IPv4" 37 "Type":"IPv4"
36 }, 38 },
37 "StaticIPConfig":{ 39 "StaticIPConfig":{
38 "Gateway":"1.1.1.7", 40 "Gateway":"1.1.1.7",
39 "IPAddress":"125.125.125.125", 41 "IPAddress":"125.125.125.125",
40 "NameServers":[ 42 "NameServers":[
41 "1.1.1.8" 43 "1.1.1.8"
42 ], 44 ],
43 "RoutingPrefix":26, 45 "RoutingPrefix":26,
44 "Type":"IPv4" 46 "Type":"IPv4"
45 }, 47 },
46 "Type":"Ethernet" 48 "Type":"Ethernet"
47 } 49 }
OLDNEW
« no previous file with comments | « chromeos/test/data/network/translation_of_shill_ethernet.onc ('k') | chromeos/test/data/network/user.onc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698