aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-05-24[snmp/agent] Improved mib-storage ets module error handlingMicael Karlberg
Also fixed some of the debug printouts.
2013-05-23[snmp/agent] Make the mib-server test (sub-) suite use new mib-storageMicael Karlberg
2013-05-23[snmp/agent] Handle mib-storage ets module non-ex fileMicael Karlberg
Make sure snmpa_mib_storage_ets can handle a non-ex file whe n openning a table (it should simply create it).
2013-05-23[snmp/agent] Merging test case specific and common config envMicael Karlberg
There is a set of default agent config environment values used when starting an agent. For specififc group of test cases, other values is used. These two groups of environment is now merged in a more controlled way. Also test case grouping make use of more test cases functions (in order to make the groups() function more readable).
2013-05-23[snmp/agent] Updated open options for the mnesia mib-storage moduleMicael Karlberg
Updated the snmpa_mib_storage_mnesia module to handle alias atoms for the nodes option. Also, (git) added mib-storage behaviour ref-man.
2013-05-23[snmp/agent] Update agent test (sub-) suiteMicael Karlberg
The agent test (sub-) suite updated according to the new mib-storage format. Also changed config of started agent to the "new" format.
2013-05-23[snmp/agent] Updated the config tool with new mib-storage formatMicael Karlberg
2013-05-23[snmp/agent] Add more verbosity printouts to the mnesia mib-storage moduleMicael Karlberg
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] Add mib-storage behaviour ref-man documentationMicael Karlberg
2013-05-21[snmp/agent] backupMicael Karlberg
2013-05-21[snmp/agent] Some mib-server options rewordingMicael 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 copyright end dateMicael Karlberg
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] Improved mib-server data module overview textMicael Karlberg
2013-05-17[snmp/agent] Add comment to TTLN file instead of deleting itMicael Karlberg
2013-05-17[snmp] Added rules to git-ignore to not see patch apply result filesMicael Karlberg
2013-05-16[snmp/agent] Fixed some test casesMicael Karlberg
2013-05-16[snmp/agent] Updated documentation and release notesMicael Karlberg
2013-05-16[snmp] Added doc/index.html file to git ignoreMicael 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] Preliminary doc update regarding mib_data behaviourMicael 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-19Merge branch 'fredrik/ssh/unicode_adapt' into maintFredrik Gustafsson
* fredrik/ssh/unicode_adapt: ssh: unicode adaptions
2013-04-19Merge branch 'anders/diameter/mkdir_race/OTP-11051' into maintAnders Svensson
* anders/diameter/mkdir_race/OTP-11051: Fix mkdir race
2013-04-19[common_test] Adjusted timers in ct_repeat_testrun_SUITESiri Hansen
This is to allow slower test hosts.
2013-04-19[common_test] Extend timer in cover_SUITE for slow test hostSiri Hansen
2013-04-19[sasl] Remove compiler warning in release_handler_SUITESiri Hansen
2013-04-19[common_test] Kill slave nodes after test cases in cover_SUITESiri Hansen
The test case cover_SUITE:slave_start_slave often fails on a test host (windows) due to a hanging node from an earlier test run. In the first test, the slave fails to start (boot_timeout?) and is never connected to the test node. The attempt at cleaning up used nodes() to find which slaves to kill - so in the case where the slave was never connected it was never killed. This is no changed so each slave is explicitly killed by name - no matter if it is pingable or not.
2013-04-19[reltool] Remove erlang:port_close/1 for node portSiri Hansen
Test nodes are started with erlang:open_port/2, using the -detached option to erl. -detached causes the port returned from open_port/2 to be closed automatically. Some test cases failed occasionally with a badarg when attempting to close the port with erlang:port_close/1. To avoid this the call to port_close/1 is now removed.
2013-04-19fix excessive CPU consumption of timer_serverAliaksey Kandratsenka
I've found stdlib's timer to burn CPU without good reason. Here's what happens. The problem is that it sleeps in milliseconds but computes time in microseconds. And there is bug in code to compute milliseconds to sleep. It computes microseconds difference between now and nearest timer event and then does _truncating_ division by 1000. So on average it sleeps 500 microseconds _less than needed_. On wakeup its checks do I have timer tick that already occurred? No. Ok how much I need to sleep ? It does that bad computation again and gets 0 milliseconds. So next gen_server timeout happens right away only to find we're still before closest timer tick and to decide to sleep 0 milliseconds again. And again and again. This commit changes division to pick ceiling of ratio rather than floor. So that we always sleep not less then difference between now and closest event time.
2013-04-18Fix mkdir raceAnders Svensson
Creating examples/code and examples/dict in parallel can fail when examples doesn't exists. This has been seen on FreeBSD.
2013-04-18Merge branch 'maint-r16' into maintBjörn Gustavsson
* maint-r16: Prepare release Prepare release Do not count offline run-queues as empty Prepare release Prevent loss of objects after the extension marker Don't lose the extension mark for object set parameters Conflicts: erts/vsn.mk
2013-04-18Prepare releaseErlang/OTP
2013-04-18Merge branch 'siri/ct/error-printout-link/OTP-11044' into maintSiri Hansen
* siri/ct/error-printout-link/OTP-11044: [common_test] Add link from red error notification to full error description [common_test] Use max importance when logging errors
2013-04-18Merge branch 'siri/doc-fnu-opts/OTP-10901' into maintSiri Hansen
* siri/doc-fnu-opts/OTP-10901: Add documentation of w, i and e addition to +fnu and +fna switches to erl