Merge "Fix docstring in network_driver_create_network"

This commit is contained in:
Jenkins 2015-12-01 10:04:22 +00:00 committed by Gerrit Code Review
commit f46128e741

View File

@ -314,32 +314,32 @@ def network_driver_create_network():
network creation to the Neutron client. libnetwork's NetworkID is used as network creation to the Neutron client. libnetwork's NetworkID is used as
the name of Network in Neutron. :: the name of Network in Neutron. ::
{ {
"NetworkID": string, "NetworkID": string,
"IPv4Data" : [{ "IPv4Data" : [{
"AddressSpace": string, "AddressSpace": string,
"Pool": ipv4-cidr-string, "Pool": ipv4-cidr-string,
"Gateway" : ipv4-address, "Gateway" : ipv4-address,
"AuxAddresses": { "AuxAddresses": {
"<identifier1>" : "<ipv4-address1>", "<identifier1>" : "<ipv4-address1>",
"<identifier2>" : "<ipv4-address2>", "<identifier2>" : "<ipv4-address2>",
...
}
}, ...],
"IPv6Data" : [{
"AddressSpace": string,
"Pool": ipv6-cidr-string,
"Gateway" : ipv6-address,
"AuxAddresses": {
"<identifier1>" : "<ipv6-address1>",
"<identifier2>" : "<ipv6-address2>",
...
}
}, ...],
"Options": {
... ...
} }
}, ...],
"IPv6Data" : [{
"AddressSpace": string,
"Pool": ipv6-cidr-string,
"Gateway" : ipv6-address,
"AuxAddresses": {
"<identifier1>" : "<ipv6-address1>",
"<identifier2>" : "<ipv6-address2>",
...
}
}, ...],
"Options": {
...
} }
}
See the following link for more details about the spec: See the following link for more details about the spec: