From 5bccd012d163a98dd59191db9f69134ccef49faf Mon Sep 17 00:00:00 2001
From: Micael Karlberg
Date: Tue, 12 Jul 2011 16:05:52 +0200
Subject: Fixed release notes and API documentation for tdomain.xs
---
lib/snmp/doc/src/notes.xml | 8 +++++---
lib/snmp/doc/src/snmpm.xml | 29 +++++++++++++++++------------
2 files changed, 22 insertions(+), 15 deletions(-)
(limited to 'lib')
diff --git a/lib/snmp/doc/src/notes.xml b/lib/snmp/doc/src/notes.xml
index facb9029f5..7e4099c7a8 100644
--- a/lib/snmp/doc/src/notes.xml
+++ b/lib/snmp/doc/src/notes.xml
@@ -48,10 +48,12 @@
The transport domains was assumed to be IPv4 (transportDomainUdpIpv4).
This has now been changed so that it can also be IPv6
(transportDomainUdpIpv6).
- To facilitate this, the transportDomain is now a (new)
- valid option when
+ To facilitate this, the transport domain, tdomain,
+ is now a (new) valid option when
registering
- a new agent.
+ a new agent (and
+ updating
+ agent info).
This also mean that the transport behaviour has changed.
Own Id: OTP-9305
Aux Id: Seq 11847
diff --git a/lib/snmp/doc/src/snmpm.xml b/lib/snmp/doc/src/snmpm.xml
index 6162f0d592..c36a1b2a24 100644
--- a/lib/snmp/doc/src/snmpm.xml
+++ b/lib/snmp/doc/src/snmpm.xml
@@ -283,27 +283,27 @@ sec_level = noAuthNoPriv | authNoPriv | authPriv
TargetName = target_name()
Config = [agent_config()]
agent_config() = {Item, Val}
- Item = engine_id | address | port | community | timeout | max_message_size | version | sec_model | sec_name | sec_level
+ Item = engine_id | address | port | community | timeout | max_message_size | version | sec_model | sec_name | sec_level | tdomain
Val = term()
Reason = term()
Explicitly instruct the manager to handle this agent, with
- UserId as the responsible user.
- Called to instruct the manager that this agent
- shall be handled. This function is used when
- the user knows in advance which agents the
- manager shall handle.
- Note that there is an alternate way to do the same thing:
- Add the agent to the manager config files (see
- agents.conf).
+ UserId as the responsible user.
+ Called to instruct the manager that this agent shall be handled.
+ This function is used when the user knows in advance which agents
+ the manager shall handle.
+ Note that there is an alternate way to do the same thing:
+ Add the agent to the manager config files (see
+ agents.conf).
TargetName is a non-empty string,
- uniquely identifying the agent.
- The type of Val depends on Item:
+ uniquely identifying the agent.
+ The type of Val depends on Item:
- Note that if no Port is given, the default value is used.
+ Note that if no tdomain is given, the default value,
+ transportDomainUdpIpv4, is used.
+ Note that if no port is given, the default value is used.
@@ -364,6 +366,9 @@ sec_level = noAuthNoPriv | authNoPriv | authPriv
Update agent config. The function update_agent_info/3
should be used when several values needs to be updated atomically.
+ See function
+ register_agent)
+ for more info about what kind of items are allowed.
--
cgit v1.2.3