summaryrefslogtreecommitdiff
path: root/MIBS/ciena/CIENA-CES-FILE-TRANSFER-MIB
blob: 777144a6e1f6a81ca9828df31a491ecb52838149 (plain)
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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
-- This file was included in Ciena MIB release MIBS-CIENA-CES-08-07-00-024
 --

 -- CIENA-CES-FILE-TRANSFER-MIB.my

 --



 CIENA-CES-FILE-TRANSFER-MIB DEFINITIONS ::= BEGIN



 IMPORTS 		                                   

   NOTIFICATION-TYPE, OBJECT-TYPE, MODULE-IDENTITY			

	FROM SNMPv2-SMI			

   DisplayString

	FROM SNMPv2-TC

    cienaGlobalSeverity, cienaGlobalMacAddress

   		FROM CIENA-GLOBAL-MIB

   cienaCesNotifications, cienaCesConfig

        FROM CIENA-SMI;



 cienaCesFileTransferMIB MODULE-IDENTITY

	    LAST-UPDATED "201706070000Z"
	    ORGANIZATION "Ciena Corp."
	    CONTACT-INFO
	    "   Mib Meister
	        7035 Ridge Road
	        Hanover, Maryland 21076
	        USA
	        Phone:  +1 800 921 1144
	        Email:  support@ciena.com"

	    DESCRIPTION

		    "This module defines the file transfer objects."      

	    REVISION "201706070000Z"
	    DESCRIPTION 

		    "Updated contact info."

	    REVISION "201102020000Z"
	    DESCRIPTION

		    "Initial creation. "      

	

		    ::= { cienaCesConfig 15 }  

	    						

 --

 -- Node definitions

 --

	

 cienaCesFileTransferMIBObjects OBJECT IDENTIFIER ::= { cienaCesFileTransferMIB 1 }

 

 --

 -- System Attributes

 --

 cienaCesFileTransfer OBJECT IDENTIFIER ::= { cienaCesFileTransferMIBObjects 1 }

 

 

 --

 -- Notifications 

 --



 cienaCesFileTransferMIBNotificationPrefix  OBJECT IDENTIFIER ::= { cienaCesNotifications 16 }

 cienaCesFileTransferMIBNotifications       OBJECT IDENTIFIER ::= { cienaCesFileTransferMIBNotificationPrefix 0 } 





 --

 -- System Attributes

 --

	

 cienaCesFTransferRemoteFilename OBJECT-TYPE

     SYNTAX      DisplayString 

     MAX-ACCESS  accessible-for-notify

     STATUS      current

     DESCRIPTION

	     "The file name (including the path, if applicable) to be retrieved from the 

             xFTP server. If the switch/device is downloading a file, then this should be 

             the name of the file on the remote server. The length of the filename string must 

             not exceed 64 alpha-numeric characters, no spaces in filenames."

     ::= { cienaCesFileTransfer 1 }



 cienaCesFTransferLocalFilename OBJECT-TYPE

     SYNTAX      DisplayString 

     MAX-ACCESS  accessible-for-notify

     STATUS      current

     DESCRIPTION

	     "The file name (including the path, if applicable) to be written to.

             If the switch/device is downloading a file, then this should be 

             name of the file on the switch/device. Length of filename string must 

             not exceed 64 alpha-numeric characters, no spaces in filenames. By default

             it will have the same value as of cienaCesFTransferRemoteFilename."

     ::= { cienaCesFileTransfer 2 }

 

 cienaCesFTransferNotificationStatus OBJECT-TYPE

     SYNTAX       INTEGER  {

                     fileAlreadyExist(1),

                     tftpServerNotFound(2),

                     fileGetError(3),

                     filePutError(4),  

                     fileSystemError(5),

                     fileContentsInvalid(6),

                     flashOffline(7),

                     badFileCrc(8),

                     allFilesSkipped(9),

                     serverIpAddrInvalid(10),

                     filePathInvalid(11),

                     fileNameInvalid(12),

                     sourceNotFound(13),

                     fileNameNeeded(14),

                     notEnoughSpace(15), 

                     putSuccessful(16), 

                     downloadSuccess(17),

                     internalError(18),

                     noStatus(0)

              }

     MAX-ACCESS   accessible-for-notify

     STATUS       current

     DESCRIPTION

             "The status of the file transfer that is to be reported 

             via the FileTransfer Notification."

    ::= { cienaCesFileTransfer 3 }



 cienaCesFTransferNotificationInfo OBJECT-TYPE

     SYNTAX         DisplayString 

     MAX-ACCESS     accessible-for-notify

     STATUS         current

     DESCRIPTION

             "The string explaining the error code in detail or the additional

             information for the file transfer completion. "           

    ::= { cienaCesFileTransfer 4 }

 

 --

 -- Notifications

 --



 cienaCesFTransferCompletion NOTIFICATION-TYPE

	OBJECTS	 {

	        	cienaGlobalSeverity,  

	        	cienaGlobalMacAddress, 

				cienaCesFTransferRemoteFilename,

                cienaCesFTransferLocalFilename,

				cienaCesFTransferNotificationStatus,

				cienaCesFTransferNotificationInfo

		   }

	STATUS	   current

	DESCRIPTION

		"A cienaCesFTransferCompletion notification is sent at the completion
		of a file transfer request. The cienaCesFileTransferCompletionTrapState 
		must be enabled to generate this notification. Variable bindings include: 
		cienaGlobalSeverity, cienaGlobalMacAddress, cienaCesFTransferRemoteFilename, 
		cienaCesFTransferLocalFilename, cienaCesFTransferNotificationStatus, and 
		cienaCesFTransferNotificationInfo."

	::= { cienaCesFileTransferMIBNotifications 1 }

 END