modify the kuryr workflow document
In the document, it shows that when user input commands like "sudo docker run --net=foo -itd --name=container1 busybox", '/IpamDriver.RequestAddress' will get a POST call which the 'options' is empty, just like this: { "Address": "", "PoolID": "941f790073c3a2c70099ea527ee3a6205e037e84749f2c6e8a5287d9c62fd376", "Options": {}, } but I have checked the workflow, and I found it's not true. The Options will be non-empty, and it will be like "com.docker.network.endpoint.macaddress": "08:22:e0:a8:7d:db". Fixes: Bug 1774977 Change-Id: Ia4632fb376471893de71b57b49ca0241cf0f60c2
This commit is contained in:
parent
33cec28d8a
commit
42b0c306a0
|
@ -140,7 +140,7 @@ Libnetwork User Workflow (with Kuryr as remote network driver) - Host Networking
|
||||||
{
|
{
|
||||||
"Address": "",
|
"Address": "",
|
||||||
"PoolID": "941f790073c3a2c70099ea527ee3a6205e037e84749f2c6e8a5287d9c62fd376",
|
"PoolID": "941f790073c3a2c70099ea527ee3a6205e037e84749f2c6e8a5287d9c62fd376",
|
||||||
"Options": {},
|
"Options": {"com.docker.network.endpoint.macaddress": "08:22:e0:a8:7d:db"},
|
||||||
}
|
}
|
||||||
|
|
||||||
The IPAM driver Kuryr sends a port creation request to neutron and returns the following response with neutron provided ip address::
|
The IPAM driver Kuryr sends a port creation request to neutron and returns the following response with neutron provided ip address::
|
||||||
|
@ -158,7 +158,7 @@ Libnetwork User Workflow (with Kuryr as remote network driver) - Host Networking
|
||||||
"NetworkID": "286eddb51ebca09339cb17aaec05e48ffe60659ced6f3fc41b020b0eb506d364",
|
"NetworkID": "286eddb51ebca09339cb17aaec05e48ffe60659ced6f3fc41b020b0eb506d364",
|
||||||
"Interface": {
|
"Interface": {
|
||||||
"AddressIPv6": "",
|
"AddressIPv6": "",
|
||||||
"MacAddress": "",
|
"MacAddress": "08:22:e0:a8:7d:db",
|
||||||
"Address": "10.0.0.2/24"
|
"Address": "10.0.0.2/24"
|
||||||
},
|
},
|
||||||
"Options": {
|
"Options": {
|
||||||
|
@ -185,7 +185,7 @@ Libnetwork User Workflow (with Kuryr as remote network driver) - Host Networking
|
||||||
(https://github.com/docker/libnetwork/blob/master/docs/remote.md#create-endpoint)::
|
(https://github.com/docker/libnetwork/blob/master/docs/remote.md#create-endpoint)::
|
||||||
|
|
||||||
{
|
{
|
||||||
"Interface": {"MacAddress": "08:22:e0:a8:7d:db"}
|
"Interface": {"MacAddress": ""}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue