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

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

Issue 540333002: ONC: Fix Static-/Saved-/IPConfig. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed another unit test. Created 6 years, 3 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 { "GUID": "123", 1 { "GUID": "123",
2 "Type": "VPN", 2 "Type": "VPN",
3 "Name": "testopenvpn", 3 "Name": "testopenvpn",
4 "IPConfigs": [ 4 "StaticIPConfig": {
5 { "Type": "IPv4", 5 "Type": "IPv4",
6 "IPAddress": "127.0.0.1", 6 "IPAddress": "127.0.0.1",
7 "RoutingPrefix": 32 } 7 "RoutingPrefix": 32
8 ], 8 },
9 "VPN": { 9 "VPN": {
10 "Host": "policys host", 10 "Host": "policys host",
11 "Recommended": ["Host"], 11 "Recommended": ["Host"],
12 "Type": "OpenVPN", 12 "Type": "OpenVPN",
13 "OpenVPN": { 13 "OpenVPN": {
14 "Port": 1194, 14 "Port": 1194,
15 "Username": "policy user", 15 "Username": "policy user",
16 "Recommended": [ "Username", "Password" ], 16 "Recommended": [ "Username", "Password" ],
17 "ClientCertType": "Pattern", 17 "ClientCertType": "Pattern",
18 "ClientCertPattern": { 18 "ClientCertPattern": {
19 "IssuerCARef": [ "openvpn-test-ca" ], 19 "IssuerCARef": [ "openvpn-test-ca" ],
20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ] 20 "Recommended": [ "EnrollmentURI", "IssuerCARef" ]
21 }, 21 },
22 "ServerCARefs": ["ref1", "ref2"] 22 "ServerCARefs": ["ref1", "ref2"]
23 }, 23 },
24 "IPsec": { 24 "IPsec": {
25 "AuthenticationType": "PSK", 25 "AuthenticationType": "PSK",
26 "PSK": "sharedkey", 26 "PSK": "sharedkey",
27 "IKEVersion": 1 27 "IKEVersion": 1
28 } 28 }
29 } 29 }
30 } 30 }
OLDNEW
« no previous file with comments | « chromeos/test/data/network/managed_toplevel1.onc ('k') | chromeos/test/data/network/managed_vpn_without_recommended.onc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698