aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-06-19 21:21:13 -0400
committerNeale Ranns <nranns@cisco.com>2019-06-20 07:29:36 +0000
commit2f5fd365e0e29456b87de91ecbf2bf86c16386bf (patch)
treec71d2685ce7b458626feaa28c63e2dbd7cb27ff5
parent48664591c4453d9256355ab91df0f1a097c2fd36 (diff)
tests: move output from CI results and put in log
NAT session details are output to the test results. Twice NAT44 OK Acquire twice NAT44 addresses from interface OK 21:10:42,661 NAT44 sessions: -------- thread 0 vpp_main: 1 sessions -------- 172.16.1.2: 0 dynamic translations, 1 static translations i2o 172.16.1.2 proto tcp port 8080 fib 0 o2i 10.0.0.3 proto tcp port 80 fib 0 external host o2i 172.16.2.2:4567 i2o 10.0.1.3:42296 index 1869 last heard 97.99 total pkts 2, total bytes 80 static translation load-balancing twice-nat Twice NAT44 local service load balancing OK NAT44 translate packet with unknown protocol OK Type: test Change-Id: I932a4a1133d597bb82da6e04f2ea833094a481da Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
-rw-r--r--test/test_nat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_nat.py b/test/test_nat.py
index bf22602059e..9ee82da5e2b 100644
--- a/test/test_nat.py
+++ b/test/test_nat.py
@@ -5762,7 +5762,7 @@ class TestNAT44EndpointDependent(MethodHolder):
self.config_flags.NAT_IS_EXT_HOST_VALID)
self.assertTrue(sessions[0].flags &
self.config_flags.NAT_IS_TWICE_NAT)
- self.logger.error(self.vapi.cli("show nat44 sessions detail"))
+ self.logger.info(self.vapi.cli("show nat44 sessions detail"))
self.vapi.nat44_del_session(
address=sessions[0].inside_ip_address,
port=sessions[0].inside_port,