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