mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #26931 from thaJeztah/fix-aux-address-example
Fix incorrect aux-address examples and test
This commit is contained in:
commit
bab64af2ad
4 changed files with 7 additions and 7 deletions
|
@ -136,8 +136,8 @@ $ docker network create -d overlay \
|
|||
--gateway=192.168.0.100 \
|
||||
--gateway=192.170.0.100 \
|
||||
--ip-range=192.168.1.0/24 \
|
||||
--aux-address a=192.168.1.5 --aux-address b=192.168.1.6 \
|
||||
--aux-address a=192.170.1.5 --aux-address b=192.170.1.6 \
|
||||
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \
|
||||
--aux-address="my-printer=192.170.1.5" --aux-address="my-nas=192.170.1.6" \
|
||||
my-multihost-network
|
||||
```
|
||||
|
||||
|
|
|
@ -106,8 +106,8 @@ $ docker network create -d overlay \
|
|||
--gateway=192.168.0.100 \
|
||||
--gateway=192.170.0.100 \
|
||||
--ip-range=192.168.1.0/24 \
|
||||
--aux-address a=192.168.1.5 --aux-address b=192.168.1.6 \
|
||||
--aux-address a=192.170.1.5 --aux-address b=192.170.1.6 \
|
||||
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \
|
||||
--aux-address="my-printer=192.170.1.5" --aux-address="my-nas=192.170.1.6" \
|
||||
my-multihost-network
|
||||
```
|
||||
|
||||
|
|
|
@ -631,7 +631,7 @@ func (s *DockerNetworkSuite) TestDockerNetworkIpamMultipleNetworks(c *check.C) {
|
|||
"--gateway=192.168.0.100", "--gateway=192.170.0.100",
|
||||
"--ip-range=192.168.1.0/24",
|
||||
"--aux-address", "a=192.168.1.5", "--aux-address", "b=192.168.1.6",
|
||||
"--aux-address", "a=192.170.1.5", "--aux-address", "b=192.170.1.6",
|
||||
"--aux-address", "c=192.170.1.5", "--aux-address", "d=192.170.1.6",
|
||||
"test7")
|
||||
assertNwIsAvailable(c, "test7")
|
||||
|
||||
|
|
|
@ -127,8 +127,8 @@ $ docker network create -d overlay \
|
|||
--gateway=192.168.0.100 \
|
||||
--gateway=192.170.0.100 \
|
||||
--ip-range=192.168.1.0/24 \
|
||||
--aux-address a=192.168.1.5 --aux-address b=192.168.1.6 \
|
||||
--aux-address a=192.170.1.5 --aux-address b=192.170.1.6 \
|
||||
--aux-address="my-router=192.168.1.5" --aux-address="my-switch=192.168.1.6" \
|
||||
--aux-address="my-printer=192.170.1.5" --aux-address="my-nas=192.170.1.6" \
|
||||
my-multihost-network
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue