summaryrefslogtreecommitdiff
path: root/MIBS/waystream/WAYSTREAM-COPY-MIB
blob: 2e739fc5950e2a4eac164d03fe986f7c143c2e66 (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
WAYSTREAM-COPY-MIB DEFINITIONS ::= BEGIN
--
-- This is the Waystream MIB definition for the iBOS file copy function
--
-- Copyright (c) 2017 Waystream AB, All rights reserved
--

IMPORTS
    MODULE-IDENTITY,
    OBJECT-TYPE,
        Unsigned32
	FROM SNMPv2-SMI
	
	DisplayString
	FROM SNMPv2-TC
	
        wsExperiment
        FROM WAYSTREAM-SMI;


wsCopy  MODULE-IDENTITY
    LAST-UPDATED "201702101100Z"	-- February 10, 2017
    ORGANIZATION "Waystream AB"
    CONTACT-INFO
        "Waystream AB
         Customer Service

         Mail : Farogatan 33
                SE-164 51 Kista
                Sweden

         Tel  : +46 8 5626 9450

         E-mail: info@waystream.com
         Web   : http://www.waystream.com"
    DESCRIPTION
        "MIB describing the file copy functions available on Waystream ASRs"

    REVISION "201702101100Z"	-- February 10, 2017
    DESCRIPTION
        "Company name change:
	 In October 2015 PacketFront Network Products was renamed Waystream.
	 In this update all PacketFront were changed to Waystream and all
	 pf* to ws*."
    REVISION "201101111735Z"	-- January 11th, 2011
    DESCRIPTION
        "Updated company name"
    REVISION "200903231117Z"
    DESCRIPTION
        "Updated telephone information in contact-info"
    REVISION "200809101538Z"
    DESCRIPTION
        "Initial - moved pfCopy from PACKETFRONT-MIB"

        ::= { wsExperiment 2 }


-- Get filehandle
wsCopyNextState	OBJECT-TYPE
                SYNTAX Unsigned32
                MAX-ACCESS read-only
                STATUS current
                DESCRIPTION
                        "Generate a unique filehandle. The filehandle is
                         used with the other objects in the wsCopy branch
                         to set the source and destination and commence
                         file transfer activities."
                ::= { wsCopy 1 }

-- the ws Copy table
-- Table with states of current copy sessions.
wsCopyTable 	OBJECT-TYPE
		SYNTAX SEQUENCE OF WsCopyEntry
		MAX-ACCESS not-accessible
		STATUS current
		DESCRIPTION
			"A list of current copy sessions. The next available entry is
			 given by the value of wsCopyNextState."
		::= { wsCopy 2 }

wsCopyEntry	OBJECT-TYPE
		SYNTAX WsCopyEntry 
		MAX-ACCESS not-accessible
		STATUS current
		DESCRIPTION
			"An entry for a copy session."
		INDEX { wsCopyIndex }
		::= { wsCopyTable 1 }

WsCopyEntry ::=
	SEQUENCE {
		wsCopyIndex		Unsigned32,
		wsCopySource		DisplayString,
		wsCopyDestination	DisplayString,
		wsCopyStatus		INTEGER,
		wsCopyError		DisplayString
	}


wsCopyIndex	OBJECT-TYPE
		SYNTAX Unsigned32
		MAX-ACCESS read-only
		STATUS current
		DESCRIPTION
			"A unique value for each copy session."
		::= { wsCopyEntry 1 }

-- Set copy source
wsCopySource 	OBJECT-TYPE
                SYNTAX DisplayString (SIZE (0..255))
                MAX-ACCESS read-write
                STATUS current
                DESCRIPTION
                        "The source URL for a filhandle. The string 
                         provided must match an acceptable URL as 
                         typed in the command line interface copy command."
                ::= { wsCopyEntry 2 }

-- Set copy destination
wsCopyDestination	OBJECT-TYPE
                        SYNTAX DisplayString (SIZE (0..255))
                        MAX-ACCESS read-write
                        STATUS current
                        DESCRIPTION
                                "The destination filename for a filehandle. The
                                 string provided must match an acceptable destination
                                 as typed in the command line interface copy command."
                        ::= { wsCopyEntry 3 }

-- Set/Get copy status
wsCopyStatus   	OBJECT-TYPE
                SYNTAX INTEGER {
                       notused(0),
                       start(1),
                       stop(2),
                       destroy(3),
                       init(4),
                       inprogress(5),
                       failed(6),
                       finished(7)
                }
                MAX-ACCESS read-write
                STATUS current
                DESCRIPTION
                        "The status of a filehandle

                         notused - Get: The filehandle has not been used during the last 24 hours
                                   Set: Not possible
                         start - Get: Not possible
                                 Set: Start filetransfer
                         stop - Get: Not possible
                                Set: Stop filetransfer in progress
                         destroy - Get: Not possible
                                   Set: Remove source and destination entries for filehandle
                         init - Get: Filtransfer started
                                Set: Not possible
                         inprogress - Get: Filetransfer in progress
                                      Set: Not possible
                         failed - Get: A failure occured during last filetransfer
                                  Set: Not possible
                         finished - Get: The file was successfully transferred and stored 
                                    Set: not possible
                        "
                ::= { wsCopyEntry 4 }

wsCopyError	OBJECT-TYPE
                SYNTAX DisplayString (SIZE (0..255))
                MAX-ACCESS read-only
                STATUS current
                DESCRIPTION
                        "A textual description of the filehandle last
                         error status. If the filehandle does not exist or
                         has not been used for the last 24 hours, a 'No Error'
                         message is returned."
                ::= { wsCopyEntry 5 }


END