-- This file was included in WWP MIB release 04-07-01-0008
 --
 -- WWP-LEOS-PBT-MIB.my
 --
 --

 WWP-LEOS-PBT-MIB DEFINITIONS ::= BEGIN

 IMPORTS                
   TimeTicks, Integer32, Unsigned32, OBJECT-TYPE, MODULE-IDENTITY                       
        FROM SNMPv2-SMI                 
   TruthValue, DisplayString, MacAddress, TEXTUAL-CONVENTION, RowStatus                 
        FROM SNMPv2-TC
   AddressFamilyNumbers
            FROM IANA-ADDRESS-FAMILY-NUMBERS-MIB
   wwpLeosVplsEncapTunnelId, wwpLeosVplsEncapTunnelName
   			FROM WWP-LEOS-VPLS-MIB     
   wwpModulesLeos           
        FROM WWP-SMI;
                    
 wwpLeosPbtMIB MODULE-IDENTITY
            LAST-UPDATED "200608251700Z"
            ORGANIZATION "Ciena, Inc"
            CONTACT-INFO
                    "   Mib Meister
		  			115 North Sullivan Road
					Spokane Valley, WA 99037
		        	USA		 		
		        	Phone:  +1 509 242 9000
					Email:  support@ciena.com"
            DESCRIPTION
                    "This MIB module defines the managed objects for the PBT 
                     (Provider Backbone Transport) feature for LEOS based WWP products."  
            REVISION    "200608251700Z"
            DESCRIPTION
                    "Initial creation." 
            REVISION    "200703021700Z"
            DESCRIPTION
                    "Added wwpLeosPbtTunnelReversionState and wwpLeosPbtTunnelReversionHoldTime." 
            ::= { wwpModulesLeos 38 }

 --
 -- Node definitions
 --
 wwpLeosPbtMIBObjects OBJECT IDENTIFIER ::= { wwpLeosPbtMIB 1 }
 wwpLeosPbt  OBJECT IDENTIFIER ::= { wwpLeosPbtMIBObjects 1 } 
  
 -- Notifications   
 wwpLeosPbtMIBNotificationPrefix  OBJECT IDENTIFIER ::=  { wwpLeosPbtMIB 2 } 
 wwpLeosPbtMIBNotifications       OBJECT IDENTIFIER ::=  { wwpLeosPbtMIBNotificationPrefix 0 }

 -- Conformance information  
 wwpLeosPbtMIBConformance OBJECT IDENTIFIER ::= { wwpLeosPbtMIB 3 } 
 wwpLeosPbtMIBCompliances OBJECT IDENTIFIER ::= { wwpLeosPbtMIBConformance 1 }                
 wwpLeosPbtMIBGroups      OBJECT IDENTIFIER ::= { wwpLeosPbtMIBConformance 2 } 

 --
 -- Pbt Global Attrs
 --                                                           
 wwpLeosPbtGlobalAttrs  OBJECT IDENTIFIER ::= { wwpLeosPbt 1 } 
 
 wwpLeosPbtBridgeMac OBJECT-TYPE
     SYNTAX      MacAddress
     MAX-ACCESS  read-write
     STATUS      current
     DESCRIPTION
        "This represents the provider mac address to be used as source mac during PBT encapsulation.
         If this object is not set then it will return default mac derived from chassis mac."
     ::= { wwpLeosPbtGlobalAttrs 1 }
 
 wwpLeosPbtServiceTagEType OBJECT-TYPE
     SYNTAX      OCTET STRING (SIZE(1..2))
     MAX-ACCESS  read-write
     STATUS      current
     DESCRIPTION
        "This represents the etype value to be used in I-Tag (Service tag) section of PBT encapsulation."
     ::= { wwpLeosPbtGlobalAttrs 2 }
 
 wwpLeosPbtTunnelTagEtype OBJECT-TYPE
     SYNTAX      OCTET STRING (SIZE(1..2))
     MAX-ACCESS  read-write
     STATUS      current
     DESCRIPTION
        "This represents the etype value to be used in B-Tag section of PBT encapsulation."
     ::= { wwpLeosPbtGlobalAttrs 3 }                                     
                               
 wwpLeosPbtTunnelReversionState OBJECT-TYPE
     SYNTAX      INTEGER {
     				enabled(1),
     				disabled(2)
     			 }     			 
     MAX-ACCESS  read-write
     STATUS      current
     DESCRIPTION
        "Setting this object will enable or disable automatic tunnel reversion from backup to primary
         if primary comes back up. Device will wait for wwpLeosPbtTunnelReversionHoldTime before switching
         that data traffic back to primary automatically."  
     DEFVAL     {disabled}
     ::= { wwpLeosPbtGlobalAttrs 4 } 
     
 wwpLeosPbtTunnelReversionHoldTime OBJECT-TYPE
     SYNTAX      Unsigned32
     UNITS       "milliseconds"
     MAX-ACCESS  read-write
     STATUS      current     
     DESCRIPTION
        "This object represents the hold time before data traffic on backup tunnel will automatically 
         switch over to primary tunnel."
     DEFVAL     {3000}     
     ::= { wwpLeosPbtGlobalAttrs 5 } 
     
 --
 -- PBT host name to mac table
 -- 
 wwpLeosPbtBridgeNameMacMapTable OBJECT-TYPE
     SYNTAX     SEQUENCE OF WwpLeosPbtBridgeNameMacMapEntry
     MAX-ACCESS not-accessible
     STATUS     current
     DESCRIPTION
            "The (conceptual) table listing the host names to mac mapping table.
             To create entry in this table use SNMP multiple set operation.
             -  wwpLeosPbtHostNameMacMapHostName must be specified.
             -  wwpLeosPbtHostNameMacMapMacAddr must be specified.
             -  wwpLeosPbtHostNameMacMapRowStatus must be  specified.
             "
     ::= { wwpLeosPbt 2 }
     
 wwpLeosPbtBridgeNameMacMapEntry  OBJECT-TYPE
     SYNTAX       WwpLeosPbtBridgeNameMacMapEntry
     MAX-ACCESS   not-accessible
     STATUS       current
     DESCRIPTION
             "The host name to mac address table entry indexed by wwpLeosPbtBridgeNameMacMapIndex."
     INDEX { wwpLeosPbtBridgeNameMacMapIndex }
     ::= { wwpLeosPbtBridgeNameMacMapTable 1 }
     
 WwpLeosPbtBridgeNameMacMapEntry ::=  SEQUENCE {
     wwpLeosPbtBridgeNameMacMapIndex                     INTEGER,
     wwpLeosPbtBridgeNameMacMapBridgeName                  DisplayString,
     wwpLeosPbtBridgeNameMacMapMacAddr                   MacAddress,
     wwpLeosPbtBridgeNameMacMapUseCount				   Counter32,
     wwpLeosPbtBridgeNameMacMapRowStatus                 RowStatus
 }
 
 wwpLeosPbtBridgeNameMacMapIndex OBJECT-TYPE
     SYNTAX      INTEGER (1..64)
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the unique index in the table."
     ::= { wwpLeosPbtBridgeNameMacMapEntry 1 }
  
 wwpLeosPbtBridgeNameMacMapBridgeName OBJECT-TYPE
     SYNTAX      DisplayString (SIZE (1..15))
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the host name of the provider edge device.
         This object is not allowed to be modified."
     ::= { wwpLeosPbtBridgeNameMacMapEntry 2 }
  
 wwpLeosPbtBridgeNameMacMapMacAddr OBJECT-TYPE
     SYNTAX      MacAddress
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the mac address of the provider edge device.
         This object is not allowed to be modified."
     ::= { wwpLeosPbtBridgeNameMacMapEntry 3 }
 
 wwpLeosPbtBridgeNameMacMapUseCount OBJECT-TYPE
     SYNTAX      Counter32
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This object specifies the total number of encap tunnels using this entry."
     ::= { wwpLeosPbtBridgeNameMacMapEntry 4 }
     
 wwpLeosPbtBridgeNameMacMapRowStatus OBJECT-TYPE
     SYNTAX      RowStatus
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "Setting this object to 'createAndGo' will create the entry 
         in the table.       
         Setting this object to 'destroy' will delete the entry
         from the table."
     ::= { wwpLeosPbtBridgeNameMacMapEntry 5 }
 
  --
  -- BVID Reservation
  wwpLeosPbtReservedBVIDTable OBJECT-TYPE
     SYNTAX     SEQUENCE OF WwpLeosPbtReservedBVIDEntry
     MAX-ACCESS not-accessible
     STATUS     current
     DESCRIPTION
            "The (conceptual) table listing the BVID vlans reserved for provider backbone bridge tunnels."
     ::= { wwpLeosPbt 3 }
     
 wwpLeosPbtReservedBVIDEntry  OBJECT-TYPE
     SYNTAX       WwpLeosPbtReservedBVIDEntry
     MAX-ACCESS   not-accessible
     STATUS       current
     DESCRIPTION
             "The entry to reserve BVID vlans vlans for provider backbone bridge tunnels."
     INDEX {wwpLeosPbtReservedBVID}
     ::= { wwpLeosPbtReservedBVIDTable 1 }
     
 WwpLeosPbtReservedBVIDEntry ::=  SEQUENCE { 
     wwpLeosPbtReservedBVID          Integer32,
     wwpLeosPbtReservedBVIDRowStatus    RowStatus
 }

 wwpLeosPbtReservedBVID OBJECT-TYPE
     SYNTAX      Integer32 (2..4094)
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This object is used to specify the VLAN ID to be reserved for PBT tunnels. "
     ::= { wwpLeosPbtReservedBVIDEntry 1 }

 wwpLeosPbtReservedBVIDRowStatus OBJECT-TYPE
     SYNTAX      RowStatus
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "Setting this object to 'createandgo' will reserve the BVID VLAN
         for provider backbone bridge tunnels.
         Setting this object to 'destroy will no longer have BVID VLAN
         reserved for the virtual switch."
     ::= { wwpLeosPbtReservedBVIDEntry 2 }                              
 
 --
 -- Virtual circuit pbt table
 -- 
 wwpLeosPbtVirtualCircuitTable OBJECT-TYPE
     SYNTAX     SEQUENCE OF WwpLeosPbtVirtualCircuitEntry
     MAX-ACCESS not-accessible
     STATUS     current
     DESCRIPTION
            "The (conceptual) table listing the virtual circuit mac in mac table.
             To create entry use SNMP multiple set operation because following mib objects 
             needs to be set when creating entry in the table.
             - wwpLeosPbtVirtualCircuitName must be specified.             
             - wwpLeosPbtVirtualCircuitIngressISID must be specified.
             - wwpLeosPbtVirtualCircuitEgressISID must be specified.             
             - wwpLeosPbtVirtualCircuitRowStatus must be specified."
     ::= { wwpLeosPbt 4 }
     
 wwpLeosPbtVirtualCircuitEntry  OBJECT-TYPE
     SYNTAX       WwpLeosPbtVirtualCircuitEntry
     MAX-ACCESS   not-accessible
     STATUS       current
     DESCRIPTION
             "The virtual circuit table entry index by wwpLeosPbtVirtualCircuitIndex."
     INDEX { wwpLeosPbtVirtualCircuitIndex }
     ::= { wwpLeosPbtVirtualCircuitTable 1 }
     
 WwpLeosPbtVirtualCircuitEntry ::=  SEQUENCE {
     wwpLeosPbtVirtualCircuitIndex                         INTEGER,                
     wwpLeosPbtVirtualCircuitName                          DisplayString,     
     wwpLeosPbtVirtualCircuitFixedEncapTunnelId              Integer32,     
     wwpLeosPbtVirtualCircuitDestBridgeIndex               Integer32,     
     wwpLeosPbtVirtualCircuitIngressISID                   Integer32,
     wwpLeosPbtVirtualCircuitEgressISID                    Integer32,      
     wwpLeosPbtVirtualCircuitOperState					   INTEGER,
     wwpLeosPbtVirtualCircuitEncapTunnelIdInUse            Integer32,     
     wwpLeosPbtVirtualCircuitRowStatus                	   RowStatus,     
     wwpLeosPbtVirtualCircuitRetainSTAG                    TruthValue      
 }
 
 wwpLeosPbtVirtualCircuitIndex OBJECT-TYPE
     SYNTAX      INTEGER (1..65535)
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the virtual circuit mac in mac index in the table.
         This number should be unique in the table."
     ::= { wwpLeosPbtVirtualCircuitEntry 1 }
 
 wwpLeosPbtVirtualCircuitName OBJECT-TYPE
     SYNTAX      DisplayString (SIZE (1..15))
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the name of the mac in mac virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitEntry 2 } 
 
 wwpLeosPbtVirtualCircuitFixedEncapTunnelId OBJECT-TYPE
     SYNTAX      Integer32 
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the fixed tunnel this virtual circuit should be mapped to."
     ::= { wwpLeosPbtVirtualCircuitEntry 3 }         

 wwpLeosPbtVirtualCircuitDestBridgeIndex OBJECT-TYPE
     SYNTAX      Integer32 (0..64)
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the provider destination host name used for this tunnel.
         This must be set to one of the value specified by wwpLeosPbtBridgeNameMacMapIndex.
         if set to 0, device will interpret it as not specified."
     ::= { wwpLeosPbtVirtualCircuitEntry 4 }
  
  wwpLeosPbtVirtualCircuitIngressISID OBJECT-TYPE
     SYNTAX      Integer32 (1..16777215)
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the ingress ISID associated with the virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitEntry 5 }
  
  wwpLeosPbtVirtualCircuitEgressISID OBJECT-TYPE
     SYNTAX      Integer32 (1..16777215)
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "This represents the egress ISID associated with the virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitEntry 6 }  
  
  wwpLeosPbtVirtualCircuitOperState OBJECT-TYPE
     SYNTAX      INTEGER {
     				disabled(1),
     				enabled(2)     				
     			}
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the operational state of this virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitEntry 7 }
  
  wwpLeosPbtVirtualCircuitEncapTunnelIdInUse OBJECT-TYPE
     SYNTAX      Integer32 
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the tunnels ID of the active tunnel this virtual circuit is currently using. 
         This tunnel can be primary of backup tunnel."
     ::= { wwpLeosPbtVirtualCircuitEntry 8 }

  wwpLeosPbtVirtualCircuitRowStatus OBJECT-TYPE
     SYNTAX      RowStatus
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "Used to manage the creation and deletion of the 
             conceptual rows in this table.
             To create a row in this table, a manager must
             set this object to 'createAndGo'. To delete a row in this
             table, a manager must set this object to 'destroy'
             If the entry exists, it will be displayed as 'active'."
     ::= { wwpLeosPbtVirtualCircuitEntry 9 }
   
  wwpLeosPbtVirtualCircuitRetainSTAG OBJECT-TYPE
     SYNTAX      TruthValue
     MAX-ACCESS  read-create
     STATUS      current
     DESCRIPTION
        "When operating in PBT mode, writing TRUE(1)
         to this object forces this vc to retain the S-Tag.
         When FALSE(0) is written, the S-Tag will be popped
         on egress and push the tag on ingress."
     ::= { wwpLeosPbtVirtualCircuitEntry 10 }  
  
 --
 -- PBT VC stats
 wwpLeosPbtVirtualCircuitStatsTable OBJECT-TYPE
     SYNTAX     SEQUENCE OF WwpLeosPbtVirtualCircuitStatsEntry
     MAX-ACCESS not-accessible
     STATUS     current
     DESCRIPTION
            "The (conceptual) table listing the mpls virtual circuit stats
             table."
     ::= { wwpLeosPbt 5 }
     
 wwpLeosPbtVirtualCircuitStatsEntry  OBJECT-TYPE
     SYNTAX       WwpLeosPbtVirtualCircuitStatsEntry
     MAX-ACCESS   not-accessible
     STATUS       current
     DESCRIPTION
             "The mpls virtual circuit stats table entry index by 
              wwpLeosPbtVirtualCircuitMplsIndex."
     INDEX { wwpLeosPbtVirtualCircuitIndex }
     ::= { wwpLeosPbtVirtualCircuitStatsTable 1 }
     
 WwpLeosPbtVirtualCircuitStatsEntry ::=  SEQUENCE {   
         wwpLeosPbtVirtualCircuitTxBytesHi Counter32,
         wwpLeosPbtVirtualCircuitTxBytesLo Counter32,    
         wwpLeosPbtVirtualCircuitRxBytesHi Counter32,
         wwpLeosPbtVirtualCircuitRxBytesLo Counter32
 }
 
 wwpLeosPbtVirtualCircuitTxBytesHi OBJECT-TYPE
     SYNTAX      Counter32
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the total number of higher 32 bits transmitted for 
         given virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitStatsEntry 1 }
     
 wwpLeosPbtVirtualCircuitTxBytesLo OBJECT-TYPE
     SYNTAX      Counter32
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the total number of lower 32 bits transmitted for 
         given virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitStatsEntry 2 }
      
 wwpLeosPbtVirtualCircuitRxBytesHi OBJECT-TYPE
     SYNTAX      Counter32
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the total number of higher 32 bits received for 
         given mpls virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitStatsEntry 3 }
     
 wwpLeosPbtVirtualCircuitRxBytesLo OBJECT-TYPE
     SYNTAX      Counter32
     MAX-ACCESS  read-only
     STATUS      current
     DESCRIPTION
        "This represents the total number of lower 32 bits received for 
         given virtual circuit."
     ::= { wwpLeosPbtVirtualCircuitStatsEntry 4 }
        
  --
  -- Notification
  --   
  wwpLeosPbtTunnelFaultNotification NOTIFICATION-TYPE
	OBJECTS	{
				wwpLeosVplsEncapTunnelId								
            }
	STATUS	current
	DESCRIPTION
		"This notification is sent every time the tunnel becomes operationally down." 
	::= { wwpLeosPbtMIBNotifications 1 }                               
 
 wwpLeosPbtTunnelReversionNotification NOTIFICATION-TYPE
	OBJECTS	{
				wwpLeosVplsEncapTunnelId,
				wwpLeosVplsEncapTunnelName				
            }
	STATUS	current
	DESCRIPTION
		"This notification is sent every time backup tunnel reverts back to primary tunnel,
		once primary tunnel comes up. Var binding wwpLeosVplsEncapTunnelId represents the primary tunnel ID." 
	::= { wwpLeosPbtMIBNotifications 2 }                               
     
                
 --
 -- Groups definition
 --   
 pbtGlobalConfigGroup    OBJECT-GROUP
       OBJECTS { wwpLeosPbtBridgeMac, wwpLeosPbtServiceTagEType, wwpLeosPbtTunnelTagEtype, 
                 wwpLeosPbtTunnelReversionState, wwpLeosPbtTunnelReversionHoldTime }
       STATUS  current
       DESCRIPTION
               "A collection of objects providing information
               applicable global PBT confoguration."
       ::= { wwpLeosPbtMIBGroups 1 }


 pbtBridgeNameMacMapGroup    OBJECT-GROUP
       OBJECTS { wwpLeosPbtBridgeNameMacMapIndex, wwpLeosPbtBridgeNameMacMapBridgeName, wwpLeosPbtBridgeNameMacMapMacAddr, wwpLeosPbtBridgeNameMacMapUseCount, wwpLeosPbtBridgeNameMacMapRowStatus }
       STATUS  current
       DESCRIPTION
               "A collection of objects providing information
               applicable to BridgeName to mac mapping."
       ::= { wwpLeosPbtMIBGroups 2 } 
       
 pbtReserveBvidGroup    OBJECT-GROUP
       OBJECTS { wwpLeosPbtReservedBVID, wwpLeosPbtReservedBVIDRowStatus }
       STATUS  current
       DESCRIPTION
               "A collection of objects providing information
               applicable to BVID reservation."
       ::= { wwpLeosPbtMIBGroups 3 }
 
 pbtVirtualCircuitGroup    OBJECT-GROUP
       OBJECTS { wwpLeosPbtVirtualCircuitIndex, wwpLeosPbtVirtualCircuitName, wwpLeosPbtVirtualCircuitFixedEncapTunnelId,
                 wwpLeosPbtVirtualCircuitDestBridgeIndex, wwpLeosPbtVirtualCircuitIngressISID, wwpLeosPbtVirtualCircuitEgressISID, 
                              wwpLeosPbtVirtualCircuitOperState, wwpLeosPbtVirtualCircuitEncapTunnelIdInUse, wwpLeosPbtVirtualCircuitRowStatus}
       STATUS  current
       DESCRIPTION
               "A collection of objects providing information
               applicable to PBT virtual circuit configuration."
       ::= { wwpLeosPbtMIBGroups 4 }
 
 pbtVirtualCircuitStatsGroup    OBJECT-GROUP
       OBJECTS { wwpLeosPbtVirtualCircuitTxBytesHi, wwpLeosPbtVirtualCircuitTxBytesLo, wwpLeosPbtVirtualCircuitRxBytesHi, wwpLeosPbtVirtualCircuitRxBytesLo }
       STATUS  current
       DESCRIPTION
               "A collection of objects providing information
               applicable to virtual circuit stats group."
       ::= { wwpLeosPbtMIBGroups 5 }
 
  pbtNotificationGroups NOTIFICATION-GROUP
  	   NOTIFICATIONS { wwpLeosPbtTunnelFaultNotification }
       STATUS        current
       DESCRIPTION
            "Contains Notification supported for PBT."
       ::= { wwpLeosPbtMIBGroups 6 }
       
 END














































































































































































































































