xref: /freebsd/contrib/bsnmp/snmp_target/target_tree.def (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#-
2# Copyright (C) 2010 The FreeBSD Foundation
3#
4# This software was developed by Shteryana Sotirova Shopova under
5# sponsorship from the FreeBSD Foundation.
6#
7# Redistribution and use in source and binary forms, with or without
8# modification, are permitted provided that the following conditions
9# are met:
10# 1. Redistributions of source code must retain the above copyright
11#    notice, this list of conditions and the following disclaimer.
12# 2. Redistributions in binary form must reproduce the above copyright
13#    notice, this list of conditions and the following disclaimer in the
14#   documentation and/or other materials provided with the distribution.
15#
16# THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19# ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
20# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26# SUCH DAMAGE.
27#
28# $FreeBSD$
29#
30
31include "tc.def"
32
33(1 internet
34  (6 snmpV2
35    (1 snmpDomains
36      (1 snmpUDPDomain
37      )
38    )
39    (3 snmpModules
40      (12 snmpTargetMIB
41        (1 snmpTargetObjects
42          (1 snmpTargetSpinLock INTEGER op_snmp_target GET SET)
43          (2 snmpTargetAddrTable
44            (1 snmpTargetAddrEntry : OCTETSTRING op_snmp_target_addrs
45              (1 snmpTargetAddrName OCTETSTRING)
46              (2 snmpTargetAddrTDomain OID GET SET)
47              (3 snmpTargetAddrTAddress OCTETSTRING | TAddress GET SET)
48              (4 snmpTargetAddrTimeout INTEGER GET SET)
49              (5 snmpTargetAddrRetryCount INTEGER GET SET)
50              (6 snmpTargetAddrTagList OCTETSTRING | SnmpTagList GET SET)
51              (7 snmpTargetAddrParams OCTETSTRING GET SET)
52              (8 snmpTargetAddrStorageType StorageType GET SET)
53              (9 snmpTargetAddrRowStatus RowStatus GET SET)
54            )
55          )
56          (3 snmpTargetParamsTable
57            (1 snmpTargetParamsEntry : OCTETSTRING op_snmp_target_params
58              (1 snmpTargetParamsName OCTETSTRING)
59              (2 snmpTargetParamsMPModel INTEGER GET SET)
60              (3 snmpTargetParamsSecurityModel INTEGER GET SET)
61              (4 snmpTargetParamsSecurityName OCTETSTRING | SnmpAdminString GET SET)
62              (5 snmpTargetParamsSecurityLevel ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ) GET SET)
63              (6 snmpTargetParamsStorageType StorageType GET SET)
64              (7 snmpTargetParamsRowStatus RowStatus GET SET)
65            )
66          )
67          (4 snmpUnavailableContexts COUNTER op_snmp_target GET)
68          (5 snmpUnknownContexts COUNTER op_snmp_target GET)
69        )
70      )
71      (13 snmpNotificationMIB
72        (1 snmpNotifyObjects
73          (1 snmpNotifyTable
74            (1 snmpNotifyEntry : OCTETSTRING op_snmp_notify
75              (1 snmpNotifyName OCTETSTRING)
76              (2 snmpNotifyTag OCTETSTRING | SnmpTagValue GET SET)
77              (3 snmpNotifyType ENUM ( 1 trap 2 inform ) GET SET)
78              (4 snmpNotifyStorageType StorageType GET SET)
79              (5 snmpNotifyRowStatus RowStatus GET SET)
80            )
81          )
82        )
83      )
84    )
85  )
86)
87