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

Unified Diff: components/onc/docs/onc_spec.html

Issue 750313003: ONC: Add IPConfigType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipconfig_object
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromeos/test/data/network/user.onc ('k') | components/onc/onc_constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/onc/docs/onc_spec.html
diff --git a/components/onc/docs/onc_spec.html b/components/onc/docs/onc_spec.html
index f4e70c808c956715b81a6564d755b8b156681511..1b7d3381a24cdc845f4773035b5063c404da2355 100644
--- a/components/onc/docs/onc_spec.html
+++ b/components/onc/docs/onc_spec.html
@@ -251,6 +251,24 @@
string.
</dd>
+ <dt class="field">IPConfigType</dt>
+ <dd>
+ <span class="field_meta">
+ (optional if <span class="field">Remove</span> is
+ <span class="value">false</span>, otherwise ignored. Defaults to
+ <span class="value">DHCP</span>)
stevenjb 2014/12/04 00:14:30 Actually, e.g., ethernet.onc contains a StaticIPCo
pneubeck (no reviews) 2014/12/04 12:17:42 Depending on the source/usage of ONC, we remove 'i
+ <span class="type">string</span>
+ </span>
+ <span class="rule">
+ <span class="rule_id"></span>
+ Allowed values are <span class="value">DHCP</span> and
+ <span class="value">Static</span>.
+ </span>
+ Determines whether the IP configuration is statically configured, see
+ <span class="field">StaticIPConfig</span> or automatically configured
+ using DHCP.
+ </dd>
+
<dt class="field">IPConfigs</dt>
<dd>
<span class="field_meta">
@@ -263,8 +281,8 @@
<dt class="field">StaticIPConfig</dt>
<dd>
<span class="field_meta">
- (optional if <span class="field">Remove</span> is
- <span class="value">false</span>, otherwise ignored)
+ (required if <span class="field">IPConfigType</span> is
+ <span class="value">DHCP</span>)
stevenjb 2014/12/04 00:14:30 Shouldn't this be Static?
pneubeck (no reviews) 2014/12/04 12:17:42 doh, of course,
<span class="type">IPConfig</span>
</span>
Each property set in this IPConfig object overrides the respective
« no previous file with comments | « chromeos/test/data/network/user.onc ('k') | components/onc/onc_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698