I'm trying to understand row creation when I use mib2c's create-dataset.conf.
I have a test table (below) with an index, a rowstatus, and a plain variable.
If I set the plain variable with an index that does not exist yet, the row gets
created.
If I set the rowstatus to createAndGo with an index that does not exist yet,
the row does NOT get created, and I get a Not Writeable error.
This sounds counterintuitive.
Does create-dataset support rowstatus?
Thanks,
Phil Gillis
bogusTable OBJECT-TYPE
SYNTAX SEQUENCE OF BogusEntry
MAX-ACCESS not-accessible
STATUS current
::= { bogusGrp 1 }
bogusEntry OBJECT-TYPE
SYNTAX BogusEntry
MAX-ACCESS not-accessible
STATUS current
INDEX { moduleID }
::= { bogusTable 1 }
BogusEntry ::= SEQUENCE {
moduleID INTEGER,
bogusRowStatus RowStatus,
bogusSessions INTEGER
}
bogusRowStatus OBJECT-TYPE
SYNTAX RowStatus
MAX-ACCESS read-create
STATUS current
DESCRIPTION
""
::= { bogusEntry 2 }
bogusSessions OBJECT-TYPE
SYNTAX INTEGER(1..10)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
""
DEFVAL { 5 }
::= { bogusEntry 3 }
Thanks,
Phil Gillis
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders