xref: /freebsd/contrib/bsnmp/snmp_vacm/vacm_tree.def (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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    (3 snmpModules
37      (16 snmpVacmMIB
38        (1 vacmMIBObjects
39          (1 vacmContextTable
40            (1 vacmContextEntry : OCTETSTRING op_vacm_context
41              (1 vacmContextName OCTETSTRING GET)
42            )
43          )
44          (2 vacmSecurityToGroupTable
45            (1 vacmSecurityToGroupEntry : INTEGER OCTETSTRING op_vacm_security_to_group
46              (1 vacmSecurityModel INTEGER)
47              (2 vacmSecurityName OCTETSTRING)
48              (3 vacmGroupName OCTETSTRING GET SET)
49              (4 vacmSecurityToGroupStorageType StorageType GET SET)
50              (5 vacmSecurityToGroupStatus RowStatus GET SET)
51            )
52          )
53          (4 vacmAccessTable
54            (1 vacmAccessEntry : OCTETSTRING OCTETSTRING INTEGER ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ) op_vacm_access
55              (1 vacmAccessContextPrefix OCTETSTRING)
56              (2 vacmAccessSecurityModel INTEGER)
57              (3 vacmAccessSecurityLevel ENUM ( 1 noAuthNoPriv 2 authNoPriv 3 authPriv ))
58              (4 vacmAccessContextMatch ENUM ( 1 exact 2 prefix ) GET SET)
59              (5 vacmAccessReadViewName OCTETSTRING GET SET)
60              (6 vacmAccessWriteViewName OCTETSTRING GET SET)
61              (7 vacmAccessNotifyViewName OCTETSTRING GET SET)
62              (8 vacmAccessStorageType StorageType GET SET)
63              (9 vacmAccessStatus RowStatus GET SET)
64            )
65          )
66          (5 vacmMIBViews
67            (1 vacmViewSpinLock INTEGER op_vacm_view_lock GET SET)
68            (2 vacmViewTreeFamilyTable
69              (1 vacmViewTreeFamilyEntry : OCTETSTRING OID op_vacm_view
70                (1 vacmViewTreeFamilyViewName OCTETSTRING)
71                (2 vacmViewTreeFamilySubtree OID)
72                (3 vacmViewTreeFamilyMask OCTETSTRING GET SET)
73                (4 vacmViewTreeFamilyType ENUM ( 1 included 2 excluded ) GET SET)
74                (5 vacmViewTreeFamilyStorageType StorageType GET SET)
75                (6 vacmViewTreeFamilyStatus RowStatus GET SET)
76              )
77            )
78          )
79        )
80        (2 vacmMIBConformance
81          (1 vacmMIBCompliances
82          )
83          (2 vacmMIBGroups
84          )
85        )
86      )
87    )
88  )
89)
90