summaryrefslogtreecommitdiffstats
path: root/chromeos/test/data/network/translation_of_shill_l2tpipsec.onc
blob: 1e6d3da7f8f1cd0184c035fbabde07c1d9b1df17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ "GUID": "guid",
  "Type": "VPN",
  "Name": "MyL2TPVPN",
  "VPN": {
    "Type": "L2TP-IPsec",
    "Host": "some.host.org",
    "IPsec": {
      // These two fields are part of the ONC (and are required). However, they
      // don't exist explicitly in the Shill dictionary. As there is no use-case
      // yet, that requires to reconstruct these fields from a Shill dictionary,
      // we don't require their translation.
      // "AuthenticationType": "PSK",
      // "IKEVersion": 1,
      "PSK": "some_preshared_key",
      "SaveCredentials": true,
      "XAUTH": {
          "Username": "some xauth username",
          "Password": "some xauth password"
      }
    },
    "L2TP": {
      "Username": "some username",
      "Password": "some password"
    }
  }
}