summaryrefslogtreecommitdiffstats
path: root/chromeos/test/data/network/toplevel_with_unknown_fields.onc
blob: 632e52da3db7fde5f6997ee1a1e14832c7d8add0 (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
27
28
29
30
31
// Test ONC file that contains unknown fields.
{
  "NetworkConfigurations": [
    {
      "GUID": "{485d6076-dd44-6b6d-69787465725f5045}",
      "Type": "WiFi",
      "Name": "My WiFi Network",
      "UnknownField1": "Value1",
      "UnknownField2": {
        "UnknownSubField": "Value2"
      },
      "WiFi": {
        "SSID": "ssid-none",
        "Security": "None"
      }
    },
    {
      "GUID": "{485d6076-dd44-6b6d-69787465725f5046}",
      "Type": "WiFi",
      "Name": "My WiFi Network2",
      "WiFi": {
        "Passphrase": "12345678",
        "SSID": "ssid-wpa",
        "Security": "WPA-PSK"
      }
    }
  ],
  "Certificates": [],
  "Type": "UnencryptedConfiguration",
  "UnknownField3": [],
}