diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-03-22 23:45:23 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-03-26 12:18:30 +0000 |
commit | 06bc26077c59c26afb8a6ab44d274e98efbbba95 (patch) | |
tree | eaf39a863a21f5da290375b87a4b5f6ead50bf17 /src/vlib/unix/plugin.h | |
parent | ecfa2aaa631933f5c77858ae3e5e15a76619dd77 (diff) |
plugin: Add plugin 'default' disable/enable
How to use:
plugins
{
plugin default {disable}
plugin dpdk_plugin.so {enable}
plugin acl_plugin.so {enable}
}
It also preserves the old behavior.
Change-Id: I9901c56d82ec4410e69c917992b78052aa6a99e0
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vlib/unix/plugin.h')
-rw-r--r-- | src/vlib/unix/plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h index aad1ca30b3c..2a238279401 100644 --- a/src/vlib/unix/plugin.h +++ b/src/vlib/unix/plugin.h @@ -97,6 +97,7 @@ typedef struct u8 *plugin_name_filter; u8 *vat_plugin_path; u8 *vat_plugin_name_filter; + u8 plugins_default_disable; /* plugin configs and hash by name */ plugin_config_t *configs; |