From 8269ceee729c1c4dbdc878f448914bb552a25657 Mon Sep 17 00:00:00 2001 From: Taku Fukushima Date: Tue, 1 Dec 2015 18:35:04 +0900 Subject: [PATCH] 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 --- kuryr/controllers.py | 46 ++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/kuryr/controllers.py b/kuryr/controllers.py index cc7a7866..c423b48e 100644 --- a/kuryr/controllers.py +++ b/kuryr/controllers.py @@ -314,32 +314,32 @@ def network_driver_create_network(): network creation to the Neutron client. libnetwork's NetworkID is used as the name of Network in Neutron. :: - { - "NetworkID": string, - "IPv4Data" : [{ - "AddressSpace": string, - "Pool": ipv4-cidr-string, - "Gateway" : ipv4-address, - "AuxAddresses": { - "" : "", - "" : "", + { + "NetworkID": string, + "IPv4Data" : [{ + "AddressSpace": string, + "Pool": ipv4-cidr-string, + "Gateway" : ipv4-address, + "AuxAddresses": { + "" : "", + "" : "", + ... + } + }, ...], + "IPv6Data" : [{ + "AddressSpace": string, + "Pool": ipv6-cidr-string, + "Gateway" : ipv6-address, + "AuxAddresses": { + "" : "", + "" : "", + ... + } + }, ...], + "Options": { ... } - }, ...], - "IPv6Data" : [{ - "AddressSpace": string, - "Pool": ipv6-cidr-string, - "Gateway" : ipv6-address, - "AuxAddresses": { - "" : "", - "" : "", - ... - } - }, ...], - "Options": { - ... } - } See the following link for more details about the spec: