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