TIMERANGE-MIB DEFINITIONS ::= BEGIN -- Quanta Computer Inc. Time Range MIB -- Copyright Quanta Computer Inc. (2009) All rights reserved. -- This SNMP Management Information Specification -- embodies Quanta Computer Inc.'s confidential and proprietary -- intellectual property. Quanta Computer Inc. retains all title -- and ownership in the Specification including any revisions. -- This Specification is supplied "AS IS", Quanta Computer Inc. -- makes no warranty, either expressed or implied, -- as to the use, operation, condition, or performance of the -- Specification. IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32 FROM SNMPv2-SMI Unsigned32 FROM SNMPv2-SMI DisplayString FROM RFC1213-MIB RowStatus FROM SNMPv2-TC TEXTUAL-CONVENTION FROM SNMPv2-TC switch FROM QUANTA-SWITCH-MIB; timeRange MODULE-IDENTITY LAST-UPDATED "201108310000Z" -- 26 January 2011 12:00:00 GMT ORGANIZATION "QCI" CONTACT-INFO " Customer Support Postal: Quanta Computer Inc. 4, Wen Ming 1 St., Kuei Shan Hsiang, Tao Yuan Shien, Taiwan, R.O.C. Tel: +886 3 328 0050 E-Mail: strong.chen@quantatw.com" DESCRIPTION "The Quanta Private MIB for Time Ranges" ::= { switch 53 } timeRangeGroup OBJECT IDENTIFIER ::= {timeRange 1} --************************************************************************************** TimeRangeAbsoluteDateAndTime ::= TEXTUAL-CONVENTION DISPLAY-HINT "2d-1d-1d,1d:1d" STATUS current DESCRIPTION "A date-time specification for absolute time entry in a time range. field octets contents range ----- ------ -------- ----- 1 1-2 year 0..65536 2 3 month 1..12 3 4 day 1..31 4 5 hour 0..23 5 6 minutes 0..59 For example, Oct 9, 2009 at 1:30 PM would be displayed as: 2009-10-9,13:30." SYNTAX OCTET STRING (SIZE (6)) TimeRangePeriodicTime ::= TEXTUAL-CONVENTION DISPLAY-HINT "1d:1d" STATUS current DESCRIPTION "A time specification for periodic time entry in a time range. field octets contents range ----- ------ -------- ----- 1 1 hour 0..23 1 1 minutes 0..59 For example,1:30 PM would be displayed as: 13:30." SYNTAX OCTET STRING (SIZE (2)) timeRangeIndexNextFree OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "This object contains an unused value for the timeRangeIndex to be used when creating a new TimeRange. A value of zero indicates the TimeRange table is full." ::= { timeRangeGroup 1 } --************************************************************************************** timeRangeTable OBJECT-TYPE SYNTAX SEQUENCE OF TimeRangeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of TimeRange instances." ::= { timeRangeGroup 2 } timeRangeEntry OBJECT-TYPE SYNTAX TimeRangeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "timeRangeIndex and timeRangeName must be set to complete a new timeRangeEntry instance" INDEX { timeRangeIndex } ::= { timeRangeTable 1 } TimeRangeEntry ::= SEQUENCE { timeRangeIndex Unsigned32, timeRangeName DisplayString, timeRangeOperState INTEGER, timeRangeStatus RowStatus } timeRangeIndex OBJECT-TYPE SYNTAX Unsigned32 MAX-ACCESS not-accessible STATUS current DESCRIPTION "The TimeRange table index this instance is associated with." ::= { timeRangeEntry 1 } timeRangeName OBJECT-TYPE SYNTAX DisplayString (SIZE(1..31)) MAX-ACCESS read-create STATUS current DESCRIPTION "The name of this TimeRange entry, which must consist of 1 to 31 alphanumeric characters and uniquely identify this TimeRange. This object must be set to complete a new TimeRange row instance." ::= { timeRangeEntry 2 } timeRangeOperState OBJECT-TYPE SYNTAX INTEGER { active(0), inactive(1) } MAX-ACCESS read-only STATUS current DESCRIPTION "Operating status of the time-range. It depends on the current time and the periodic and absolute time entries defined in the time-range" ::= { timeRangeEntry 3 } timeRangeStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Status of this instance. active(1) - this TimeRange instance is active createAndGo(4) - set to this value to create an instance destroy(6) - set to this value to delete an instance" ::= { timeRangeEntry 4 } --************************************************************************************** --************************************************************************************** -- Time Range Entry tables -- --************************************************************************************** timeRangeAbsoluteEntryTable OBJECT-TYPE SYNTAX SEQUENCE OF TimeRangeAbsoluteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of absolute entries for time ranges" ::= { timeRangeGroup 3 } timeRangeAbsoluteEntry OBJECT-TYPE SYNTAX TimeRangeAbsoluteEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of absolute entries for time ranges. Atleast one of timeRangeAbsoluteStartDateAndTime and timeRangeAbsoluteEndDateAndTime must be set to complete a new Absolute entry instance." INDEX { timeRangeIndex, timeRangeAbsoluteEntryIndex } ::= { timeRangeAbsoluteEntryTable 1 } TimeRangeAbsoluteEntry ::= SEQUENCE { timeRangeAbsoluteEntryIndex Integer32, timeRangeAbsoluteStartDateAndTime TimeRangeAbsoluteDateAndTime, timeRangeAbsoluteEndDateAndTime TimeRangeAbsoluteDateAndTime, timeRangeAbsoluteStatus RowStatus } timeRangeAbsoluteEntryIndex OBJECT-TYPE SYNTAX Integer32 (0..10) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index of this absolute time entry within time range." ::= { timeRangeAbsoluteEntry 1 } timeRangeAbsoluteStartDateAndTime OBJECT-TYPE SYNTAX TimeRangeAbsoluteDateAndTime MAX-ACCESS read-create STATUS current DESCRIPTION "The start time for an absolute entry in the time range" ::= { timeRangeAbsoluteEntry 2 } timeRangeAbsoluteEndDateAndTime OBJECT-TYPE SYNTAX TimeRangeAbsoluteDateAndTime MAX-ACCESS read-create STATUS current DESCRIPTION " The end time for an absolute entry in the time range." ::= { timeRangeAbsoluteEntry 3 } timeRangeAbsoluteStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Status of this instance. active(1) - this timeRangeAbsoluteEntry is active createAndGo(4) - set to this value to create an instance destroy(6) - set to this value to delete an instance" ::= { timeRangeAbsoluteEntry 4} timeRangePeriodicEntryTable OBJECT-TYPE SYNTAX SEQUENCE OF TimeRangePeriodicEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table periodic entries for time ranges" ::= { timeRangeGroup 4 } timeRangePeriodicEntry OBJECT-TYPE SYNTAX TimeRangePeriodicEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table periodic entries for time ranges. All the objects in the periodic entry must be set to complete a new periodic entry instance. Objects timeRangePeriodicStartDay and timeRangePeriodicStartTime together forms the start dayandtime and objects timeRangePeriodicEndDay and timeRangePeriodicEndTime toghetehr forms end dayandtime. The time range to which the periodic entry belongs is active between start dayandtime and end dayandtime. If more than one day is specified in the timeRangePeriodicStartDay, then the same days should be specified in the timeRangePeriodicEndDay " INDEX {timeRangeIndex, timeRangePeriodicEntryIndex} ::= { timeRangePeriodicEntryTable 1 } TimeRangePeriodicEntry ::= SEQUENCE { timeRangePeriodicEntryIndex Integer32, timeRangePeriodicStartDay BITS, timeRangePeriodicStartTime TimeRangePeriodicTime, timeRangePeriodicEndDay BITS, timeRangePeriodicEndTime TimeRangePeriodicTime, timeRangePeriodicStatus RowStatus } timeRangePeriodicEntryIndex OBJECT-TYPE SYNTAX Integer32 (0..10) MAX-ACCESS not-accessible STATUS current DESCRIPTION "The index of this periodic entry within time range." ::= { timeRangePeriodicEntry 1 } timeRangePeriodicStartDay OBJECT-TYPE SYNTAX BITS { sunday(1), monday(2), tuesday(3), wednesday(4), thursday(5), friday(6), saturday(7) } MAX-ACCESS read-create STATUS current DESCRIPTION "The starting day or days on which the configuration that referenced the time range starts going into effect. Same day can be set for both timeRangePeriodicStartDay and timeRangePeriodicEndDay objects " ::= { timeRangePeriodicEntry 2 } timeRangePeriodicStartTime OBJECT-TYPE SYNTAX TimeRangePeriodicTime MAX-ACCESS read-create STATUS current DESCRIPTION "The starting time for an periodic entry in the time range." ::= { timeRangePeriodicEntry 3} timeRangePeriodicEndDay OBJECT-TYPE SYNTAX BITS { sunday(1), monday(2), tuesday(3), wednesday(4), thursday(5), friday(6), saturday(7) } MAX-ACCESS read-create STATUS current DESCRIPTION "The ending day or days on which the configuration that referenced the time range is no longer in efect. Same day can be set for both timeRangePeriodicStartDay and timeRangePeriodicEndDay objects" ::= { timeRangePeriodicEntry 4} timeRangePeriodicEndTime OBJECT-TYPE SYNTAX TimeRangePeriodicTime MAX-ACCESS read-create STATUS current DESCRIPTION "The end time for an periodic entry in the time range." ::= { timeRangePeriodicEntry 5} timeRangePeriodicStatus OBJECT-TYPE SYNTAX RowStatus MAX-ACCESS read-create STATUS current DESCRIPTION "Status of this instance. active(1) - this timeRangePeriodicEntry is active createAndGo(4) - set to this value to create an instance destroy(6) - set to this value to delete an instance" ::= { timeRangePeriodicEntry 6} END