aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_bfd.py
diff options
context:
space:
mode:
authorKlement Sekera <ksekera@cisco.com>2016-12-08 05:03:32 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-08 12:16:42 +0000
commit0c1519b5e7953d093d5532d6caf87ae7ac9333d8 (patch)
tree12a950c5e54b8b5156bf098ef748827151cf4265 /test/test_bfd.py
parentb1135432d7b8c91d19fe463308c882880c9d60e7 (diff)
BFD: improve ip header handling, fix assert
Instead of storing a pointer, store an offset within vlib_buffer marking the start of the ip header (similar to storing start of ethernet header). Handle negative timeout in the bfd process main loop. Change-Id: I05a1ff3ac41da5bdc3b2ac6f9e03b3241994688b Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/test_bfd.py')
-rw-r--r--test/test_bfd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_bfd.py b/test/test_bfd.py
index 20d3aea5e0c..58f1264543c 100644
--- a/test/test_bfd.py
+++ b/test/test_bfd.py
@@ -128,6 +128,7 @@ class BFDTestCase(VppTestCase):
raise
def setUp(self):
+ super(BFDTestCase, self).setUp()
self.vapi.want_bfd_events()
self.vpp_session = VppBFDUDPSession(self, self.pg0, self.pg0.remote_ip4)
self.vpp_session.add_vpp_config()