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

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

Issue 482243002: Use Managed properties for Preferred and Provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback, fix unittests Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 { "GUID": "guid", 1 { "GUID": "guid",
2 "Type": "VPN", 2 "Type": "VPN",
3 "Name": "MyL2TPVPN", 3 "Name": "MyL2TPVPN",
4 "VPN": { 4 "VPN": {
5 "Type": "L2TP-IPsec", 5 "Type": "L2TP-IPsec",
6 "Host": "some.host.org", 6 "Host": "some.host.org",
7 "IPsec": { 7 "IPsec": {
8 // These two fields are part of the ONC (and are required). However, they 8 // These two fields are part of the ONC (and are required). However, they
9 // don't exist explicitly in the Shill dictionary. As there is no use-case 9 // don't exist explicitly in the Shill dictionary. As there is no use-case
10 // yet, that requires to reconstruct these fields from a Shill dictionary, 10 // yet, that requires to reconstruct these fields from a Shill dictionary,
11 // we don't require their translation. 11 // we don't require their translation.
12 // "AuthenticationType": "PSK", 12 // "AuthenticationType": "PSK",
13 // "IKEVersion": 1, 13 // "IKEVersion": 1,
14 "PSK": "some_preshared_key", 14 "PSK": "some_preshared_key",
15 "SaveCredentials": true, 15 "SaveCredentials": true,
16 "XAUTH": { 16 "XAUTH": {
17 "Username": "some xauth username", 17 "Username": "some xauth username",
18 "Password": "some xauth password" 18 "Password": "some xauth password"
19 } 19 }
20 }, 20 },
21 "L2TP": { 21 "L2TP": {
22 "Username": "some username", 22 "Username": "some username",
23 "Password": "some password" 23 "Password": "some password",
24 } 24 "SaveCredentials": true
25 },
25 } 26 }
26 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698