"Dynamic Table Agent simulation"
Frank Fock
Frank.Fock____t-online.de
Tue Oct 23 19:33:53 CEST 2001
Hi,
First, it is a bad design to have readable index columns.
They should be "not-accessible" to avoid redundant information.
The "int" parameter is described in the html docs coming with
AGENT++. It indicates the subrequest (vb) currently processed.
You can use AgentGen Pro to easily create the code skeletons
for such a simulation agent from you MIB.
Best regards,
Frank
"Deepak B. A." wrote:
>
>
> Dear Frank,
>
> I have a dynamic table like:
> {
> VpnId integer READONLY,
> VRFName OctetString READONLY,
> Rowstatus Rowstatus READ-CREATE
> }
>
> The index is VpnId + VRFName.
>
> I want to implement the Agent Simulator for this.
>
> When user wants to create a new row he gives row status oid as
> RowStatusOid + VpnId + VrFName with the value of CREATE AND GO.
>
> I need to extract the index values and put into VpnId and VRFName.
>
> Please let me know what code I have to add and where all i have to
> add.
>
> I dont understand this prepare_set_request properly. (What is the int
> param).
>
> Regards,
> Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.agentpp.org/pipermail/agentpp/attachments/20011023/dcb3b040/attachment.htm
More information about the AGENTPP
mailing list