summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-11-12 17:16:47 +0000
committerNeale Ranns <nranns@cisco.com>2019-12-02 21:44:10 +0000
commitd6d0edbf055ecabdec289727cef08becd9aca9b8 (patch)
tree222c75c3290d59fc3146197563353b6a74ebf8c5 /test
parent77d760d708dcfe35aa805bd86381bc0bcb28f677 (diff)
ip: IP address and prefix types (moved from LISP)
Type: refactor Change-Id: I2c6b59013bfd21136a2955442c779685f951932b Signed-off-by: Neale Ranns <nranns@cisco.com> (cherry picked from commit ea93e48cf6e918937422638cb574964b88a146b6)
Diffstat (limited to 'test')
-rw-r--r--test/test_lisp.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/test_lisp.py b/test/test_lisp.py
index 0b89b1f0d68..ca12854637a 100644
--- a/test/test_lisp.py
+++ b/test/test_lisp.py
@@ -189,5 +189,25 @@ class TestLisp(VppTestCase):
self.test_driver.run(self.deid_ip4)
+class TestLispUT(VppTestCase):
+ """ Lisp UT """
+
+ @classmethod
+ def setUpClass(cls):
+ super(TestLispUT, cls).setUpClass()
+
+ @classmethod
+ def tearDownClass(cls):
+ super(TestLispUT, cls).tearDownClass()
+
+ def test_fib(self):
+ """ LISP Unit Tests """
+ error = self.vapi.cli("test lisp cp")
+
+ if error:
+ self.logger.critical(error)
+ self.assertNotIn("Failed", error)
+
+
if __name__ == '__main__':
unittest.main(testRunner=VppTestRunner)