Fix docstring in network_driver_create_network

This patch fixes the ill-formatted code snippet in
network_driver_create_network. The code block should be indented
appropriately.

Change-Id: If2e5bb6bd122a6479e6749247e61d0860dc31fc1
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
This commit is contained in:
Taku Fukushima 2015-12-01 18:35:04 +09:00
parent 58057cd711
commit 8269ceee72

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: