test: factor out "L4_Conn" into a class within util.py (VPP-931) 37/8337/2
authorAndrew Yourtchenko <ayourtch@gmail.com>
Thu, 7 Sep 2017 11:22:24 +0000 (13:22 +0200)
committerDamjan Marion <dmarion.lists@gmail.com>
Thu, 7 Sep 2017 13:38:56 +0000 (13:38 +0000)
commit92dc12a01b1f5c75500bb015bd159d6bba0547b5
tree798adb51ce8966661f820483b96193381e551928
parent7d6412e66d7bef15e964935845ed30c03d8b12b7
test: factor out "L4_Conn" into a class within util.py (VPP-931)

It seems a useful abstraction for the purposes of writing
fine-grained tests, to be able to create a "connection" object
which would be bound to two VPP interfaces, and hold some
information about the state, allowing to send the packets
back and forth with minimal amount of arguments.

Change-Id: Idb83b6b82b38bded5b7e1756a41bb2df4cd58e3a
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
test/test_acl_plugin_conns.py
test/util.py