Update a forgot docstring for nic parameters
authorGuido Trotter <ultrotter@google.com>
Tue, 16 Jun 2009 16:43:21 +0000 (17:43 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 17 Jun 2009 13:21:31 +0000 (14:21 +0100)
Properly document the expected nic format.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cmdlib.py

index 89e14dc..b0f9341 100644 (file)
@@ -474,8 +474,8 @@ def _BuildInstanceHookEnv(name, primary_node, secondary_nodes, os_type, status,
   @type vcpus: string
   @param vcpus: the count of VCPUs the instance has
   @type nics: list
-  @param nics: list of tuples (ip, bridge, mac) representing
-      the NICs the instance  has
+  @param nics: list of tuples (ip, mac, mode, link) representing
+      the NICs the instance has
   @type disk_template: string
   @param disk_template: the distk template of the instance
   @type disks: list