]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/bsnmp/snmp_target/target_tree.def
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / bsnmp / snmp_target / target_tree.def
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
32 #include "tc.def"
33
34 typedef RowStatus ENUM (
35         1 active
36         2 notInService
37         3 notReady
38         4 createAndGo
39         5 createAndWait
40         6 destroy
41 )
42
43 typedef StorageType ENUM (
44         1 other
45         2 volatile
46         3 nonVolatile
47         4 permanent
48         5 readOnly
49 )
50
51 (1 internet
52   (6 snmpV2
53     (1 snmpDomains
54       (1 snmpUDPDomain
55       )
56     )
57     (3 snmpModules
58       (12 snmpTargetMIB
59         (1 snmpTargetObjects
60           (1 snmpTargetSpinLock INTEGER op_snmp_target GET SET)
61           (2 snmpTargetAddrTable
62             (1 snmpTargetAddrEntry : OCTETSTRING op_snmp_target_addrs
63               (1 snmpTargetAddrName OCTETSTRING)
64               (2 snmpTargetAddrTDomain OID GET SET)
65               (3 snmpTargetAddrTAddress OCTETSTRING | TAddress GET SET)
66               (4 snmpTargetAddrTimeout INTEGER GET SET)
67               (5 snmpTargetAddrRetryCount INTEGER GET SET)
68               (6 snmpTargetAddrTagList OCTETSTRING | SnmpTagList GET SET)
69               (7 snmpTargetAddrParams OCTETSTRING GET SET)
70               (8 snmpTargetAddrStorageType StorageType GET SET)
71               (9 snmpTargetAddrRowStatus RowStatus GET SET)
72             )
73           )
74           (3 snmpTargetParamsTable
75             (1 snmpTargetParamsEntry : OCTETSTRING op_snmp_target_params
76               (1 snmpTargetParamsName OCTETSTRING)
77               (2 snmpTargetParamsMPModel INTEGER GET SET)
78               (3 snmpTargetParamsSecurityModel INTEGER GET SET)
79               (4 snmpTargetParamsSecurityName OCTETSTRING | SnmpAdminString GET SET)
80               (5 snmpTargetParamsSecurityLevel ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ) GET SET)
81               (6 snmpTargetParamsStorageType StorageType GET SET)
82               (7 snmpTargetParamsRowStatus RowStatus GET SET)
83             )
84           )
85           (4 snmpUnavailableContexts COUNTER op_snmp_target GET)
86           (5 snmpUnknownContexts COUNTER op_snmp_target GET)
87         )
88       )
89       (13 snmpNotificationMIB
90         (1 snmpNotifyObjects
91           (1 snmpNotifyTable
92             (1 snmpNotifyEntry : OCTETSTRING op_snmp_notify
93               (1 snmpNotifyName OCTETSTRING)
94               (2 snmpNotifyTag OCTETSTRING | SnmpTagValue GET SET)
95               (3 snmpNotifyType ENUM ( 1 trap 2 inform ) GET SET)
96               (4 snmpNotifyStorageType StorageType GET SET)
97               (5 snmpNotifyRowStatus RowStatus GET SET)
98             )
99           )
100         )
101       )
102     )
103   )
104 )