VOVIDA-LOCALGRP-MIB DEFINITIONS ::= BEGIN

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

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

    DESCRIPTION
	"This file defines the Vovida soft switch MIB extensions."
    REVISION	 "200003200000Z"
    DESCRIPTION
	    "Initial revision"
	::= { vovidaSoftSwitch 1 }

-- This mib identifies the local configureation.  This includes the enabled trap destinations, and
-- local processes running on this machine.

localGrpStartProcessName OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"The name of the process to start, including parameters
		when localGrpStartProcess is set"
	::= { localGrp 1 }

localGrpStartProcess	OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"Setting this to one will try to start the 
		process identified in localGrpStartProcess"
		::= { localGrp 2 }
localGrpStopProcessName OBJECT-TYPE
	SYNTAX		DisplayString
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"The name of the process to stop, including parameters
		when localGrpStopProcess is set"
	::= { localGrp 3 }

localGrpStopProcess	OBJECT-TYPE
	SYNTAX		Integer32
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"Setting this to one will try to stop the 
		process identified in localGrpStopProcess"
	::= { localGrp 4 }

localGrpDebugLevel     OBJECT-TYPE
        SYNTAX          INTEGER {
		 LOGEMERG       (0),       
		 LOGALERT       (1),       
		 LOGCRIT        (2),       
		 LOGERR         (3),       
		 LOGWARNING     (4),       
		 LOGNOTICE      (5),       
		 LOGINFO        (6),       
		 LOGDEBUG       (7),       
		 LOGDEBUGSTACK (8),       
	}
        MAX-ACCESS      read-write
        STATUS          current
        DESCRIPTION
                "This represents the DebugLevel of the
                 processes running on this machine.  It
                 is used in internal debugging.  It can be
                 re-set while the processes are running to
		 change the debug output without restarting 
		 the processes"
        ::= { localGrp 5 }

localGrpTrapSinkTable OBJECT-TYPE
        SYNTAX        SEQUENCE OF localGrpTrapSinkEntry
        MAX-ACCESS    not-accessible
        STATUS        current
        DESCRIPTION   "A list of destination IPs for traps"
        ::= { localGrp 6 }

localGrpTrapSinkEntry OBJECT-TYPE
        SYNTAX        localGrpTrapSinkEntry
        MAX-ACCESS    not-accessible
        STATUS        current
        DESCRIPTION   "Entry containing information about one trap
		       destination"
        INDEX         { trapSinkIndex }
        ::= { localGrpTrapSinkTable 1 }

localGrpTrapSinkEntry ::=
        SEQUENCE {
                trapSinkIndex		Integer32,
		trapSinkIp		IpAddress,
	}

trapSinkIndex OBJECT-TYPE
    SYNTAX      Integer32
    MAX-ACCESS  read-only
    STATUS      current
    DESCRIPTION
	    "A unique value, greater than zero, for each
	    management station registered to receive traps.
	    These must remain constant at least from
	    one re-initialization of the entity's network
	    management system to the next re-initialization."
    ::= { localGrpTrapSinkEntry 1 }

trapSinkIp OBJECT-TYPE
	SYNTAX		IpAddress
	MAX-ACCESS	read-only
	STATUS		current
	DESCRIPTION
		"IP address of the management station wanting to receive traps"
	::= { localGrpTrapSinkEntry 2 }

localGrpAddTrapSink  OBJECT-TYPE
	SYNTAX		IpAddress
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"IP address of the management station wanting to receive traps.
		Set this variable and the value will be added to the localGrpTrapSinkTable"
        ::= { localGrp 7 }

localGrpDeleteTrapSink  OBJECT-TYPE
	SYNTAX		IpAddress
	MAX-ACCESS	read-write
	STATUS		current
	DESCRIPTION
		"IP address of the management station wanting to stop receiving traps.
		Set this variable and the value will be removed from the localGrpTrapSinkTable.
		If the value is not in the table, the set will do nothing"
        ::= { localGrp 8 }

END
