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

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: Change clearing of StaticIPConfig. Created 6 years 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..93c27a50fa85b0159d68b9bba665174d1196b99a 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>)
+ <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">Static</span>)
<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