Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Open Network Configuration | 1 # Open Network Configuration |
| 2 | 2 |
| 3 [TOC] | 3 [TOC] |
| 4 | 4 |
| 5 ## Objective | 5 ## Objective |
| 6 | 6 |
| 7 We would like to create a simple, open, but complete format to describe | 7 We would like to create a simple, open, but complete format to describe |
| 8 multiple network configurations for WiFi, Ethernet, Cellular, | 8 multiple network configurations for WiFi, Ethernet, Cellular, |
| 9 Bluetooth/WiFi-Direct, and VPN connections in a single file format, in order | 9 Bluetooth/WiFi-Direct, and VPN connections in a single file format, in order |
| 10 to simplify and automate network configuration for users. | 10 to simplify and automate network configuration for users. |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 223 * **WiMAX** | 223 * **WiMAX** |
| 224 * (required if **Type** is *WiMAX*, otherwise ignored) - | 224 * (required if **Type** is *WiMAX*, otherwise ignored) - |
| 225 [WiMAX](#WiMAX-type) | 225 [WiMAX](#WiMAX-type) |
| 226 * WiMAX settings. | 226 * WiMAX settings. |
| 227 | 227 |
| 228 * **Cellular** | 228 * **Cellular** |
| 229 * (required if **Type** is *Cellular*, otherwise ignored) - | 229 * (required if **Type** is *Cellular*, otherwise ignored) - |
| 230 [Cellular](#Cellular-type) | 230 [Cellular](#Cellular-type) |
| 231 * Cellular settings. | 231 * Cellular settings. |
| 232 | 232 |
| 233 * **Tether** | |
| 234 * (required if **Type** is *Tether*, otherwise ignored) - | |
| 235 [Tether](#Tether-type) | |
| 236 * Tether settings. | |
| 237 | |
| 233 * **Type** | 238 * **Type** |
| 234 * (required if **Remove** is *false*, otherwise ignored) - **string** | 239 * (required if **Remove** is *false*, otherwise ignored) - **string** |
| 235 * `Allowed values are` *Cellular*, | 240 * `Allowed values are` *Cellular*, |
| 236 *Ethernet*, *WiFi*, | 241 *Ethernet*, *WiFi*, |
| 237 *WiMAX* and *VPN*. | 242 *WiMAX* and *VPN*. |
| 238 * Indicates which kind of connection this is. | 243 * Indicates which kind of connection this is. |
| 239 | 244 |
| 240 * **ConnectionState** | 245 * **ConnectionState** |
| 241 * (optional, read-only) - **string** | 246 * (optional, read-only) - **string** |
| 242 * The current connection state for this network, provided by the system. | 247 * The current connection state for this network, provided by the system. |
| (...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1419 * **RetriesLeft** | 1424 * **RetriesLeft** |
| 1420 * (optional) - **integer** | 1425 * (optional) - **integer** |
| 1421 * If **LockType** is empty | 1426 * If **LockType** is empty |
| 1422 or *sim-pin*, then this property represents | 1427 or *sim-pin*, then this property represents |
| 1423 the number of attempts remaining to supply a correct PIN before the | 1428 the number of attempts remaining to supply a correct PIN before the |
| 1424 PIN becomes blocked, at which point a PUK provided by the carrier would | 1429 PIN becomes blocked, at which point a PUK provided by the carrier would |
| 1425 be necessary to unlock the SIM (and **LockType** | 1430 be necessary to unlock the SIM (and **LockType** |
| 1426 changes to *sim-puk*). | 1431 changes to *sim-puk*). |
| 1427 | 1432 |
| 1428 | 1433 |
| 1434 ## Tether Networks | |
| 1435 | |
| 1436 For Tether connections, **Type** must be set to *Tether* and the | |
| 1437 field **Tether** must be set to an object of type [Tether](#Tether-type). | |
| 1438 | |
| 1439 Used for representing a tether hotspot produced by a device with a cellular | |
|
stevenjb
2017/04/18 23:34:14
s/produced by a device with a cellular chip/provid
Kyle Horimoto
2017/04/18 23:41:13
Done.
| |
| 1440 chip. | |
| 1441 | |
| 1442 ### Tether type | |
| 1443 | |
| 1444 * **BatteryPercentage** | |
| 1445 * (optional, read-only) - **integer** | |
| 1446 * The battery percentage of the device providing the tether hotspot in the | |
| 1447 range [0, 100]. | |
| 1448 | |
| 1449 * **Carrier** | |
| 1450 * (optional, read-only) - **string** | |
| 1451 * The name of the cellular provider through which the hotspot is providing | |
| 1452 an Internet connection. | |
|
stevenjb
2017/04/18 23:34:14
'The name of the cellular carrier when the hotspot
Kyle Horimoto
2017/04/18 23:41:13
Done.
| |
| 1453 | |
| 1454 * **SignalStrength** | |
| 1455 * (optional, read-only) - **integer** | |
| 1456 * The current signal strength for this network in the range [0, 100]. | |
|
stevenjb
2017/04/18 23:34:15
s/for this network/for the connection to the hotsp
Kyle Horimoto
2017/04/18 23:41:13
Done, and added some extra clarification.
| |
| 1457 | |
| 1458 | |
| 1429 ## Bluetooth / WiFi Direct Networks | 1459 ## Bluetooth / WiFi Direct Networks |
| 1430 | 1460 |
| 1431 This format will eventually also cover configuration of Bluetooth and WiFi | 1461 This format will eventually also cover configuration of Bluetooth and WiFi |
| 1432 Direct network technologies, however they are currently not supported. | 1462 Direct network technologies, however they are currently not supported. |
| 1433 | 1463 |
| 1434 | 1464 |
| 1435 ## Certificates | 1465 ## Certificates |
| 1436 | 1466 |
| 1437 Certificate data is stored in a separate section. Each certificate may be | 1467 Certificate data is stored in a separate section. Each certificate may be |
| 1438 referenced from within the NetworkConfigurations array using a certificate | 1468 referenced from within the NetworkConfigurations array using a certificate |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1768 is transmitted or saved to disk should be secure. On client device, when | 1798 is transmitted or saved to disk should be secure. On client device, when |
| 1769 user names for connections that are user-specific are persisted to disk, | 1799 user names for connections that are user-specific are persisted to disk, |
| 1770 they should be stored in a location that is encrypted. Users can also opt in | 1800 they should be stored in a location that is encrypted. Users can also opt in |
| 1771 these cases to not save their user credentials in the config file and will | 1801 these cases to not save their user credentials in the config file and will |
| 1772 instead be prompted when they are needed. | 1802 instead be prompted when they are needed. |
| 1773 | 1803 |
| 1774 ## Authors | 1804 ## Authors |
| 1775 | 1805 |
| 1776 * pneubeck@chromium.org | 1806 * pneubeck@chromium.org |
| 1777 * stevenjb@chromium.org | 1807 * stevenjb@chromium.org |
| OLD | NEW |