| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <link rel="stylesheet" href="onc_spec.css" > | 5 <link rel="stylesheet" href="onc_spec.css" > |
| 6 <script src="onc_spec.js"></script> | 6 <script src="onc_spec.js"></script> |
| 7 <title>Open Network Configuration Format</title> | 7 <title>Open Network Configuration Format</title> |
| 8 </head> | 8 </head> |
| 9 <body> | 9 <body> |
| 10 | 10 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 <span class="type">string</span> | 344 <span class="type">string</span> |
| 345 </span> | 345 </span> |
| 346 <span class="rule"> | 346 <span class="rule"> |
| 347 <span class="rule_id"></span> | 347 <span class="rule_id"></span> |
| 348 Allowed values are <span class="value">Cellular</span>, | 348 Allowed values are <span class="value">Cellular</span>, |
| 349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>, | 349 <span class="value">Ethernet</span>, <span class="value">WiFi</span>, |
| 350 and <span class="value">VPN</span>. | 350 and <span class="value">VPN</span>. |
| 351 </span> | 351 </span> |
| 352 Indicates which kind of connection this is. | 352 Indicates which kind of connection this is. |
| 353 </dd> | 353 </dd> |
| 354 |
| 355 <dt class="field">ConnectionState</dt> |
| 356 <dd> |
| 357 <span class="field_meta"> |
| 358 (optional, read-only) |
| 359 <span class="type">string</span> |
| 360 </span> |
| 361 The current connection state for this network, provided by the system. |
| 362 <span class="rule"> |
| 363 <span class="rule_id"></span> |
| 364 Allowed values are: |
| 365 <span class="value">Connected</span>, |
| 366 <span class="value">Connecting</span>, |
| 367 <span class="value">NotConnected</span> |
| 368 </span> |
| 369 </dd> |
| 370 |
| 371 <dt class="field">ErrorState</dt> |
| 372 <dd> |
| 373 <span class="field_meta"> |
| 374 (optional, read-only) |
| 375 <span class="type">string</span> |
| 376 </span> |
| 377 The current error state for this network. Error states are provided by |
| 378 the system and are not explicitly defined here. They may or may not be |
| 379 human-readable. This field will be empty or absent if the network is not |
| 380 in an error state. |
| 381 </dd> |
| 382 |
| 354 </dl> | 383 </dl> |
| 355 | 384 |
| 356 <section> | 385 <section> |
| 357 <h1>Ethernet networks</h1> | 386 <h1>Ethernet networks</h1> |
| 358 <p> | 387 <p> |
| 359 For Ethernet connections, <span class="field">Type</span> must be set to | 388 For Ethernet connections, <span class="field">Type</span> must be set to |
| 360 <span class="value">Ethernet</span> and the | 389 <span class="value">Ethernet</span> and the |
| 361 field <span class="field">Ethernet</span> must be set to an object of | 390 field <span class="field">Ethernet</span> must be set to an object of |
| 362 type <span class="type">Ethernet</span> containing the following fields: | 391 type <span class="type">Ethernet</span> containing the following fields: |
| 363 </p> | 392 </p> |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 546 </dd> | 575 </dd> |
| 547 | 576 |
| 548 <dt class="field">SSID</dt> | 577 <dt class="field">SSID</dt> |
| 549 <dd> | 578 <dd> |
| 550 <span class="field_meta"> | 579 <span class="field_meta"> |
| 551 (required) | 580 (required) |
| 552 <span class="type">string</span> | 581 <span class="type">string</span> |
| 553 </span> | 582 </span> |
| 554 SSID of the network. | 583 SSID of the network. |
| 555 </dd> | 584 </dd> |
| 585 |
| 586 <dt class="field">SignalStrength</dt> |
| 587 <dd> |
| 588 <span class="field_meta"> |
| 589 (optional, read-only) |
| 590 <span class="type">integer</span> |
| 591 </span> |
| 592 The current signal strength for this network in the range [0, 100], |
| 593 provided by the system. If the network is not in range this field will |
| 594 be set to '0' or not present. |
| 595 </dd> |
| 556 </dl> | 596 </dl> |
| 557 </section> | 597 </section> |
| 558 | 598 |
| 559 <section> | 599 <section> |
| 560 <h1>VPN networks</h1> | 600 <h1>VPN networks</h1> |
| 561 <p> | 601 <p> |
| 562 There are many kinds of VPNs with widely varying configuration options. We | 602 There are many kinds of VPNs with widely varying configuration options. We |
| 563 offer standard configuration options for a few common configurations at this | 603 offer standard configuration options for a few common configurations at this |
| 564 time, and may add more later. For all others, implementation specific fields | 604 time, and may add more later. For all others, implementation specific fields |
| 565 should be used. | 605 should be used. |
| (...skipping 1669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2235 is transmitted or saved to disk should be secure. On client device, when | 2275 is transmitted or saved to disk should be secure. On client device, when |
| 2236 user names for connections that are user-specific are persisted to disk, | 2276 user names for connections that are user-specific are persisted to disk, |
| 2237 they should be stored in a location that is encrypted. Users can also opt in | 2277 they should be stored in a location that is encrypted. Users can also opt in |
| 2238 these cases to not save their user credentials in the config file and will | 2278 these cases to not save their user credentials in the config file and will |
| 2239 instead be prompted when they are needed. | 2279 instead be prompted when they are needed. |
| 2240 </p> | 2280 </p> |
| 2241 </section> | 2281 </section> |
| 2242 </section> | 2282 </section> |
| 2243 </body> | 2283 </body> |
| 2244 </html> | 2284 </html> |
| OLD | NEW |