summaryrefslogtreecommitdiff
path: root/MIBS/dlink/DLINKSW-TIME-RANGE-MIB
blob: 8aea2a52fbc812ddaeadab598b1323b95a0af7e1 (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
--  *****************************************************************
--  DLINKSW-TIME-RANGE-MIB.mib : DLINK Time Range MIB
-- 
--  Copyright (c) 2013 D-Link Corporation, all rights reserved.
--   
--  *****************************************************************
DLINKSW-TIME-RANGE-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        MODULE-IDENTITY, OBJECT-TYPE, Unsigned32     
            FROM SNMPv2-SMI        
        RowStatus, DisplayString
            FROM SNMPv2-TC
        MODULE-COMPLIANCE, OBJECT-GROUP
		    FROM SNMPv2-CONF
        dlinkIndustrialCommon            
            FROM DLINK-ID-REC-MIB;

     dlinkSwTimeRangeMIB MODULE-IDENTITY
         LAST-UPDATED "201303220000Z"
         ORGANIZATION "D-Link Corp."
         CONTACT-INFO
            "        D-Link Corporation

             Postal: No. 289, Sinhu 3rd Rd., Neihu District,
                     Taipei City 114, Taiwan, R.O.C
             Tel:     +886-2-66000123
             E-mail: tsd@dlink.com.tw
            "
        DESCRIPTION
            "This MIB defines time range profiles to activate features."
         
        REVISION "201303220000Z"
        DESCRIPTION
            "This is the first version of the MIB file."
         ::= { dlinkIndustrialCommon 50 }


-- -----------------------------------------------------------------------------
    dTimeRangeMIBNotifications   OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 0 }
    dTimeRangeMIBObjects         OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 1 }
    dTimeRangeMIBConformance     OBJECT IDENTIFIER ::= { dlinkSwTimeRangeMIB 2 }

-- -----------------------------------------------------------------------------  
    dTimeRangeProfileTable OBJECT-TYPE
        SYNTAX          SEQUENCE OF DTimeRangeProfileEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
             "A table consists of a list of time range profiles."
        ::= { dTimeRangeMIBObjects 1 }

    dTimeRangeProfileEntry OBJECT-TYPE
        SYNTAX          DTimeRangeProfileEntry
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "An entry contains information of a time range profile."
        INDEX { 
            dTimeRangeProfileName,
            dTimeRangeProfilePeriodType,             
            dTimeRangeProfileStartDayOfWeek,
            dTimeRangeProfileStartHour,
            dTimeRangeProfileStartMinute,
            dTimeRangeProfileEndDayOfWeek,
            dTimeRangeProfileEndHour,
            dTimeRangeProfileEndMinute      
        }
        ::= { dTimeRangeProfileTable 1 }

    DTimeRangeProfileEntry ::=           SEQUENCE {
        dTimeRangeProfileName               DisplayString,      
	    dTimeRangeProfilePeriodType 	    INTEGER,
        dTimeRangeProfileStartDayOfWeek     INTEGER,
        dTimeRangeProfileStartHour          Unsigned32,
        dTimeRangeProfileStartMinute        Unsigned32,
        dTimeRangeProfileEndDayOfWeek       INTEGER,
        dTimeRangeProfileEndHour            Unsigned32,
        dTimeRangeProfileEndMinute          Unsigned32,      
        dTimeRangeProfileRowStatus          RowStatus
    }

    dTimeRangeProfileName           OBJECT-TYPE
        SYNTAX          DisplayString (SIZE (1..32))
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "The time range name of the entry."
        ::= { dTimeRangeProfileEntry 1 }         
           
	dTimeRangeProfilePeriodType OBJECT-TYPE
		SYNTAX	INTEGER {
			daily(1),
			weekly(2)
		}
		MAX-ACCESS	    not-accessible
		STATUS	        current
	    DESCRIPTION
			"This object indicates the type of this entry.
            'daily' - Using the time of day to specify the time range.
            'weekly' - Using the day of the week and time of day to specify 
                      the time range.
            "
		::= { dTimeRangeProfileEntry 2 }

    dTimeRangeProfileStartDayOfWeek          OBJECT-TYPE
        SYNTAX          INTEGER  {
            sunday(1),
            monday(2),
            tuesday(3),
            wednesday(4),
            thursday(5),
            friday(6),
            saturday(7),
            notApplicable(8)
        }       
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This object indicates the start day of week of the entry.
            This object is meaningful when dTimeRangeProfilePeriodType is 'weekly'.
            If dTimeRangeProfilePeriodType is not 'weekly', this object is set
            to 'notApplicable'.        
            "
        ::= { dTimeRangeProfileEntry 3 }
       
    dTimeRangeProfileStartHour OBJECT-TYPE
        SYNTAX          Unsigned32 (0..23)
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This object specifies the hours component of time (24 hour format)
            at which the daily/weekly periodic start time for this entry.
            "
        ::= { dTimeRangeProfileEntry 4 }

    dTimeRangeProfileStartMinute OBJECT-TYPE
        SYNTAX          Unsigned32 (0..59)
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
           "This object specifies the minutes component of time at which
           the daily/weekly periodic start time for this entry.
           "
        ::= { dTimeRangeProfileEntry 5 }
 
   dTimeRangeProfileEndDayOfWeek          OBJECT-TYPE
        SYNTAX          INTEGER  {
            sunday(1),
            monday(2),
            tuesday(3),
            wednesday(4),
            thursday(5),
            friday(6),
            saturday(7),
            notApplicable(8)
        }       
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This object indicates the end day of week of the entry.
            This object is meaningful when dTimeRangeProfilePeriodType is 'weekly'.
            If dTimeRangeProfilePeriodType is not 'weekly', this object is set
            to 'notApplicable'.
            "
        ::= { dTimeRangeProfileEntry 6 }
       
    dTimeRangeProfileEndHour OBJECT-TYPE
        SYNTAX          Unsigned32 (0..23)
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This object specifies the hours component of time (24 hour format)
            at which the daily/weekly periodic start time for this entry.
            "
        ::= { dTimeRangeProfileEntry 7 }

    dTimeRangeProfileEndMinute OBJECT-TYPE
        SYNTAX          Unsigned32 (0..59)
        MAX-ACCESS      not-accessible
        STATUS          current
        DESCRIPTION
            "This object specifies the minutes component of time at which
            the daily/weekly periodic end time for this entry.
            "
        ::= { dTimeRangeProfileEntry 8 }

    dTimeRangeProfileRowStatus OBJECT-TYPE
        SYNTAX          RowStatus
        MAX-ACCESS      read-create
        STATUS          current
        DESCRIPTION
            "This object indicates the RowStatus of this entry."
        ::= { dTimeRangeProfileEntry  9 }

--  ***************************************************************************	
--  Conformance
--  ***************************************************************************			   		
	dTimeRangeCompliances OBJECT IDENTIFIER ::= { dTimeRangeMIBConformance 1 }
		
	dTimeRangeCompliance MODULE-COMPLIANCE
		STATUS current
		DESCRIPTION 
			"The compliance statement for entities which implement the 
			DLINKSW-TIME-RANGE-MIB."
		MODULE -- this module
		MANDATORY-GROUPS { 
            dTimeRangeProfileCfgGroup         
        }	
		
		::= { dTimeRangeCompliances 1 }
		
	dTimeRangeGroups OBJECT IDENTIFIER ::= { dTimeRangeMIBConformance 2 }
	
	dTimeRangeProfileCfgGroup OBJECT-GROUP
		OBJECTS { 
			dTimeRangeProfileRowStatus 
		}
		STATUS current
		DESCRIPTION 
			"A collection of objects providing configuration for time range profiles."
		::= { dTimeRangeGroups 1 }
	   
          
END