From 08b6fcf4c00deb2efb7ddb759b430ab7effa3cc8 Mon Sep 17 00:00:00 2001
From: Micael Karlberg
Date: Fri, 11 Oct 2013 13:06:19 +0200
Subject: [snmp] Updated release notes, ref man, appup and assigned proper
version
---
lib/snmp/doc/src/notes.xml | 72 ++++++++++++++++++++++++++++++++++++++++++++++
lib/snmp/doc/src/snmpa.xml | 48 ++++++++++++++++++++-----------
lib/snmp/doc/src/snmpm.xml | 45 ++++++++++++++++++-----------
3 files changed, 131 insertions(+), 34 deletions(-)
(limited to 'lib/snmp/doc')
diff --git a/lib/snmp/doc/src/notes.xml b/lib/snmp/doc/src/notes.xml
index 7514c52dda..1b954a5294 100644
--- a/lib/snmp/doc/src/notes.xml
+++ b/lib/snmp/doc/src/notes.xml
@@ -33,6 +33,78 @@
+
+ SNMP Development Toolkit 4.25
+ Version 4.25 supports code replacement in runtime from/to
+ version 2.24.2, 4.24.1, 4.24, 4.23.1 and 4.23.
+
+
+ Improvements and new features
+
+
+
+ -
+
Add (atl) log conversion block option.
+ It is now possible to request that the Audit Trail Log should
+ be blocked during conversion (log_to_txt or log_to_io).
+ This could be usefull when coverting a large log (when there is
+ a chance it may otherwise wrap during conversion).
+ See
+ agent
+ log_to_txt and
+ log_to_io and also
+ manager
+ log_to_txt and
+ log_to_io
+ for details.
+ Own Id: OTP-11396
+ Own Id: seq12433
+
+
+
+
+
+
+
+ Fixed Bugs and Malfunctions
+ -
+
+
+
+
+
+
+ Incompatibilities
+ -
+
+
+
+
+
+
+
SNMP Development Toolkit 4.24.2
Version 4.24.2 supports code replacement in runtime from/to
diff --git a/lib/snmp/doc/src/snmpa.xml b/lib/snmp/doc/src/snmpa.xml
index 77146f3a89..29e8869401 100644
--- a/lib/snmp/doc/src/snmpa.xml
+++ b/lib/snmp/doc/src/snmpa.xml
@@ -4,7 +4,7 @@
- 20042012
+ 20042013
Ericsson AB. All Rights Reserved.
@@ -557,32 +557,39 @@ notification_delivery_info() = #snmpa_notification_delivery_info{}
log_to_txt(LogDir)
- log_to_txt(LogDir, Mibs)
- log_to_txt(LogDir, Mibs, OutFile) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start) -> ok | {error, Reason}
+ log_to_txt(LogDir, Block | Mibs)
+ log_to_txt(LogDir, Mibs, Block | OutFile) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, Block | LogName) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, Block | LogFile) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block | Start) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block, Start) -> ok | {error, Reason}
log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start, Stop) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block, Start, Stop) -> ok | {error, Reason}
Convert an Audit Trail Log to text format
LogDir = string()
Mibs = [MibName]
MibName = string()
+ Block = block()
OutFile = string()
LogName = string()
LogFile = string()
- Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()}
+ Start = Stop = null | calendar:datetime() | {local_time, calendar:datetime()} | {universal_time, calendar:datetime()}
Reason = disk_log_open_error() | file_open_error() | term()
disk_log_open_error() = {LogName, term()}
file_open_error() = {OutFile, term()}
Converts an Audit Trail Log to a readable text file.
- OutFile defaults to "./snmpa_log.txt".
- LogName defaults to "snmpa_log".
- LogFile defaults to "snmpa.log".
- See snmp:log_to_txt
- for more info.
+ OutFile defaults to "./snmpa_log.txt".
+ LogName defaults to "snmpa_log".
+ LogFile defaults to "snmpa.log".
+ The Block option indicates if the log should be blocked
+ during conversion. This could be usefull when converting large
+ logs (when otherwise the log could wrap during conversion).
+ Defaults to false.
+ See snmp:log_to_txt
+ for more info.
@@ -590,19 +597,22 @@ notification_delivery_info() = #snmpa_notification_delivery_info{}
log_to_io(LogDir) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName, LogFile) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName, LogFile, Start) -> ok | {error, Reason}
+ log_to_io(LogDir, Block | Mibs) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, Block | LogName) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, Block | LogFile) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block | Start) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block, Start) -> ok | {error, Reason}
log_to_io(LogDir, Mibs, LogName, LogFile, Start, Stop) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block, Start, Stop) -> ok | {error, Reason}
Convert an Audit Trail Log to text format
LogDir = string()
Mibs = [MibName]
MibName = string()
+ Block = block()
LogName = string()
LogFile = string()
- Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()}
+ Start = Stop = null | calendar:datetime() | {local_time, calendar:datetime()} | {universal_time, calendar:datetime()}
Reason = disk_log_open_error() | file_open_error() | term()
disk_log_open_error() = {LogName, term()}
file_open_error() = {OutFile, term()}
@@ -612,6 +622,10 @@ notification_delivery_info() = #snmpa_notification_delivery_info{}
prints it on stdio.
LogName defaults to "snmpa_log".
LogFile defaults to "snmpa.log".
+ The Block option indicates if the log should be blocked
+ during conversion. This could be usefull when converting large
+ logs (when otherwise the log could wrap during conversion).
+ Defaults to false.
See snmp:log_to_io
for more info.
diff --git a/lib/snmp/doc/src/snmpm.xml b/lib/snmp/doc/src/snmpm.xml
index 07fdd208ff..f7b7e6220e 100644
--- a/lib/snmp/doc/src/snmpm.xml
+++ b/lib/snmp/doc/src/snmpm.xml
@@ -4,7 +4,7 @@
- 20042012
+ 20042013
Ericsson AB. All Rights Reserved.
@@ -1209,32 +1209,40 @@ priv_key = [integer()] (length is 16 if priv = usmDESPrivProtocol | usmAesCfb1
- log_to_txt(LogDir, Mibs)
- log_to_txt(LogDir, Mibs, OutFile) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile) -> ok | {error, Reason}
- log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start) -> ok | {error, Reason}
+ log_to_txt(LogDir)
+ log_to_txt(LogDir, Block | Mibs)
+ log_to_txt(LogDir, Mibs, Block | OutFile) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, Block | LogName) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, Block | LogFile) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block | Start) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block, Start) -> ok | {error, Reason}
log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Start, Stop) -> ok | {error, Reason}
+ log_to_txt(LogDir, Mibs, OutFile, LogName, LogFile, Block, Start, Stop) -> ok | {error, Reason}
Convert an Audit Trail Log to text format
LogDir = string()
Mibs = [MibName]
MibName = string()
+ Block = block()
OutFile = string()
LogName = string()
LogFile = string()
- Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()}
+ Start = Stop = null | calendar:datetime() | {local_time, calendar:datetime()} | {universal_time, calendar:datetime()}
Reason = disk_log_open_error() | file_open_error() | term()
disk_log_open_error() = {LogName, term()}
file_open_error() = {OutFile, term()}
Converts an Audit Trail Log to a readable text file.
- OutFile defaults to "./snmpm_log.txt".
- LogName defaults to "snmpm_log".
- LogFile defaults to "snmpm.log".
- See snmp:log_to_txt
- for more info.
+ OutFile defaults to "./snmpm_log.txt".
+ LogName defaults to "snmpm_log".
+ LogFile defaults to "snmpm.log".
+ The Block option indicates if the log should be blocked
+ during conversion. This could be usefull when converting large
+ logs (when otherwise the log could wrap during conversion).
+ Defaults to false.
+ See snmp:log_to_txt
+ for more info.
@@ -1242,20 +1250,23 @@ priv_key = [integer()] (length is 16 if priv = usmDESPrivProtocol | usmAesCfb1
log_to_io(LogDir) -> ok | {error, Reason}
+ log_to_io(LogDir, Block | Mibs) -> ok | {error, Reason}
log_to_io(LogDir, Mibs) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName, LogFile) -> ok | {error, Reason}
- log_to_io(LogDir, Mibs, LogName, LogFile, Start) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, Block | LogName) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, Block | LogFile) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block | Start) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block, Start) -> ok | {error, Reason}
log_to_io(LogDir, Mibs, LogName, LogFile, Start, Stop) -> ok | {error, Reason}
+ log_to_io(LogDir, Mibs, LogName, LogFile, Block, Start, Stop) -> ok | {error, Reason}
Convert an Audit Trail Log to text format
LogDir = string()
Mibs = [MibName]
MibName = string()
+ Block = block()
LogName = string()
LogFile = string()
- Start = Stop = null | datetime() | {local_time,datetime()} | {universal_time,datetime()}
+ Start = Stop = null | calendar:datetime() | {local_time, calendar:datetime()} | {universal_time, calendar:datetime()}
Reason = disk_log_open_error() | file_open_error() | term()
disk_log_open_error() = {LogName, term()}
file_open_error() = {OutFile, term()}
--
cgit v1.2.3