mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix the Gateway type in remote network plugin spec
Fixes #1745. Signed-off-by: Onur Filiz <onur.filiz@microsoft.com>
This commit is contained in:
parent
32c95e782e
commit
1c67f2592b
1 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ When the proxy is asked to create a network, the remote process shall receive a
|
||||||
{
|
{
|
||||||
"AddressSpace": string,
|
"AddressSpace": string,
|
||||||
"Pool": ipv4-cidr-string,
|
"Pool": ipv4-cidr-string,
|
||||||
"Gateway" : ipv4-address"
|
"Gateway" : ipv4-cidr-string,
|
||||||
"AuxAddresses": {
|
"AuxAddresses": {
|
||||||
"<identifier1>" : "<ipv4-address1>",
|
"<identifier1>" : "<ipv4-address1>",
|
||||||
"<identifier2>" : "<ipv4-address2>",
|
"<identifier2>" : "<ipv4-address2>",
|
||||||
|
@ -85,7 +85,7 @@ When the proxy is asked to create a network, the remote process shall receive a
|
||||||
{
|
{
|
||||||
"AddressSpace": string,
|
"AddressSpace": string,
|
||||||
"Pool": ipv6-cidr-string,
|
"Pool": ipv6-cidr-string,
|
||||||
"Gateway" : ipv6-address"
|
"Gateway" : ipv6-cidr-string,
|
||||||
"AuxAddresses": {
|
"AuxAddresses": {
|
||||||
"<identifier1>" : "<ipv6-address1>",
|
"<identifier1>" : "<ipv6-address1>",
|
||||||
"<identifier2>" : "<ipv6-address2>",
|
"<identifier2>" : "<ipv6-address2>",
|
||||||
|
@ -103,7 +103,7 @@ When the proxy is asked to create a network, the remote process shall receive a
|
||||||
* `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,
|
* `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,
|
||||||
* `AddressSpace` : A unique string represents an isolated space for IP Addressing
|
* `AddressSpace` : A unique string represents an isolated space for IP Addressing
|
||||||
* `Pool` : A range of IP Addresses represented 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.
|
* `Pool` : A range of IP Addresses represented 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.
|
||||||
* `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.
|
* `Gateway` : Optionally, the IPAM driver may provide a Gateway IP address in CIDR format for the subnet represented by the Pool. The network driver can make use of this information for the network plumbing purposes.
|
||||||
* `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.
|
* `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.
|
||||||
|
|
||||||
The response indicating success is empty:
|
The response indicating success is empty:
|
||||||
|
|
Loading…
Add table
Reference in a new issue