Commit ea516136 authored by Alex Khouderchah's avatar Alex Khouderchah Committed by Commit Bot

ONC docs: Clarify IPConfig {Included,Excluded}Routes behavior

This CL clarifies that {Included,Excluded}Routes can be used for
any network Type and describes the default routing behavior for
each Type.

Bug: 1038601
Change-Id: Ibb1cf5fba164f416b31f3b22d81c4105639839da
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2037318
Commit-Queue: Alex Khouderchah <akhouderchah@chromium.org>
Reviewed-by: default avatarPavol Marko <pmarko@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738606}
parent ad8815d3
......@@ -423,19 +423,18 @@ static IP configuration (see **StaticIPConfig**).
* (optional) - **array of string**
* An array of strings, each of which is an IP block in CIDR notation,
whose traffic should be handled by the network. Example:
`["10.0.0.0/8", "192.168.5.0/24"]`. If **IncludedRoutes** or
**ExcludedRoutes** are not specified, this network
will be used to handle traffic for all IPs by default. Currently this
property only has an effect if the Network **Type** is *VPN* and the
VPN **Type** is *ARCVPN*.
`["10.0.0.0/8", "192.168.5.0/24"]`. These routes will supplement the
existing routes for this network; physical networks (**Type** *Cellular*,
*Ethernet*, or *WiFi*) and *L2TP-IPsec* VPN networks will by default route
all traffic sent to them. *ARCVPN* and *ThirdPartyVPN* VPN networks have
routes configured by the corresponding VPN app, and *OpenVPN* VPN networks
have routes configured by the OpenVPN server.
* **ExcludedRoutes**
* (optional) - **array of string**
* An array of strings, each of which is an IP block in CIDR notation,
whose traffic should **not** be handled by the network. Example:
`["10.0.0.0/8", "192.168.5.0/24"]`. Currently this
only has an effect if the Network **Type** is *VPN* and the VPN
**Type** is *ARCVPN*.
`["10.0.0.0/8", "192.168.5.0/24"]`.
* **WebProxyAutoDiscoveryUrl**
* (optional if part of **IPConfigs**, read-only) - **string**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment