aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/test/test_config/agent/vacm.conf.src
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2011-02-25 10:49:13 +0100
committerMicael Karlberg <[email protected]>2011-02-25 10:49:13 +0100
commit03014788307572cf1920ddc82bfae0d8d1faf74b (patch)
tree79b8902483f200220b673a865d58a1b7183a55e1 /lib/snmp/test/test_config/agent/vacm.conf.src
parent8d66da63859f1dae9339d1b13f37b0982c052133 (diff)
parentae806f1663d47569876b3abc0998ee3387c7abd2 (diff)
downloadotp-03014788307572cf1920ddc82bfae0d8d1faf74b.tar.gz
otp-03014788307572cf1920ddc82bfae0d8d1faf74b.tar.bz2
otp-03014788307572cf1920ddc82bfae0d8d1faf74b.zip
[agent] Added a "complete" set of (snmp) table and variable
print functions, for each mib handled by the SNMP (agent) application. This will be usefull when debugging a running agent. See snmpa:print_mib_info/0, snmpa:print_mib_tables/0 and snmpa:print_mib_variables/0 for more info. Merge branch 'bmk/snmp/add_snmp_table_print/OTP-8977' into bmk/snmp/snmp419_integration/OTP-9068 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src lib/snmp/vsn.mk
Diffstat (limited to 'lib/snmp/test/test_config/agent/vacm.conf.src')
-rw-r--r--lib/snmp/test/test_config/agent/vacm.conf.src27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/snmp/test/test_config/agent/vacm.conf.src b/lib/snmp/test/test_config/agent/vacm.conf.src
new file mode 100644
index 0000000000..86271443ad
--- /dev/null
+++ b/lib/snmp/test/test_config/agent/vacm.conf.src
@@ -0,0 +1,27 @@
+%% This file defines the Mib Views.
+%% The data is inserted into the vacm* tables defined
+%% in SNMP-VIEW-BASED-ACM-MIB.
+%% Each row is one of 3 tuples; one for each table in the MIB:
+%% {vacmSecurityToGroup, SecModel, SecName, GroupName}.
+%% {vacmAccess, GroupName, Prefix, SecModel, SecLevel, Match, RV, WV, NV}.
+%% {vacmViewTreeFamily, ViewIndex, ViewSubtree, ViewStatus, ViewMask}.
+%% For example
+%% {vacmSecurityToGroup, v2c, "initial", "initial"}.
+%% {vacmSecurityToGroup, usm, "initial", "initial"}.
+%% read/notify access to system
+%% {vacmAccess, "initial", "", any, noAuthNoPriv, exact,
+%% "system", "", "system"}.
+%% {vacmViewTreeFamily, "system", [1,3,6,1,2,1,1], included, null}.
+%% {vacmViewTreeFamily, "exmib", [1,3,6,1,3], included, null}. % for EX1-MIB
+%% {vacmViewTreeFamily, "internet", [1,3,6,1], included, null}.
+%%
+
+
+{vacmSecurityToGroup, v2c, "initial", "initial"}.
+{vacmSecurityToGroup, v2c, "all-rights", "all-rights"}.
+{vacmAccess, "initial", "", any, noAuthNoPriv, exact, "restricted", "", "restricted"}.
+{vacmAccess, "initial", "", usm, authNoPriv, exact, "internet", "internet", "internet"}.
+{vacmAccess, "initial", "", usm, authPriv, exact, "internet", "internet", "internet"}.
+{vacmAccess, "all-rights", "", any, noAuthNoPriv, exact, "internet", "internet", "internet"}.
+{vacmViewTreeFamily, "restricted", [1,3,6,1], included, null}.
+{vacmViewTreeFamily, "internet", [1,3,6,1], included, null}.