Change Get VM IPs [Documentation] for accuracy 39/65639/2
authorJamo Luhrsen <jluhrsen@redhat.com>
Thu, 16 Nov 2017 20:15:21 +0000 (12:15 -0800)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 16 Nov 2017 21:25:07 +0000 (21:25 +0000)
Change-Id: I26a677fe93b806ced9bc13611a658f5a6d479402
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/OpenStackOperations.robot

index 9cddc2a708cc1bb3b2d11c70e32936e4dbc15833..23e671a4de269006327a73d90880acd4322653e8 100644 (file)
@@ -358,7 +358,10 @@ Get VM IPs
     [Arguments]    @{vms}
     [Documentation]    Get the instance IP addresses and nameserver address for the list of given vms.
     ...    First poll for the vm instance to be in the active state, then poll for the vm ip address and nameserver.
-    ...    Get VM IP returns three values: [0] the vm IP, [1] the DHCP IP and [2] the vm console log.
+    ...    Get VM IPs returns two things: [0] a list of the ips for the vms passed to this keyword (may contain values
+    ...    of None) and [1] the dhcp ip address found in the last vm checked.
+    ...    TODO: there is a potential issue for a caller that passes in VMs belonging to different networks that
+    ...    may have different dhcp server addresses. Not sure what TODO about that, but noting it here for reference.
     @{vm_ips}    BuiltIn.Create List    @{EMPTY}
     : FOR    ${vm}    IN    @{vms}
     \    Poll VM Is ACTIVE    ${vm}