| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| { "name":"006WpaHiddenWiFi", |
| "uses_onc": True, |
| "steps":[ |
| [ "create", { "type":"hostap" } ], |
| [ "config", { "ssid":"006WpaHiddenWiFi", |
| "channel":"2412", "mode":"11g", "hidessid":None, |
| "wpa":"1", "wpa_key_mgmt":"WPA-PSK", |
| "wpa_pairwise":"TKIP", |
| "wpa_passphrase":"chromeos" |
| } |
| ], |
| |
| [ "run_onc_client_test", |
| { "onc": |
| """{ |
| "NetworkConfigurations": [ |
| { |
| "GUID": "{485d6076-dd44-6b6d-69787465725f5045}", |
| "Type": "WiFi", |
| "Name": "My WiFi Network", |
| "WiFi": { |
| "SSID": "006WpaHiddenWiFi", |
| "Security": "WPA-PSK", |
| "Passphrase": "chromeos", |
| "HiddenSSID": true |
| } |
| } |
| ], |
| "Certificates": [], |
| "Type": "UnencryptedConfiguration" |
| }""" |
| } ], |
| [ "destroy" ], |
| ], |
| } |