A problem in the agentgen?

Frank Fock Frank.Fock____t-online.de
Thu Aug 2 23:50:13 CEST 2001


Hi Alex,

The problem (and for Counter64) has been fixed with v1.6.3
which can be downloaded from http://www.agentpp.com

Best regards,
Frank

Alex Finogenov wrote:

> Frank,
>
> I just discovered that the following MIB statement:
>
> mnCpeCtrlIpAddr OBJECT-TYPE
>         SYNTAX  IpAddress
>         MAX-ACCESS      read-create
>         STATUS  current
>         DESCRIPTION
>                         "IP address."
>         ::= { mnCpeCtrlEntry 1 }
>
> as a part of a table definition that AUGMENTS a base table's entry, makes
> the latest agentgen generate the MibLeaf code for the column with both
> get_state() and set_state() missing, but a get(Vbx &) method instead.
>
> This doesn't just break the pattern on which I am relying a lot (my agent
> implements the Decorator pattern, so I have to make very slight trivial
> changes to the generated files and my implementation code lives outside
> elsewhere), but also leaves me no choice except adding these methods
> manually to the leaf's definition in the generated code.
>
> Am I missing something here? Are you treating IpAddress differently on
> purpose?




More information about the AGENTPP mailing list