| OLD | NEW |
| (Empty) | |
| 1 { "GUID": "guid", |
| 2 "Type": "VPN", |
| 3 "Name": "MyL2TPVPN", |
| 4 "VPN": { |
| 5 "Type": "L2TP-IPsec", |
| 6 "Host": "some.host.org", |
| 7 "IPsec": { |
| 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 |
| 10 // yet, that requires to reconstruct these fields from a Shill dictionary, |
| 11 // we don't require their translation. |
| 12 // "AuthenticationType": "PSK", |
| 13 // "IKEVersion": 1, |
| 14 "PSK": "some_preshared_key", |
| 15 "SaveCredentials": true |
| 16 }, |
| 17 "L2TP": { |
| 18 "Username": "some username", |
| 19 "Password": "some password" |
| 20 } |
| 21 } |
| 22 } |
| OLD | NEW |