-- This file was included in WWP MIB release 04-07-01-0008

 --
 -- WWP-LEOS-SSH-MIB.my
 --                          
 WWP-LEOS-SSH-MIB DEFINITIONS ::= BEGIN

 IMPORTS 		
   Unsigned32, OBJECT-TYPE, MODULE-IDENTITY			
	    FROM SNMPv2-SMI			
   DisplayString, MacAddress, RowStatus, TruthValue, DateAndTime, TEXTUAL-CONVENTION			
	    FROM SNMPv2-TC						
   wwpModules, wwpModulesLeos			
	    FROM WWP-SMI;
		
 wwpLeosSSHMIB MODULE-IDENTITY
	    LAST-UPDATED "200604181700Z"
	    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
		    "The MIB module defines the managed objects for the SSH 
		    available on the WWP specific products."
	    REVISION    "200604181700Z"            
	    DESCRIPTION
		    "Initial creation."
	    ::= { wwpModulesLeos 34 }
						
 --
 -- Node definitions
 --
	
 wwpLeosSSHMIBObjects OBJECT IDENTIFIER ::= { wwpLeosSSHMIB 1 }
 
 -- 
 --
 wwpLeosSSHServerGlobal OBJECT IDENTIFIER ::= { wwpLeosSSHMIBObjects 1 }
 
 wwpLeosSSHServerClient OBJECT IDENTIFIER ::= { wwpLeosSSHMIBObjects 2 }
 
 wwpLeosSSHServerListenerPort OBJECT IDENTIFIER ::= { wwpLeosSSHMIBObjects 3 }


 -- Notifications 
  
 wwpLeosSSHMIBNotificationPrefix  OBJECT IDENTIFIER ::= { wwpLeosSSHMIB 2 } 
 wwpLeosSSHMIBNotifications       OBJECT IDENTIFIER ::=  
                       { wwpLeosSSHMIBNotificationPrefix 0 }

 -- Conformance information 
 
 wwpLeosSSHMIBConformance OBJECT IDENTIFIER ::= { wwpLeosSSHMIB 3 } 
 wwpLeosSSHMIBCompliances OBJECT IDENTIFIER ::= { wwpLeosSSHMIBConformance 1 } 		
 wwpLeosSSHMIBGroups      OBJECT IDENTIFIER ::= { wwpLeosSSHMIBConformance 2 }

 --
 --  The SSH Global Attributes
 --
 wwpLeosSSHServerAdminState          OBJECT-TYPE
     SYNTAX          INTEGER {
     					disabled(1),
     					enabled(2)
     			     }
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "The object indicates the admin global state of SSH server."               
     ::= { wwpLeosSSHServerGlobal 1 }
 
 wwpLeosSSHServerOperState          OBJECT-TYPE
     SYNTAX          INTEGER {
     					disabled(1),
     					enabled(2)
     			     }
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
    	     "The object indicates the operational state of SSH server."               
     ::= { wwpLeosSSHServerGlobal 2 }
     
 wwpLeosSSHServerAuthenticationRetries          OBJECT-TYPE
     SYNTAX          INTEGER (1..3)
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "The object indicates the number of retries SSH server should allow before rejecting the client request." 
     DEFVAL {3}              
     ::= { wwpLeosSSHServerGlobal 3 }

 wwpLeosSSHServerMaxClients          OBJECT-TYPE
     SYNTAX          Integer32
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
    	     "The object indicates the maximum number of clients session SSH server accepts at any given time.
    	      At any given time current number of limited + super users will never exceed the value indicated by 
    	      wwpLeosSSHServerMaxClients."               
    ::= { wwpLeosSSHServerGlobal 4 }

 wwpLeosSSHServerKeyGenerateSet          OBJECT-TYPE
     SYNTAX          TruthValue
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "Setting this object will trigger the device to generate key.
    	      If user optionally wants the public key to be TFTP to some address then
    	      wwpLeosSSHServerTftpServer must be set to valid TFTP server."               
     ::= { wwpLeosSSHServerGlobal 5 }
 
 wwpLeosSSHServerKey          OBJECT-TYPE
     SYNTAX          OCTET STRING (SIZE(0..64))
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
    	     "This MIB object specifies the key that exist on the device."               
     ::= { wwpLeosSSHServerGlobal 6 }
     
 wwpLeosSSHServerKeyStatus          OBJECT-TYPE
     SYNTAX          INTEGER {
     					keyReady(1),
     					keyGenerating(2),
     					keyDoesnotExist(3),
     					keyGenerationFailed(4)     					
     					}
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
    	     "This mib object returns the key status on the device."               
     ::= { wwpLeosSSHServerGlobal 7 }
     
 wwpLeosSSHServerTftpServer          OBJECT-TYPE
     SYNTAX          IpAddress
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "The object indicates the TFTP server where public key would optionally be transmitted to.
    	      Once this object is set device will always use this IP address whenever wwpLeosSSHServerKeyGenerateSet
    	      is set to true. User must set this to 0 if user doesnot want the device to TFTP the public key.
    	      If key generation and TFTP server is not configured through SNMP then this object will always show 0.0.0.0."
     ::= { wwpLeosSSHServerGlobal 8 }
  
 wwpLeosSSHServerMaxLimitedUsers          OBJECT-TYPE
     SYNTAX          INTEGER (0..4)
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "The object indicates the maximum number of limited users SSH server accepts at any given time."               
     DEFVAL			{4}
     ::= { wwpLeosSSHServerGlobal 9 }
     
 wwpLeosSSHServerMaxSuperUsers          OBJECT-TYPE
     SYNTAX          INTEGER (0..5)
     MAX-ACCESS      read-write
     STATUS          current
     DESCRIPTION
    	     "The object indicates the maximum number of super users SSH server accepts at any given time."               
     DEFVAL			{5}
     ::= { wwpLeosSSHServerGlobal 10 }
          
 --
 -- SSH Clients table
 --                                                     
 wwpLeosSSHServerClientTable OBJECT-TYPE
     SYNTAX     SEQUENCE OF WwpLeosSSHServerClientEntry
     MAX-ACCESS not-accessible
     STATUS     current
     DESCRIPTION
            "The (conceptual) table listing the SSH server clients configured.
             To create entry in this table Use SNMP multiple variable binding option.
             wwpLeosSSHServerClientIpAddr must be set to some valid IP.
             wwpLeosSSHServerClientStatus must be set to createAndGo.
             
             To delete entry in this table 
             wwpLeosSSHServerClientStatus must be set to destroy."
    ::= { wwpLeosSSHServerClient 1 }

 wwpLeosSSHServerClientEntry OBJECT-TYPE
    SYNTAX     WwpLeosSSHServerClientEntry
    MAX-ACCESS not-accessible
    STATUS     current
    DESCRIPTION
            "An entry (conceptual row) in the wwpLeosSSHServerClientTable."
    INDEX      { wwpLeosSSHServerClientIndex }
    ::= { wwpLeosSSHServerClientTable 1 }
 
 WwpLeosSSHServerClientEntry ::= SEQUENCE {   
    wwpLeosSSHServerClientIndex         INTEGER,
    wwpLeosSSHServerClientIpAddr        IpAddress, 
    wwpLeosSSHServerClientStatus        RowStatus
 }

 wwpLeosSSHServerClientIndex          OBJECT-TYPE
     SYNTAX          INTEGER (1..100)
     MAX-ACCESS      read-only
     STATUS          current
     DESCRIPTION
    	     "The object indicates the unique index in the table."               
     ::= { wwpLeosSSHServerClientEntry 1 }
 
 wwpLeosSSHServerClientIpAddr   OBJECT-TYPE
     SYNTAX          IpAddress
     MAX-ACCESS      read-create
     STATUS          current
     DESCRIPTION
    	     "The object indicates the IP address of the client that is allowed to connect using SSH.
    	      This object cannot be modified once entry is created with some IP."               
     ::= { wwpLeosSSHServerClientEntry 2 }
  
 wwpLeosSSHServerClientStatus  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 the entry set this to 'destroy'." 
     ::= { wwpLeosSSHServerClientEntry 3 }
 
 --
 -- SSH Server Listener Port Settings
 --                                                     
 wwpLeosSSHServerListenerPortId   OBJECT-TYPE
     SYNTAX          Unsigned32 (22..65535)
     MAX-ACCESS      read-create
     STATUS          current
     DESCRIPTION
    	     "The object indicates the port number on which SSH server is allowed to listen for clients."               
     ::= { wwpLeosSSHServerListenerPort 1 }
 
  END	
 
