MCPcopy Create free account
hub / github.com/FDio/vpp / run_basic_conn_test

Method run_basic_conn_test

test/test_container.py:45–50  ·  view source on GitHub ↗

Basic connectivity test

(self, af, acl_side)

Source from the content-addressed store, hash-verified

43 self.logger.info(self.vapi.cli("show ip neighbors"))
44
45 def run_basic_conn_test(self, af, acl_side):
46 """Basic connectivity test"""
47 conn1 = Conn(self, self.pg0, self.pg1, af, UDP, 42001, 4242)
48 conn1.send_through(0)
49 # the return packets should pass
50 conn1.send_through(1)
51
52 def run_negative_conn_test(self, af, acl_side):
53 """Packets with local spoofed address"""

Calls 2

send_throughMethod · 0.80
ConnClass · 0.70

Tested by

no test coverage detected