This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathRADLAN-File
206 lines (180 loc) · 5.86 KB
/
RADLAN-File
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
RADLAN-File DEFINITIONS ::= BEGIN
-- Title: RADLAN File Private Extension
-- Version: 7.39.00.00
-- Date: 23 Feb 2005
-- 23-Sep-2003 Added field rlFileRowStatus to rlFileTable
-- 23-Sep-2003 Removed field rlFileActionNextLine from rlFileActionTable
-- 23-Sep-2003 Removed values "display" and "delete" of rlFileActionCommand
-- 07-Nov-2004 Added Scalar rlFileAuditingEnable
-- 23-Feb-2005 Added rlFileFlashSize
IMPORTS
rlFile FROM RADLAN-MIB
DisplayString, RowStatus, TruthValue FROM SNMPv2-TC
OBJECT-TYPE FROM SNMPv2-SMI;
rlFileMibVersion OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the File System MIB version. The current version is 1."
::= {rlFile 1 }
rlFileTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The (conceptual) table listing all the files
of the flash file system."
::= {rlFile 2 }
rlFileEntry OBJECT-TYPE
SYNTAX RlFileEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry (conceptual row) in the FileTable."
INDEX {rlFileName }
::= {rlFileTable 1 }
RlFileEntry ::= SEQUENCE {
rlFileName DisplayString,
rlFilePermission INTEGER,
rlFileSize INTEGER,
rlFileModificationDate DisplayString,
rlFileModificationTime DisplayString,
rlFileRowStatus RowStatus,
rlFileFlashSize INTEGER
}
rlFileName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The name of the file."
::= { rlFileEntry 1 }
rlFilePermission OBJECT-TYPE
SYNTAX INTEGER {
read(1),
write(2),
readWrite(3),
noReadNoWrite(4)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Specifies the permission level in which this file can be accessed. "
::= { rlFileEntry 2 }
rlFileSize OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The size of the file in bytes (actual size)."
::= { rlFileEntry 3 }
rlFileModificationDate OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time-stamp indicating the date of creation or last
modification of this file. The format of the time-stamp is
dd-mmm-yyyy"
::= { rlFileEntry 4 }
rlFileModificationTime OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The time-stamp indicating the time of creation or last
modification of this file. The format of the time-stamp is
hh:mm:ss"
::= { rlFileEntry 5 }
rlFileRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used just to delete an entry"
::= { rlFileEntry 6 }
rlFileFlashSize OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The size allocated for the file in bytes (allocated size)."
::= { rlFileEntry 7 }
rlFileActionTable OBJECT-TYPE
SYNTAX SEQUENCE OF RlFileActionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" The (conceptual) table listing only one entry at a time
with parameters needed for performing an action on a file."
::= {rlFile 3 }
rlFileActionEntry OBJECT-TYPE
SYNTAX RlFileActionEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
" An entry (conceptual row) in the FileActionTable."
INDEX {rlFileActionName }
::= {rlFileActionTable 1 }
RlFileActionEntry ::= SEQUENCE {
rlFileActionName DisplayString,
rlFileActionNewName DisplayString,
rlFileActionRowStatus RowStatus,
rlFileActionCommand INTEGER
}
rlFileActionName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The name of the file."
::= { rlFileActionEntry 1 }
rlFileActionNewName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The new name for the file (in case of action rename)."
::= { rlFileActionEntry 2 }
rlFileActionRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"It is used to create an entry"
::= { rlFileActionEntry 3 }
rlFileActionCommand OBJECT-TYPE
SYNTAX INTEGER {
rename(1)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Perform an action on the file."
::= { rlFileActionEntry 4 }
rlFileTotalSizeOfFlash OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the total size of the flash in bytes."
::= {rlFile 4 }
rlFileFreeSizeOfFlash OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the number of free bytes in the flash."
::= {rlFile 5 }
--- File System auditing control (SysLog)
rlFileAuditingEnable OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Controls whether SysLog messages
should be issued on file rename/delete events"
DEFVAL { true }
::= { rlFile 6 }
END