-- ZyXEL Communications Corporation
-- Private Enterprise MIB definition 
  
-- This file describes the ZyXEL Communications Corporation Enterprise MIB.
-- It contains ZyXEL products OIDs, and common managed objects.

-- ZYXEL-QUEUING-METHOD-MIB.mib
-- Revision 1.7  2013/12/06 

ZYXEL-QUEUING-METHOD-MIB DEFINITIONS ::= BEGIN

    IMPORTS
	OBJECT-TYPE
		FROM SNMPv2-SMI			-- RFC2578	
		
	MODULE-IDENTITY
		FROM SNMPv2-SMI

	dot1dBasePort
       	FROM BRIDGE-MIB

	esMgmt			
		FROM ZYXEL-ES-SMI;

	zyxelQueuingMethod MODULE-IDENTITY
		LAST-UPDATED	"201207010000Z"    
		ORGANIZATION "Enterprise Solution ZyXEL"     
		CONTACT-INFO
			""	   
		DESCRIPTION
			"The subtree for queuing method"
		::= { esMgmt 70 }
		
	zyxelQueuingMethodSetup OBJECT IDENTIFIER ::= { zyxelQueuingMethod 1 }
	                                                                      
	  
-- *******************************************************************
-- *
-- * zyxelQueuingMethodSetup
-- *
-- *******************************************************************

--  zyxelQueuingMethodPortTable
        zyxelQueuingMethodPortTable OBJECT-TYPE
        SYNTAX	SEQUENCE OF ZyxelQueuingMethodPortEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                 	"The table contains queuing method outgoing port configuration. "
        ::= { zyxelQueuingMethodSetup 1 }
        
		zyxelQueuingMethodPortEntry OBJECT-TYPE
        SYNTAX	ZyxelQueuingMethodPortEntry
        MAX-ACCESS	not-accessible
        STATUS	current
        DESCRIPTION    	
					"An entry contains queuing method outgoing port configuration."
        INDEX          	{ dot1dBasePort, zyQueuingMethodPortQueue }
        ::= {zyxelQueuingMethodPortTable 1}

        ZyxelQueuingMethodPortEntry ::=
           SEQUENCE {
        	zyQueuingMethodPortQueue	INTEGER,
        	zyQueuingMethodPortWeight	INTEGER,
        	zyQueuingMethodPortMode		INTEGER
           }

        zyQueuingMethodPortQueue OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
			"Number of queue(0...7) for the specified port."
        ::= { zyxelQueuingMethodPortEntry 1 }

        zyQueuingMethodPortWeight OBJECT-TYPE
        SYNTAX  INTEGER
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
			"Set weight (0...15) of Queue. Bandwidth is divided across the different traffic queues according to 
			their weights. Queue with larger weight get more service than queues with smaller weights. "
        ::= { zyxelQueuingMethodPortEntry 2 }
 
        zyQueuingMethodPortMode OBJECT-TYPE
        SYNTAX  INTEGER {
        	strictlyPriority(0),
        	weightedFairScheduling(1),
        	weightedRoundRobin(2)
        }
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
			"Select SPQ(Strictly Priority Queuing), WFQ(Weighted Fair Queuing), or WRR (Weighted Round Robin) 
			for the specified port."
        ::= { zyxelQueuingMethodPortEntry 3 }

-- zyxelQueuingMethodHybridSpqPortTable
        zyxelQueuingMethodHybridSpqPortTable OBJECT-TYPE
        SYNTAX	SEQUENCE OF	ZyxelQueuingMethodHybridSpqPortEntry
        MAX-ACCESS  not-accessible
        STATUS  current
        DESCRIPTION
                 	"The table contains queuing method hybird-SPQ outgoing port configuration. "
        ::= { zyxelQueuingMethodSetup 2 }
        
		zyxelQueuingMethodHybridSpqPortEntry OBJECT-TYPE
        SYNTAX	ZyxelQueuingMethodHybridSpqPortEntry
        MAX-ACCESS	not-accessible
        STATUS	current
        DESCRIPTION    	
					"An entry contains queuing method hybird-SPQ outgoing port configuration."
        INDEX          	{ dot1dBasePort }
        ::= { zyxelQueuingMethodHybridSpqPortTable 1 }

        ZyxelQueuingMethodHybridSpqPortEntry ::=
           SEQUENCE {
        		zyQueuingMethodHybridSpqPortQueue	INTEGER
           }    
                  
        zyQueuingMethodHybridSpqPortQueue	OBJECT-TYPE
        SYNTAX  INTEGER {
        	none(0),
        	q0(1),
        	q1(2),
        	q2(3),
        	q3(4),
        	q4(5),
        	q5(6),
        	q6(7),
        	q7(8)
        }
        MAX-ACCESS  read-write
        STATUS  current
        DESCRIPTION
			"This is applicable only when you select WFQ or WRR. Select a queue to have the switch use SPQ to 
			service the subsequent queue after and including the specified queue.This is applicable only when  
			you select WFQ or WRR."
        ::= { zyxelQueuingMethodHybridSpqPortEntry 1 }

END 
