Smidump for JAX: strange code for AUGMENTS Index

Hi all I'm using the smidump for Jax output. I've dumped a MIB and it succeded. When I've seen the generate code for this object definition:
-- -- support for specific status code notifications -- sipCommonStatusCodeNotifTable OBJECT-TYPE SYNTAX SEQUENCE OF SipCommonStatusCodeNotifEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This table contains objects to control notifications related to particular status codes each SIP entity in this system has been requested to monitor.
There is an entry in this table corresponding to each entry in sipCommonStatusCodeTable. Therefore, this table augments that table and utilizes the same index methodology." ::= { sipCommonStatusCode 3 }
sipCommonStatusCodeNotifEntry OBJECT-TYPE SYNTAX SipCommonStatusCodeNotifEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "This row contains information controlling notifications for a particular SIP status code that the SIP entity has been requested to monitor." AUGMENTS { sipCommonStatusCodeEntry } ::= { sipCommonStatusCodeNotifTable 1 }
SipCommonStatusCodeNotifEntry ::= SEQUENCE { sipCommonStatusCodeNotifSend TruthValue, sipCommonStatusCodeNotifEmitMode INTEGER, sipCommonStatusCodeNotifThresh Unsigned32, sipCommonStatusCodeNotifInterval Unsigned32 }
.....
I saw that it generated a SipCommonStatusCodeNotifTable and SipCommonStatusCodeNotifEntry classes. The AgentXEntry sub-class have got an empty constructor. It's strange. I supposed that AUGMENTS index type isn't right managed. How do I change dump-jax to generate code for AUGMENTES index? Is it possible?
public class SipCommonStatusCodeNotifEntry extends AgentXEntry {
protected int sipCommonStatusCodeNotifSend = 0; protected int undo_sipCommonStatusCodeNotifSend = 0; protected int sipCommonStatusCodeNotifEmitMode = 0; protected int undo_sipCommonStatusCodeNotifEmitMode = 0; protected long sipCommonStatusCodeNotifThresh = 0; protected long undo_sipCommonStatusCodeNotifThresh = 0; protected long sipCommonStatusCodeNotifInterval = 0; protected long undo_sipCommonStatusCodeNotifInterval = 0;
public SipCommonStatusCodeNotifEntry() {
}
public int get_sipCommonStatusCodeNotifSend() { return sipCommonStatusCodeNotifSend; }
.........................
Thank, Fabrizio

Hi!
Caffaratti> I'm using the smidump for Jax output. I've dumped a MIB Caffaratti> and it succeded. When I've seen the generate code for Caffaratti> this object definition: [...] I saw that it generated a Caffaratti> SipCommonStatusCodeNotifTable and Caffaratti> SipCommonStatusCodeNotifEntry classes. The AgentXEntry Caffaratti> sub-class have got an empty constructor. It's strange. I Caffaratti> supposed that AUGMENTS index type isn't right managed. Caffaratti> How do I change dump-jax to generate code for AUGMENTES Caffaratti> index? Is it possible?
If somebody has an answer, please contribute a patch to this list or to me personally, so that I can integrate it with the next release.
Our own project, in which we developed JAX and the smidump JAX driver, has finished, so that we don't continue active work on JAX.
-frank
participants (2)
-
Caffaratti Fabrizio
-
Frank Strauss