Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: components/onc/docs/onc_spec.html

Issue 830133003: ONC: Remove the top level fields NameServers and SearchDomains. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix IPConfig documentation and adapt validation. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromeos/network/onc/onc_validator.cc ('k') | components/onc/onc_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 <dt class="field">ProxySettings</dt> 305 <dt class="field">ProxySettings</dt>
306 <dd> 306 <dd>
307 <span class="field_meta"> 307 <span class="field_meta">
308 (optional if <span class="field">Remove</span> is 308 (optional if <span class="field">Remove</span> is
309 <span class="value">false</span>, otherwise ignored) 309 <span class="value">false</span>, otherwise ignored)
310 <span class="type">ProxySettings</span> 310 <span class="type">ProxySettings</span>
311 </span> 311 </span>
312 Proxy settings for this network 312 Proxy settings for this network
313 </dd> 313 </dd>
314 314
315 <dt class="field">NameServers</dt>
316 <dd>
317 <span class="field_meta">
318 (optional if <span class="field">Remove</span> is
319 <span class="value">false</span>, otherwise ignored)
320 <span class="type">array of string</span>
321 </span>
322 Array of addresses to use for name servers. If not specified, DHCP values
323 will be used.
324 </dd>
325
326 <dt class="field">SearchDomains</dt>
327 <dd>
328 <span class="field_meta">
329 (optional if <span class="field">Remove</span> is
330 <span class="value">false</span>, otherwise ignored)
331 <span class="type">array of string</span>
332 </span>
333 Array of strings to append to names for resolution. Items in this array
334 should not start with a dot. Example:
335 <span class="snippet">["corp.acme.org", "acme.org"]</span>. If not
336 specified, DHCP values will be used.
337 </dd>
338
339 <dt class="field">VPN</dt> 315 <dt class="field">VPN</dt>
340 <dd> 316 <dd>
341 <span class="field_meta"> 317 <span class="field_meta">
342 (required if <span class="field">Type</span> is 318 (required if <span class="field">Type</span> is
343 <span class="value">VPN</span>, otherwise ignored) 319 <span class="value">VPN</span>, otherwise ignored)
344 <span class="type">VPN</span> 320 <span class="type">VPN</span>
345 </span> 321 </span>
346 VPN settings. 322 VPN settings.
347 </dd> 323 </dd>
348 324
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 (required if <span class="field">Authentication</span> is 499 (required if <span class="field">Authentication</span> is
524 <span class="value">8021X</span>, otherwise ignored) 500 <span class="value">8021X</span>, otherwise ignored)
525 <span class="type">EAP</span> 501 <span class="type">EAP</span>
526 </span> 502 </span>
527 EAP settings. 503 EAP settings.
528 </dd> 504 </dd>
529 </dl> 505 </dl>
530 </section> 506 </section>
531 507
532 <section> 508 <section>
533 <h1>IP Config</h1> 509 <h1>IPConfig</h1>
534 <p> 510 <p>
535 Field <span class="field">IPConfigs</span> is an array 511 Objects of type <span class="type">IPConfig</span> are used to report the
536 of <span class="type">IPConfig</span> 512 actual IP configuration of a connected network (see
537 objects. Each <span class="type">IPConfig</span> object describes a 513 <span class="field">IPConfigs</span>), the IP configuration received from
538 particular static IP configuration and contains the following fields: 514 DHCP (see <span class="field">SavedIPConfig</span>) and to configure a
515 static IP configuration (see <span class="field">StaticIPConfig</span>).
539 </p> 516 </p>
540 517
541 <dl class="field_list"> 518 <dl class="field_list">
542 <dt class="field">Type</dt> 519 <dt class="field">Type</dt>
543 <dd> 520 <dd>
544 <span class="field_meta"> 521 <span class="field_meta">
545 (required) 522 (required)
546 <span class="type">string</span> 523 <span class="type">string</span>
547 </span> 524 </span>
548 <span class="rule"> 525 <span class="rule">
(...skipping 11 matching lines...) Expand all
560 <span class="type">string</span> 537 <span class="type">string</span>
561 </span> 538 </span>
562 Describes the IPv4 or IPv6 address of a connection, depending on the value 539 Describes the IPv4 or IPv6 address of a connection, depending on the value
563 of <span class="field">Type</span> field. It should not contain the 540 of <span class="field">Type</span> field. It should not contain the
564 routing prefix (i.e. should not end in something like /64). 541 routing prefix (i.e. should not end in something like /64).
565 </dd> 542 </dd>
566 543
567 <dt class="field">RoutingPrefix</dt> 544 <dt class="field">RoutingPrefix</dt>
568 <dd> 545 <dd>
569 <span class="field_meta"> 546 <span class="field_meta">
570 (required) 547 (required if <span class="field">IPAddress</span> is set. Otherwise
548 ignored.)
571 <span class="type">integer</span> 549 <span class="type">integer</span>
572 </span> 550 </span>
573 <span class="rule"> 551 <span class="rule">
574 <span class="rule_id"></span> 552 <span class="rule_id"></span>
575 Must be a number in the range [1, 32] for IPv4 and [1, 128] for IPv6 553 Must be a number in the range [1, 32] for IPv4 and [1, 128] for IPv6
576 addresses. 554 addresses.
577 </span> 555 </span>
578 Describes the routing prefix. 556 Describes the routing prefix.
579 </dd> 557 </dd>
580 558
581 <dt class="field">Gateway</dt> 559 <dt class="field">Gateway</dt>
582 <dd> 560 <dd>
583 <span class="field_meta"> 561 <span class="field_meta">
584 (optional) 562 (optional)
585 <span class="type">string</span> 563 <span class="type">string</span>
586 </span> 564 </span>
587 Describes the gateway address to use for the configuration. Must match 565 Describes the gateway address to use for the configuration. Must match
588 address type specified in <span class="field">Type</span> field. If not 566 address type specified in <span class="field">Type</span> field. If not
589 specified, DHCP values will be used. 567 specified, DHCP values will be used.
590 </dd> 568 </dd>
591 569
592 <dt class="field">NameServers</dt> 570 <dt class="field">NameServers</dt>
593 <dd> 571 <dd>
594 <span class="field_meta"> 572 <span class="field_meta">
595 (optional) 573 (optional)
596 <span class="type">array of string</span> 574 <span class="type">array of string</span>
597 </span> 575 </span>
598 Array of addresses to use for name servers. Address format must match that 576 Array of addresses to use for name servers. Address format must match that
599 specified in the <span class="field">Type</span> field. Overrides values 577 specified in the <span class="field">Type</span> field. If not specified,
600 in the top level NameServers field for this configuration. If not 578 DHCP values will be used.
601 specified, top level values will be used.
602 </dd> 579 </dd>
603 580
604 <dt class="field">SearchDomains</dt> 581 <dt class="field">SearchDomains</dt>
605 <dd> 582 <dd>
606 <span class="field_meta"> 583 <span class="field_meta">
607 (optional) 584 (optional)
608 <span class="type">array of string</span> 585 <span class="type">array of string</span>
609 </span> 586 </span>
610 Array of strings to append to names for resolution. Items in this array 587 Array of strings to append to names for resolution. Items in this array
611 should not start with a dot. Example: <span class="snippet">[ 588 should not start with a dot. Example: <span class="snippet">[
612 "corp.acme.org", "acme.org" ]</span>. Overrides values in the top level 589 "corp.acme.org", "acme.org" ]</span>. If not specified, DHCP values will
613 SearchDomains field for this configuration. If not specified, top level 590 be used.
614 values will be used.
615 </dd> 591 </dd>
616 592
617 <dt class="field">WebProxyAutoDiscoveryUrl</dt> 593 <dt class="field">WebProxyAutoDiscoveryUrl</dt>
618 <dd> 594 <dd>
619 <span class="field_meta"> 595 <span class="field_meta">
620 (optional if part of <span class="field">IPConfigs</span>) 596 (optional if part of <span class="field">IPConfigs</span>, read-only)
621 <span class="type">string</span> 597 <span class="type">string</span>
622 </span> 598 </span>
623 The Web Proxy Auto-Discovery URL for this network as reported over DHCP. 599 The Web Proxy Auto-Discovery URL for this network as reported over DHCP.
624 </dd> 600 </dd>
625 601
626 </dl> 602 </dl>
627 </section> 603 </section>
628 604
629 <section> 605 <section>
630 <h1>Wi-Fi networks</h1> 606 <h1>Wi-Fi networks</h1>
(...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after
3023 is transmitted or saved to disk should be secure. On client device, when 2999 is transmitted or saved to disk should be secure. On client device, when
3024 user names for connections that are user-specific are persisted to disk, 3000 user names for connections that are user-specific are persisted to disk,
3025 they should be stored in a location that is encrypted. Users can also opt in 3001 they should be stored in a location that is encrypted. Users can also opt in
3026 these cases to not save their user credentials in the config file and will 3002 these cases to not save their user credentials in the config file and will
3027 instead be prompted when they are needed. 3003 instead be prompted when they are needed.
3028 </p> 3004 </p>
3029 </section> 3005 </section>
3030 </section> 3006 </section>
3031 </body> 3007 </body>
3032 </html> 3008 </html>
OLDNEW
« no previous file with comments | « chromeos/network/onc/onc_validator.cc ('k') | components/onc/onc_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698