Fix documentation for networks in server_create
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 9 Dec 2013 15:50:37 +0000 (17:50 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Mon, 9 Dec 2013 15:50:37 +0000 (17:50 +0200)
kamaki/clients/compute/__init__.py
kamaki/clients/cyclades/__init__.py

index 13e92d3..0a3c3d6 100644 (file)
@@ -129,7 +129,7 @@ class ComputeClient(ComputeRestClient):
             describing files to be injected into virtual server upon creation
 
         :param networks: (list of dicts) Networks to connect to, list this:
-            "networks": [
+            [
             {"uuid": <network_uuid>},
             {"uuid": <network_uuid>, "fixed_ip": address},
             {"port": <port_id>}, ...]
index 671ace6..96ca6b4 100644 (file)
@@ -57,7 +57,7 @@ class CycladesClient(CycladesRestClient, Waiter):
             describing files to be injected into virtual server upon creation
 
         :param networks: (list of dicts) Networks to connect to, list this:
-            "networks": [
+            [
                 {"uuid": <network_uuid>},
                 {"uuid": <network_uuid>, "fixed_ip": address},
                 {"port": <port_id>}, ...]