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