From 2f5fd365e0e29456b87de91ecbf2bf86c16386bf Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Wed, 19 Jun 2019 21:21:13 -0400 Subject: [PATCH] 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 --- test/test_nat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.16.6