VOVIDA-SERVERGRP-MIB DEFINITIONS ::= BEGIN

IMPORTS 
	vovidaSoftSwitch		
		FROM VOVIDA-SMI-MIB
	DisplayString
		FROM SNMPv2-TC
	IpAddress,  Counter32, Integer32, OBJECT-TYPE, MODULE-IDENTITY
		FROM SNMPv2-SMI;

serverGrp MODULE-IDENTITY
    LAST-UPDATED "200003200000Z"
    ORGANIZATION "Vovida Networks"
    CONTACT-INFO    
	 "Primary Author: Tom Maneri
         email:     maneri@cisco.com"

    DESCRIPTION
	"This file defines the Vocal softswitch MIB extensions."
    REVISION	 "200003200000Z"
    DESCRIPTION
	    "Initial revision"
	::= { vovidaSoftSwitch 3 }

--
--  This table provides configuration and statistics on the software
--  servers located within the system
--
serverTable OBJECT-TYPE
        SYNTAX        SEQUENCE OF serverEntry
        MAX-ACCESS    not-accessible
        STATUS        current
        DESCRIPTION   "A list of server entries.  The number of entries is
                      the number of servers in the chassis."
        ::= { serverGrp 1 }

serverEntry OBJECT-TYPE
        SYNTAX        serverEntry
        MAX-ACCESS    not-accessible
        STATUS        current
        DESCRIPTION   "Entry containing information about one software server in
                      the chassis."
        INDEX         { serverIndex }
        ::= { serverTable 1 }

serverEntry ::=
        SEQUENCE {
                serverIndex		Integer32,
		serverDisplayName	DisplayString,
--		serverIp		IpAddress,
		serverPort		INTEGER,
                serverType		INTEGER,
		serverOperStatus	INTEGER,
	}

serverIndex OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	    "A unique value, greater than zero, for each
	    software server.  The values are assigned
	    based on the port/ip.  The 16 most significant 
	    bits of the index are 16 least significant
	    bits of the IP in dot notation converted to hex 
            and network byte order.  The 16 least significant
	    bits of the index are the 16 bit 
	    server sub-layer must remain constant at least from
	    one re-initialization of the entity's network
	    management system to the next re-initialization."
    ::= { serverEntry 1 }

serverDisplayName OBJECT-TYPE
    SYNTAX      DisplayString (SIZE (0..255))
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	    "A textual string containing the host name of the
	    software server."
    ::= { serverEntry 2 }

--serverIp OBJECT-TYPE
--	SYNTAX		IpAddress
--	MAX-ACCESS	read-only
--	STATUS		current
--	DESCRIPTION
--		"IP address of the server"
--	::= { serverEntry x }

serverPort OBJECT-TYPE
	SYNTAX		INTEGER
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"UDP port of the server"
	::= { serverEntry 3 }

serverType OBJECT-TYPE
    SYNTAX      INTEGER {
	Unknown(0),
	FeatureServer(1),
	Marshal(2),
	RedirectServer(3),
	SnmpAgent(4),
	NetworkManager(5)	
    }	
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	    "The type of software identified by Entry"
    ::= { serverEntry 4 }

serverOperStatus OBJECT-TYPE
    SYNTAX  INTEGER {
	Inactive(0),
	Active(1),        
	ActivePending(3),
	Unknown(4)
    }
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	"The current operational state of the server.  
	(1) active - the RS has received at least 1 of the last 5
	heartbeats the server should have sent.
	(2) inactive - the server has come up and not sent a heartbeat
	or the RS has not receive any of the last 5 heartbeats
	the server should have sent.
	(3) activePending - the RS has not received between 1 and 4 of the
	last 5 heartbeats the server should have sent.
	(4) unknown - the status is unknow.
	(5) na - status does not apply to this server. "
    ::= { serverEntry 5 }

--
-- This table listst the groups a giver server belongs to
-- todo:  add this back in after 5/1/00 build
--
--serverGroupTable OBJECT-TYPE
--	SYNTAX		SEQUENCE OF serverGroupEntry
--	MAX-ACCESS      not-accessible
--	STATUS		current
--	DESCRIPTION     "A list of groups a given server belongs to"
--	::= { serverGrp 2 }
--
--serverGroupEntry OBJECT-TYPE
--	SYNTAX		serverGroupEntry
--	MAX-ACCESS	not-accessible
--	STATUS		current
--	DESCRIPTION	"Entry containing information about one group of a server"
--	INDEX		{ serverIndex, serverGroupIndex }
--	::= { serverGroupTable 1 }
--
--serverGroupEntry ::=
--	SEQUENCE {
--		serverGroupIndex	INTEGER,
--		serverGroupName		DisplayString,
--	}
--
--serverGroupIndex OBJECT-TYPE
--	SYNTAX		INTEGER
--	MAX-ACCESS	read-only
--	STATUS		current
--	DESCRIPTION
--		"A unique index of the group"
--	::= { serverGroupEntry 1 }
--
--serverGroupName OBJECT-TYPE
--	SYNTAX		DisplayString
--	MAX-ACCESS	read-only
--	STATUS		current
--	DESCRIPTION
--		"The name of a group the server belongs to"
--	::= { serverGroupEntry 2 }

END
