Some Question

Mauro Restante restante____cefriel.it
Wed Apr 18 11:20:34 CEST 2001


Hi to all,

I try to implement Disman-Schedule-Mib Table Entry.
This Table have two Index. I follow some suggestion that I found on the
mailing list archive.
I concatenate the OID of the two sub indexes, but I don't understand how it
is encoded.
In the Mib.h file there is some suggestion about it:

Is this correct?

>>>>>>	schedEntry* schedTable=new schedEntry();
>>>>>>
>>>>>>	printf("funzioni\n");
>>>>>>
>>>>>>
>>>>>>
>>>>>>	Oidx OwnerIndex="2.65.66";//	INDEX1: if I understand correctly, this
mean that the string has size of 2
>>>>>>					//	and the other element is the ACSII encoded of 2 characters.
>>>>>>
>>>>>>	Oidx DescrIndex="1.68";//	INDEX2
>>>>>>
>>>>>>
>>>>>>	Oidx SchedIndex= OwnerIndex;
>>>>>>	SchedIndex+=DescrIndex;//	index concatenated
>>>>>>
>>>>>>
>>>>>>	MibTableRow* r=schedTable->instance->add_row(SchedIndex);//Add new
row in the table
>>>>>>
>>>>>>	//now I put some value in the table.
>>>>>>
>>>>>>	schedTable->instance->set_row(r, "Mauro",99999, "pluto", "77777","
restante", "vimodrone", "milano", >>>>>> 		"ceriel", "pippo", 66666, 55555,
44444, 33333, 22222, 11111, "goofy", 00000, 5);

In this way the manager find the index "65.66.1.68" and I able to set any
parameters of the table.

Is correct that can't make a GET-REQUEST on the INDEX?

In this case how I can set this parameter from the Manager?

I should able to create new row of the table from manager!

I think that there is something wrong.
Can someone suggest me something to go ahead???

Best regards





Mauro Restante

_____________________________

CEFRIEL/Politecnico di Milano
Network System Area
Via fucini,2
20133 Milano - Italy
Tel. +39 02 23954248
Fax. +39 02 23954529





More information about the AGENTPP mailing list