aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/app
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2019-03-26 11:25:50 +0100
committerMicael Karlberg <[email protected]>2019-03-28 17:14:56 +0100
commitc842e38a1be4a92f14a309a6ccb66f33b5585088 (patch)
tree48eb5183611fbc4e730411b7e130d17284ac6fcf /lib/snmp/src/app
parent1b581f323eb740c054c5055602e7263b7463ffb1 (diff)
downloadotp-c842e38a1be4a92f14a309a6ccb66f33b5585088.tar.gz
otp-c842e38a1be4a92f14a309a6ccb66f33b5585088.tar.bz2
otp-c842e38a1be4a92f14a309a6ccb66f33b5585088.zip
[snmp|agent] Add the default get-mechanism module snmpa_get
Added the snmpa_get module as the default get-mechanism for the agent. This has been done by simply moving the do_get, do_get_next and do_get_bulk functions from the snmpa_agent module. Some functions where also moved into the lib module (with the idea of beeing more generally useful). OTP-15691
Diffstat (limited to 'lib/snmp/src/app')
-rw-r--r--lib/snmp/src/app/snmp.app.src3
-rw-r--r--lib/snmp/src/app/snmp.config1
2 files changed, 4 insertions, 0 deletions
diff --git a/lib/snmp/src/app/snmp.app.src b/lib/snmp/src/app/snmp.app.src
index d4bf0de61a..178309b488 100644
--- a/lib/snmp/src/app/snmp.app.src
+++ b/lib/snmp/src/app/snmp.app.src
@@ -49,6 +49,9 @@
snmpa_error_io,
snmpa_error_logger,
snmpa_error_report,
+ snmpa_get,
+ snmpa_get_lib,
+ snmpa_get_mechanism,
snmpa_local_db,
snmpa_mib,
snmpa_mib_data,
diff --git a/lib/snmp/src/app/snmp.config b/lib/snmp/src/app/snmp.config
index b66ef5d7df..f35a636157 100644
--- a/lib/snmp/src/app/snmp.config
+++ b/lib/snmp/src/app/snmp.config
@@ -8,6 +8,7 @@
%% {agent_verbosity, verbosity()} |
%% {versions, versions()} |
%% {priority, atom()} |
+%% {get_mechanism, module()} |
%% {set_mechanism, module()} |
%% {authentication_service, module()} |
%% {multi_threaded, bool()} |