FIX: acl 10/23710/1
authorJan Gelety <jgelety@cisco.com>
Thu, 28 Nov 2019 18:52:52 +0000 (19:52 +0100)
committerJan Gelety <jgelety@cisco.com>
Thu, 28 Nov 2019 18:52:52 +0000 (19:52 +0100)
Change-Id: Ieb1569a1dce9fd7c00041ba00f72c67142a581ed
Signed-off-by: Jan Gelety <jgelety@cisco.com>
resources/libraries/python/VatExecutor.py
resources/libraries/robot/features/acl.robot

index 2d6a033..be8dbbe 100644 (file)
@@ -251,7 +251,8 @@ class VatTerminal:
             self._tty = self._ssh.interactive_terminal_open()
         except Exception:
             raise RuntimeError(
             self._tty = self._ssh.interactive_terminal_open()
         except Exception:
             raise RuntimeError(
-                f"Cannot open interactive terminal on node {self._node}"
+                f"Cannot open interactive terminal on node "
+                f"{self._node[u'host']}"
             )
 
         for _ in range(3):
             )
 
         for _ in range(3):
index fa94507..ae613e1 100644 (file)
 | |
 | | [Arguments] | ${dut} | ${dut_if1}=${NONE} | ${dut_if2}=${NONE}
 | | ${src_ip_int} = | Evaluate
 | |
 | | [Arguments] | ${dut} | ${dut_if1}=${NONE} | ${dut_if2}=${NONE}
 | | ${src_ip_int} = | Evaluate
-| | ... | int(ipaddress.ip_address(unicode($src_ip_start))) - $ip_step
+| | ... | int(ipaddress.ip_address($src_ip_start)) - $ip_step
 | | ... | modules=ipaddress
 | | ${dst_ip_int} = | Evaluate
 | | ... | modules=ipaddress
 | | ${dst_ip_int} = | Evaluate
-| | ... | int(ipaddress.ip_address(unicode($dst_ip_start))) - $ip_step
+| | ... | int(ipaddress.ip_address($dst_ip_start)) - $ip_step
 | | ... | modules=ipaddress
 | | ${ip_limit} = | Set Variable | 255.255.255.255
 | | ${ip_limit_int} = | Evaluate
 | | ... | modules=ipaddress
 | | ${ip_limit} = | Set Variable | 255.255.255.255
 | | ${ip_limit_int} = | Evaluate
-| | ... | int(ipaddress.ip_address(unicode($ip_limit))) | modules=ipaddress
+| | ... | int(ipaddress.ip_address($ip_limit)) | modules=ipaddress
 | | ${sport}= | Evaluate | $sport_start - $port_step
 | | ${dport}= | Evaluate | $dport_start - $port_step
 | | ${port_limit}= | Set Variable | ${65535}
 | | ${sport}= | Evaluate | $sport_start - $port_step
 | | ${dport}= | Evaluate | $dport_start - $port_step
 | | ${port_limit}= | Set Variable | ${65535}