SPEC: wording tweak

This commit is contained in:
Jonathan Boulle 2015-04-20 12:21:55 -07:00 committed by Eugene Yakubovich
parent 6321656e96
commit 622f8b6e16

View File

@ -153,9 +153,8 @@ Success is indicated by a zero return code and the following JSON being printed
``` ```
`gateway` is the default gateway for this subnet, if one exists. `gateway` is the default gateway for this subnet, if one exists.
It does not instruct the CNI plugin to add any routes with this gateway. It does not instruct the CNI plugin to add any routes with this gateway: routes to add are specified separately via the `routes` field.
Routes to add are separately specified via `routes` field. An example use of this value is for the CNI plugin to add this IP address to the linux-bridge to make it a gateway.
Example use of this value is for CNI plugin to add this IP address to the linux-bridge to make it a gateway.
Each route entry is a dictionary with the following fields: Each route entry is a dictionary with the following fields:
- `dst` (string): Destination subnet specified in CIDR notation. - `dst` (string): Destination subnet specified in CIDR notation.