xref: /freebsd/usr.sbin/bsnmpd/modules/snmp_netgraph/netgraph_tree.def (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1259ee3d7SHartmut Brandt#
2259ee3d7SHartmut Brandt# Copyright (c) 2001-2003
3259ee3d7SHartmut Brandt#	Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4259ee3d7SHartmut Brandt#	All rights reserved.
5259ee3d7SHartmut Brandt#
6259ee3d7SHartmut Brandt# Author: Harti Brandt <harti@freebsd.org>
7259ee3d7SHartmut Brandt#
8259ee3d7SHartmut Brandt# Redistribution of this software and documentation and use in source and
9259ee3d7SHartmut Brandt# binary forms, with or without modification, are permitted provided that
10259ee3d7SHartmut Brandt# the following conditions are met:
11259ee3d7SHartmut Brandt#
12259ee3d7SHartmut Brandt# 1. Redistributions of source code or documentation must retain the above
13259ee3d7SHartmut Brandt#    copyright notice, this list of conditions and the following disclaimer.
14259ee3d7SHartmut Brandt# 2. Redistributions in binary form must reproduce the above copyright
15259ee3d7SHartmut Brandt#    notice, this list of conditions and the following disclaimer in the
16259ee3d7SHartmut Brandt#    documentation and/or other materials provided with the distribution.
17259ee3d7SHartmut Brandt#
18259ee3d7SHartmut Brandt# THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY FRAUNHOFER FOKUS
19259ee3d7SHartmut Brandt# AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
20259ee3d7SHartmut Brandt# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21259ee3d7SHartmut Brandt# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
22259ee3d7SHartmut Brandt# FRAUNHOFER FOKUS OR ITS CONTRIBUTORS  BE LIABLE FOR ANY DIRECT, INDIRECT,
23259ee3d7SHartmut Brandt# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24259ee3d7SHartmut Brandt# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
25259ee3d7SHartmut Brandt# OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26259ee3d7SHartmut Brandt# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27259ee3d7SHartmut Brandt# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
28259ee3d7SHartmut Brandt# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29259ee3d7SHartmut Brandt#
30259ee3d7SHartmut Brandt#
31259ee3d7SHartmut Brandt# Definition of the tree implemented by snmp_netgraph.
32259ee3d7SHartmut Brandt#
33259ee3d7SHartmut Brandt(1 internet
34259ee3d7SHartmut Brandt  (4 private
35259ee3d7SHartmut Brandt    (1 enterprises
36259ee3d7SHartmut Brandt      (12325 fokus
37259ee3d7SHartmut Brandt        (1 begemot
38259ee3d7SHartmut Brandt          (2 begemotNg
39259ee3d7SHartmut Brandt            (1 begemotNgObjects
40259ee3d7SHartmut Brandt              (1 begemotNgConfig
41259ee3d7SHartmut Brandt                (1 begemotNgControlNodeName OCTETSTRING op_ng_config GET SET)
42259ee3d7SHartmut Brandt                (2 begemotNgResBufSiz INTEGER op_ng_config GET SET)
43259ee3d7SHartmut Brandt                (3 begemotNgTimeout INTEGER op_ng_config GET SET)
44259ee3d7SHartmut Brandt                (4 begemotNgDebugLevel UNSIGNED32 op_ng_config GET SET)
45259ee3d7SHartmut Brandt              )
46259ee3d7SHartmut Brandt# Change definition of stats array if you change StatsGroup
47259ee3d7SHartmut Brandt              (2 begemotNgStats
48259ee3d7SHartmut Brandt                (1 begemotNgNoMems COUNTER op_ng_stats GET)
49259ee3d7SHartmut Brandt                (2 begemotNgMsgReadErrs COUNTER op_ng_stats GET)
50259ee3d7SHartmut Brandt                (3 begemotNgTooLargeMsgs COUNTER op_ng_stats GET)
51259ee3d7SHartmut Brandt                (4 begemotNgDataReadErrs COUNTER op_ng_stats GET)
52259ee3d7SHartmut Brandt                (5 begemotNgTooLargeDatas COUNTER op_ng_stats GET)
53259ee3d7SHartmut Brandt              )
54259ee3d7SHartmut Brandt              (3 begemotNgTypeTable
55259ee3d7SHartmut Brandt                (1 begemotNgTypeEntry : OCTETSTRING op_ng_type
56259ee3d7SHartmut Brandt                  (1 begemotNgTypeName OCTETSTRING)
57259ee3d7SHartmut Brandt                  (2 begemotNgTypeStatus INTEGER GET SET)
58259ee3d7SHartmut Brandt              ))
59259ee3d7SHartmut Brandt              (4 begemotNgNodeTable
60259ee3d7SHartmut Brandt                (1 begemotNgNodeEntry : INTEGER op_ng_node
61259ee3d7SHartmut Brandt                  (1 begemotNgNodeId UNSIGNED32)
62259ee3d7SHartmut Brandt                  (2 begemotNgNodeStatus INTEGER GET)
63259ee3d7SHartmut Brandt                  (3 begemotNgNodeName OCTETSTRING GET)
64259ee3d7SHartmut Brandt                  (4 begemotNgNodeType OCTETSTRING GET)
65259ee3d7SHartmut Brandt                  (5 begemotNgNodeHooks UNSIGNED32 GET)
66259ee3d7SHartmut Brandt              ))
67259ee3d7SHartmut Brandt              (5 begemotNgHookTable
68259ee3d7SHartmut Brandt                (1 begemotNgHookEntry : UNSIGNED32 OCTETSTRING op_ng_hook
69259ee3d7SHartmut Brandt                  (1 begemotNgHookNodeId UNSIGNED32)
70259ee3d7SHartmut Brandt                  (2 begemotNgHookHook OCTETSTRING)
71259ee3d7SHartmut Brandt                  (3 begemotNgHookStatus INTEGER GET)
72259ee3d7SHartmut Brandt                  (4 begemotNgHookPeerNodeId UNSIGNED32 GET)
73259ee3d7SHartmut Brandt                  (5 begemotNgHookPeerHook OCTETSTRING GET)
74259ee3d7SHartmut Brandt                  (6 begemotNgHookPeerType OCTETSTRING GET)
75259ee3d7SHartmut Brandt              ))
76259ee3d7SHartmut Brandt          ))
77259ee3d7SHartmut Brandt)))))
78