aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/src/agent
AgeCommit message (Collapse)Author
2013-05-22[snmp/agent] CosmeticMicael Karlberg
2013-05-22[snmp/agent] No default value for mib_storage and some cleanupMicael Karlberg
2013-05-22[snmp/agent] Add info/2 and some record checksMicael Karlberg
Add a new function/2 to behaviour. Also changed returnj type for info/1. Also make sure even ets and dets implementation(s) check that the correct type is written.
2013-05-22[snmp/agent] Make use of new mib_storageMicael Karlberg
The new mib-storage is now used by both the mib-server and the symbolic-store.
2013-05-22[snmp/agent] Mib server assumes no default value for mib_storageMicael Karlberg
2013-05-22[snmp/agent] Add default value for mib_storage for sub-agentMicael Karlberg
When starting a sub-agent we previously did not provide a value for mib_storage, which was alright because ets was assumed as a default in every place where it was used. Now we expect the value to be defined and therefor we must explicitly add the default value for sub-agents when staring them.
2013-05-22[snmp/agent] Deprecate *old* info conversion functionMicael Karlberg
2013-05-22[snmp/agent] Removed module from app-file and make file(s)Micael Karlberg
The module snmpa_general_db is no longer used (replaced by the behaviour snmpa_mib_storage and the modules implementing this behaviour).
2013-05-21[snmp/agent] backupMicael Karlberg
2013-05-21[snmp/agent] Add (make) deepend for the new mib-server data moduleMicael Karlberg
Add (make) depend rule for the new mib-server data module, snmpa_mib_datas_tttn. Also corrected the depend rule for the mib-server data module behaviour module (snmpa_mib_data).
2013-05-21[snmp/agent] Make sure main api module is compiled firstMicael Karlberg
The main snmp agent api module contains some basic type defs and therefor it must be compiled first.
2013-05-21[snmp/agent] Fixed basic type issuesMicael Karlberg
Defines some basic snmp types in the main snmp api module. Also define some basic snmp agent types in the main snmp agent api module.
2013-05-17[snmp/agent] Add comment to TTLN file instead of deleting itMicael Karlberg
2013-05-16[snmp/agent] Fixed snmpa_mib_data behaviour and relatedMicael Karlberg
Finalized snmpa_mib_data behaviour. Updated mib-server and tttn module accordingly. Also assigned proper version, updated app and appup files.
2013-05-16[snmp/agent] Added some description and the behaviour attributeMicael Karlberg
2013-04-30[snmp/agent] Some minor documentation additionsMicael Karlberg
2013-04-28[snmp/agent] Some minor mib_data behaviour changesMicael Karlberg
2013-04-28[snmp/agent] Renamed the mib_data (backend) modulesMicael Karlberg
Renmed the two backend modules: snmpa_mib_data_tree1.erl -> snmpa_mib_data_tttn.erl snmpa_mib_data_tree2.erl -> snmpa_mib_data_ttln.erl TTTN - TupleTreeTupleNodes TTLN - TupleTreeListNodes
2013-04-26[snmp/agent] New behaviour module (snmpa_mib_data) and two impl modsMicael Karlberg
The old mib-server data module (snmpa_mib_data) has been changed into a behaviour module. The old implementation is now instead in a new module snmpa_mib_data_tree1. A new backend module has been added, still only very preliminary, snmpa_mib_data_tree2.
2013-04-26[snmp/agent] Preliminary change to the mib-server tree-typeMicael Karlberg
2013-04-05Use erlang:demonitor(Ref, [flush]) where applicableLoïc Hoguin
2013-01-09[snmp/agent] Proper copyright end year (2013)Micael Karlberg
2013-01-09Merge branch 'lf/snmp-tuple-fun' into bmk/snmp/remove_tuple_fun/OTP-10672Micael Karlberg
2013-01-09Prepare OTP files for Unicode as default encodingHans Bolinder
2012-10-26Remove runtime warning in snmpa_agent because of tuple fun usageLuca Favatella
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-02[snmp/agent] CleanupMicael Karlberg
lists:keydelete/2 does not exist (used in no_cloning)! Introduced some simple wrapper functions for list access (ke1delete, key1search, key1store and key1sort).
2012-08-02[snmp/agent] Semantic fixes to SNMP-USER-BASED-SM_MIBStefan Zegenhagen
The semantics allow the usmUserAuthKeyChange and usmUserPrivKeyChange objects to be written to in the same set requests that also creates and clones the user. This was not possible beforehand, causing test tools checking semantic SNMPv3 behaviour to fail on a lot of test cases. Furthermore, once the user has been cloned by writing to an instance of usmUserCloneFrom, further set-operations to the same object will not return an error, but be no-ops. Especially, it must be avoided to copy security parameters again (possibly even from a different user).
2012-08-02[snmp/agent] Fix walk over vacmAccessTableStefan Zegenhagen
The get_next implementation of vacmAccessTable did not return all available table data. Instead, it only returned the first column for each row, and all columns for the last row available. Fix the get_next implementation of vacmAccessTable to return all table entries.
2012-08-01[snmp/agent] CleanupMicael Karlberg
2012-08-01[snmp/agent] Errors in vacmAccessTable RowStatus handlingStefan Zegenhagen
There are problems with the handling of vacmAccessTableStatus that cause some SNMP test suites to report errors. Most notably, errorneous set operations frequently cause "genErr" errors to be returned which usually is a sign for bad coding. These "genErr" errors are usually caused by badmatch exceptions coming from {ok, Row} = snmpa_vacm:get_row(RowIndex) if the row does not exist. This patch fixes the badmatch errors and adjusts the semantic of the RowStatus handling in that table to be compliant with the RowStatus textual description of SNPMv2-TC MIB.
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-05Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/test/snmp_app_test.erl
2012-03-05[snmp/agent] Some minor improvements to the error messagesMicael Karlberg
OTP-9943
2012-03-01Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15
2012-03-01[snmp/agent] Add dir listing to error reasonMicael Karlberg
Add dir listing to error reason when failing to read mandatory config file standard.conf. OTP-9943
2012-02-27Merge branch 'bmk/snmp/improve_error_handling_reading_config/OTP-9943' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2012-02-24[snmp/agent] Improve error handling while reading agent config filesMicael Karlberg
Improve error handling while reading agent config files. OTP-9943
2012-02-23Merge branch 'bmk/snmp/unused_variables/r15/20120214' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/src/app/snmp.appup.src
2012-02-23Merge branch 'bmk/snmp/manager/threaded_net_if/OTP-9876' into ↵Micael Karlberg
bmk/snmp/snmp422_integration/r15 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-02-22[snmp] Add log_to_io function for both manager and agentMicael Karlberg
Add a log_to_io Audit Trail Log converter function for both the manager (snmpm) and agent (snmpa). Also fixed the converter functions in the logger module, snmp_log, which previously sometimes did not work properly (re-open an already open log with different properties). OTP-9940
2012-02-14Merge branch 'bmk/snmp/unused_variables/r14/20120214' into ↵Micael Karlberg
bmk/snmp/unused_variables/r15/20120214 Conflicts: lib/snmp/src/agent/snmpa_local_db.erl
2012-02-14[snmp] Removed warnings for unused variablesMicael Karlberg
2012-02-02Merge branch 'maint-r14' into maint-r15Björn Gustavsson
* maint-r14: Prepare release [snmp/agent] Add proper release notes [snmp/agent] Wrong OID used for error message reply [snmp/agent] Added backup check for local_db [snmp/agent] Simultaneous snmpa:backup/1,2 calls interfere Conflicts: erts/doc/src/notes.xml erts/vsn.mk
2012-01-31Merge branch 'maint-r13' into bmk/snmp/snmp4217_integration/r14Micael Karlberg
Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/doc/src/snmpa.xml lib/snmp/src/agent/snmpa_mpd.erl lib/snmp/src/app/snmp.appup.src lib/snmp/test/snmp_agent_test.erl lib/snmp/vsn.mk
2012-01-27Merge branch ↵Micael Karlberg
'bmk/snmp/agent/wrong_oid_for_snmpUnknownPDUHandlers2/OTP-9747/r13' into bmk/snmp/snmp4174_integration/r13 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
2012-01-26[snmp/agent] Wrong OID used for error message replyMicael Karlberg
When sending an error message (reply) regarding snmpUnknownPDUHandlers, the agent used the wrong OID. OTP-9747
2012-01-26[snmp/agent] Added backup check for local_dbMicael Karlberg
Added a backup check also for local_db (same as for the mib-server). Updated appup and set proper version (vsn.mk). Finally added test case for issue. OTP-9884
2012-01-25[snmp/agent] Simultaneous snmpa:backup/1,2 calls interfereMicael Karlberg
Simultaneous snmpa#backup">snmpa:backup/1,2 calls interfere. The master agent did not check if a backup was already in progress when a backup request was accepted OTP-9884