aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <otroan@employees.org>2023-09-01 14:18:23 +0200
committerOle Troan <otroan@employees.org>2023-09-05 08:47:08 +0200
commit9587d399933fcbdd109aa058c472360b38fe4471 (patch)
tree5eb29d85d73907ae5d1c34bb135513fe306393b4
parent4b3598e39a5b522a55b4b86fa06a323416108a6b (diff)
npt66: make plugin default disabled
Plugin is still in experimental state. No reason why it needs to be default enabled. Type: fix Change-Id: Ibf1810215d4c8079a068bfc60aa7dd49306ee4e4 Signed-off-by: Ole Troan <otroan@employees.org>
-rw-r--r--src/plugins/npt66/npt66_api.c1
-rw-r--r--test/test_npt66.py4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/npt66/npt66_api.c b/src/plugins/npt66/npt66_api.c
index 91eb73c1e45..ab27cec616e 100644
--- a/src/plugins/npt66/npt66_api.c
+++ b/src/plugins/npt66/npt66_api.c
@@ -57,6 +57,7 @@ npt66_plugin_api_hookup (vlib_main_t *vm)
VLIB_PLUGIN_REGISTER () = {
.version = VPP_BUILD_VER,
.description = "NPTv6",
+ .default_disabled = 1,
};
clib_error_t *
diff --git a/test/test_npt66.py b/test/test_npt66.py
index 6565c38aae0..44a9e87cb89 100644
--- a/test/test_npt66.py
+++ b/test/test_npt66.py
@@ -12,6 +12,10 @@ from scapy.packet import Raw
class TestNPT66(VppTestCase):
"""NPTv6 Test Case"""
+ extra_vpp_plugin_config = [
+ "plugin npt66_plugin.so {enable}",
+ ]
+
def setUp(self):
super(TestNPT66, self).setUp()