summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-09-02 16:29:19 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-28 20:24:34 +0000
commitc2cfe5d8e5c1e12be8d82dbe1d86ca8077c42982 (patch)
treecbf8a2218ddc579d0f71960ea143d6eac7ad5ed0
parentb73d1e91c583b877bdf9a1ead48a45bc4b7cd7bc (diff)
quic: disable quic plugin by default
Change-Id: I8eb243e80ff043a23cb3efae186164dad6c11ca8 Type: fix Signed-off-by: Aloys Augustin <aloaugus@cisco.com> (cherry picked from commit baf1c7ccc10134ee38d75532d7bef7d9f3fabfc9)
-rw-r--r--src/plugins/quic/quic.c1
-rw-r--r--src/plugins/quic/test/test_quic.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index 6bf0e5eb726..866aaadb6a8 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -2250,6 +2250,7 @@ VLIB_PLUGIN_REGISTER () =
{
.version = VPP_BUILD_VER,
.description = "Quic transport protocol",
+ .default_disabled = 1,
};
/* *INDENT-ON* */
diff --git a/src/plugins/quic/test/test_quic.py b/src/plugins/quic/test/test_quic.py
index 7e377d208e4..9b368dc26cc 100644
--- a/src/plugins/quic/test/test_quic.py
+++ b/src/plugins/quic/test/test_quic.py
@@ -37,6 +37,10 @@ class QUICAppWorker(Worker):
class QUICTestCase(VppTestCase):
""" QUIC Test Case """
+ @classmethod
+ def setUpClass(cls):
+ cls.extra_vpp_plugin_config.append("plugin quic_plugin.so { enable }")
+ super(QUICTestCase, cls).setUpClass()
def setUp(self):
super(QUICTestCase, self).setUp()