GENIUS-157: Fix typo in OF-Tunnels CSIT 67/81967/4
authorsouvikdas95 <souvikdas95@yahoo.co.in>
Thu, 9 May 2019 08:12:14 +0000 (13:42 +0530)
committerKarthika Panneer <r.p.karthika@ericsson.com>
Tue, 18 Jun 2019 10:38:56 +0000 (10:38 +0000)
Change-Id: I4f729d9f44696a84beed2cde648580ec0d269037
Signed-off-by: souvikdas95 <souvikdas95@yahoo.co.in>
csit/suites/genius/OF_Tunnels.robot

index 2ed7f865286dc46a42b87c922371983c0c1eb336..c88ff6789932b225502e42ede3c84c7c714b18a4 100644 (file)
@@ -78,7 +78,7 @@ OFT Verify Vteps Created
     : FOR    ${tools_system_index}    IN RANGE    ${tools_system_len}
     \    ${tun_ip_list} =    BuiltIn.CreateList    @{tools_ip_list}
     \    Collections.Remove From List    ${tun_ip_list}    ${tools_system_index}
     : FOR    ${tools_system_index}    IN RANGE    ${tools_system_len}
     \    ${tun_ip_list} =    BuiltIn.CreateList    @{tools_ip_list}
     \    Collections.Remove From List    ${tun_ip_list}    ${tools_system_index}
-    \    ${ports_output} =    Utils.Run Command On Remote System And Log    ${tools_ip}    sudo ovs-ofctl -Oopenflow13 dump-ports-desc ${Bridge}
+    \    ${ports_output} =    Utils.Run Command On Remote System And Log    @{tools_ip_list}[${tools_system_index}]    sudo ovs-ofctl -Oopenflow13 dump-ports-desc ${Bridge}
     \    ${port_numbers} =    String.Get Regexp Matches    ${ports_output}    (\\d+).tun.*    ${1}
     \    BuiltIn.Wait Until Keyword Succeeds    40    10    OFT OVS Verify Ingress Flows Created per Switch    @{tools_ip_list}[${tools_system_index}]    ${tun_ip_list}
     \    ...    ${port_numbers}
     \    ${port_numbers} =    String.Get Regexp Matches    ${ports_output}    (\\d+).tun.*    ${1}
     \    BuiltIn.Wait Until Keyword Succeeds    40    10    OFT OVS Verify Ingress Flows Created per Switch    @{tools_ip_list}[${tools_system_index}]    ${tun_ip_list}
     \    ...    ${port_numbers}