aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src
AgeCommit message (Collapse)Author
2019-03-28[snmp|agent] Add the net-if data (Extra) argument to get-callbacksMicael Karlberg
Added the Extra (net-if data) argument to all the get- mechanism callback functions. OTP-15691
2019-03-28[snmp|agent] Add the default get-mechanism module snmpa_getMicael Karlberg
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
2019-03-28[snmp|agent] Add the get-mechanism behaviourMicael Karlberg
Added preliminary version of the get-mechanism behaviour. OTP-15691
2019-03-28[snmp|agent] Add/update/export useful typesMicael Karlberg
Add/update and export some useful types. OTP-15691
2019-03-28[snmp|agent] Build orderMicael Karlberg
Fixed the build order. Some of the mib modules export types used by other modules, so build them (the mib-modules) first (after snmpa). OTP-15691
2019-03-28[snmp|agent] Handle new get-mechanism configMicael Karlberg
Also streamlined the config storage. And corrected the store of the set_mechanism (in the snmp_agent_table). This is only used for debugging, but just the same. OTP-15691
2018-06-11Parse #mc_new_type{}s before definitions_loop/2Raimo Niskanen
2017-10-16Update versionRaimo Niskanen
2017-10-13Fix speling error 'sndbuf' -> 'recbuf'Raimo Niskanen
2017-07-28Process augments in pass after definitionsRaimo Niskanen
2017-06-14Update copyright yearHans Nilsson
2017-05-11snmp_generic: Future-proof exception handling codeBjörn Gustavsson
In the future, erlang:get_stacktrace/0 will probably only work inside a the 'catch' block of a 'try' expression. Future-proof the code by rewriting the old-style catch to a try...catch.
2017-01-17Bump versionRaimo Niskanen
2017-01-17Do without compilation time in SNMP versions[12]()Raimo Niskanen
2017-01-13Fix enum refinement in usertype in SYNTAXRaimo Niskanen
2016-12-07Update copyright-yearErlang/OTP
2016-09-10snmp: Uncomment compiler files in app.src fileIngela Anderton Andin
The files are not used in runtime of the snmp app, but they are still part of the application and beam files are generated. Not including them will make the general app test fail.
2016-09-07[snmp] Correct bug when path to mib contains UTF-8 charactersLars Thorsen
2016-06-22Fix ERL-164 for agent, vacm, and usm config filesDaniel Goertzen
2016-03-15update copyright-yearHenrik Nord
2016-01-25snmp: Prepare for releaseIngela Anderton Andin
As long as it is not prioritized to make an snmp_upgrade_SUITE it is not worth trying to do anything but restart_application
2016-01-21Snmp agent vacmViewTreeFamily with non 'null' mask bugfixIngela Anderton Andin
Adresses problems desciribed in http://erlang.org/pipermail/erlang-bugs/2015-April/004891.html http://erlang.org/pipermail/erlang-patches/2015-April/004766.html The original patch also suggested the following fix. However we need more information to be able to understand if this is correct or not, and it does not have priority at the moment for us to investigate. @@ -816,7 +816,7 @@ next_node(D, {tree, Tree, {table_entry, _MibName}}, "~n RevOidSoFar: ~p" "~n MibView: ~p", [size(Tree), Oid, RevOidSoFar, MibView]), OidSoFar = lists:reverse(RevOidSoFar), - case snmpa_acm:is_definitely_not_in_mib_view(OidSoFar, MibView) of + case snmpa_acm:is_definitely_not_in_mib_view(OidSoFar ++ Oid, MibView) of true -> ?vdebug("next_node(tree,table_entry) -> not in mib view",[]), false;
2015-12-11correct the snmp app up fileZandra
2015-11-13Merge branch 'zandra/snmp-appup' into maintZandra
* zandra/snmp-appup: add a soft upgrade instruction to the snmp appup
2015-11-13Merge branch 'zhird/johnheizenberg/snmp_config_check_imask_bugfix' into maintZandra
* zhird/johnheizenberg/snmp_config_check_imask_bugfix: fix snmp_conf check imask bug OTP-13101
2015-11-06add a soft upgrade instruction to the snmp appupZandra
2015-06-18Change license text to APLv2Bruce Yinhe
2015-05-28Typo 'asynchroneous' fixKirilll Zaborsky
2015-05-27Update application versionsHans Bolinder
2015-05-25Update runtime_dependencies in application resource filesHans Bolinder
Applications that use the new erl_anno module are depending on STDLIB 2.5. Note that CosNotification, Megaco, SNMP, Xmerl, and Parsetools use the erl_anno module via the Yecc parsers only (the header file in lib/parsetools/include/yeccpre.hrl calls the erl_anno module). HiPE does not call the erl_anno module, but uses an exported type. We have chosen to make HiPE dependent on the erl_anno module.
2015-05-06Merge branch 'maint'Zandra Hird
Conflicts: OTP_VERSION erts/vsn.mk lib/test_server/src/erl2html2.erl
2015-04-30Improve agent fix as in managerRaimo Niskanen
2015-04-28snmp: Remove deprecated warning for erlang:now in snmpcErland Schönbeck
2015-04-27snmp: Remove deprecated warning for erlang:now in snmp_verborityErland Schönbeck
2015-04-24snmp: Change to random use crypto. Remove use of erlang:nowErland Schönbeck
2015-04-23Use port 0 with {fd,Fd}, use snmpm_fd in managerRaimo Niskanen
2015-04-10fix snmp_conf check imask bugZandra Hird
This change is originally from John Heizenberg.
2014-12-02Merge branch 'raimo/snmp/compiler/allow_refinement_of_opaque/17/OTP-12066' ↵Raimo Niskanen
into maint * raimo/snmp/compiler/allow_refinement_of_opaque/17/OTP-12066: [snmp/compiler] Refinement of type Opaque was not allowed MIB constructs such as "SYNTAX Opaque (SIZE(0..65535))" was previously not allowed, this has now been fixed. See the standard ALARM-MIB for eaxmple.
2014-12-01[snmp/compiler] Refinement of type Opaque was not allowedMicael Karlberg
MIB constructs such as "SYNTAX Opaque (SIZE(0..65535))" was previously not allowed, this has now been fixed. See the standard ALARM-MIB for eaxmple.
2014-09-30Honor bind_to for manager net_if family inetRaimo Niskanen
Bug reported by Pavel Baturko to erlang-bugs.
2014-09-09Remove debug printoutsRaimo Niskanen
2014-09-09Fix manager backwards compat for agent addrRaimo Niskanen
2014-09-09Update .appupRaimo Niskanen
2014-09-03Clean up some config wartsRaimo Niskanen
2014-08-22Merge manager net_if_mt into net_ifRaimo Niskanen
2014-08-22Clean up config error handling and negative resultsRaimo Niskanen
2014-08-20Remove decommented code and clean up diffRaimo Niskanen
2014-08-19Implement IPv4+IPv6 in MT managerRaimo Niskanen
2014-08-18Rewrite manager net_if for IPv4+IPv6Raimo Niskanen
2014-08-07Fix error printouts to not crashRaimo Niskanen