Signed-off-by: yupeng <yu.peng36@zte.com.cn>
| ... | ... |
@@ -31,7 +31,7 @@ The remote driver protocol is a set of RPCs, issued as HTTP POSTs with JSON payl |
| 31 | 31 |
|
| 32 | 32 |
If the remote process cannot decode, or otherwise detects a syntactic problem with the HTTP request or payload, it must respond with an HTTP error status (4xx or 5xx). |
| 33 | 33 |
|
| 34 |
-If the remote process http server receives a request for an unknown URI, it should respond with the HTTP StatusCode `404 Not Found`. This allows libnetwork to detect when a remote driver does not implement yet a newly added method, therefore not to deem the request as failed. |
|
| 34 |
+If the remote process http server receives a request for an unknown URI, it should respond with the HTTP StatusCode `404 Not Found`. This allows LibNetwork to detect when a remote driver does not implement yet a newly added method, therefore not to deem the request as failed. |
|
| 35 | 35 |
|
| 36 | 36 |
If the remote process can decode the request, but cannot complete the operation, it must send a response in the form |
| 37 | 37 |
|
| ... | ... |
@@ -101,7 +101,7 @@ When the proxy is asked to create a network, the remote process shall receive a |
| 101 | 101 |
* `IPv4Data` and `IPv6Data` are the ip-addressing data configured by the user and managed by IPAM driver. The network driver is expected to honor the ip-addressing data supplied by IPAM driver. The data include, |
| 102 | 102 |
* `AddressSpace` : A unique string represents an isolated space for IP Addressing |
| 103 | 103 |
* `Pool` : A range of IP Addresses represted in CIDR format address/mask. Since, the IPAM driver is responsible for allocating container ip-addresses, the network driver can make use of this information for the network plumbing purposes. |
| 104 |
-* `Gateway` : Optionally, the IPAM driver may provide a Gateway for the subnet represented by the Pool. the network driver can make use of this information for the network plumbing purposes. |
|
| 104 |
+* `Gateway` : Optionally, the IPAM driver may provide a Gateway for the subnet represented by the Pool. The network driver can make use of this information for the network plumbing purposes. |
|
| 105 | 105 |
* `AuxAddresses` : A list of pre-allocated ip-addresses with an associated identifier as provided by the user to assist network driver if it requires specific ip-addresses for its operation. |
| 106 | 106 |
|
| 107 | 107 |
The response indicating success is empty: |
| ... | ... |
@@ -224,7 +224,7 @@ The entries in `"StaticRoutes"` represent routes that should be added to an inte |
| 224 | 224 |
|
| 225 | 225 |
Routes are either given a `RouteType` of `0` and a value for `NextHop`; or, a `RouteType` of `1` and no value for `NextHop`, meaning a connected route. |
| 226 | 226 |
|
| 227 |
-If no gateway and no default static route is set by the driver in the Join response, libnetwork will add an additional interface to the sandbox connecting to a default gateway network (a bridge network named *docker_gwbridge*) and program the default gateway into the sandbox accordingly, pointing to the interface address of the bridge *docker_gwbridge*. |
|
| 227 |
+If no gateway and no default static route is set by the driver in the Join response, LibNetwork will add an additional interface to the sandbox connecting to a default gateway network (a bridge network named *docker_gwbridge*) and program the default gateway into the sandbox accordingly, pointing to the interface address of the bridge *docker_gwbridge*. |
|
| 228 | 228 |
|
| 229 | 229 |
### Leave |
| 230 | 230 |
|
| ... | ... |
@@ -241,7 +241,7 @@ where `NetworkID` and `EndpointID` have meanings as above. The success response |
| 241 | 241 |
|
| 242 | 242 |
### DiscoverNew Notification |
| 243 | 243 |
|
| 244 |
-libnetwork listens to inbuilt docker discovery notifications and passes it along to the interested drivers. |
|
| 244 |
+LibNetwork listens to inbuilt docker discovery notifications and passes it along to the interested drivers. |
|
| 245 | 245 |
|
| 246 | 246 |
When the proxy receives a DiscoverNew notification, the remote process shall receive a POST to the URL `/NetworkDriver.DiscoverNew` of the form |
| 247 | 247 |
|