Regarding string as index for tables

2010-04-15 Thread phani kumar
Hi, I am trying to implement a table having two index values both being strings. Could any one tell me how the getnext works especially when the indexes are string and that too in lexicographical order by example please ? Lets say the row one indexed by mike and hello Row 2 by amfi and chris

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 09:08, phani kumar kumarc...@yahoo.co.uk wrote: I am trying to implement a table having two index values both being strings. Could any one tell me how the getnext works It depends on exactly how the table is defined. What is the INDEX clause from the MIB file? Lets say the

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 09:34, phani kumar kumarc...@yahoo.co.uk wrote: Thanks for quick response and as you said lets assume the index looks like { index1, IMPLIED index2 } and lets simplify the index from two to one Which? Are you asking about a two-string indexed table, or a single-string

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
Dave, Thanks. Now that this should help me out on the double index issue.. 1) If the table is like this and the none mentioned for second index(so assuming non- implied...) Index1   Index2  c1  RS -- AB  BEA 1 AB  DC  2 BC  QF  

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 10:32, phani kumar kumarc...@yahoo.co.uk wrote: Then walk should be like c1.ABDC c1.ABBEA c1.BCQF c1.DEAD c1.DEFC I'd suggest that you separate the index strings, to make the division clearer i.e. c1.AB.DC etc But that's just presentational. The order you list

I can't see load balancing into FORWARDIB-MIB (ip.24) with Net-snmp

2010-04-15 Thread Taronja Navel
Hi The configuation is: I have zebra (routing daemon) running with OSPF (It has enable Equal Cost multi-path). With command ip route i can see load balancing (for example) between two interfaces. #ip route 11.0.6.0/24 proto zebra metric 30 nexthop via 11.0.15.2 dev eth0 weight 1

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
Dave, Thanks a lot. Just to wind things for the day, this is the last one trust me. 1) So taking this logic to table with ip address as the index, lets say the following one: index c1 1.2.3.4   10 10.3.4.5 20 1.3.4.5   30 1.2.4.4   40 then the

Re: Regarding string as index for tables

2010-04-15 Thread Dave Shield
On 15 April 2010 11:14, phani kumar kumarc...@yahoo.co.uk wrote: Just to wind things for the day, this is the last one trust me. 1) So taking this logic to table with ip address as the index then the walk should yield : c1.1.2.3.4 c1.1.2.4.4 c1.1.3.4.5 c1.10.3.4.5 Exactly. The

Re: Regarding string as index for tables

2010-04-15 Thread phani kumar
Thanks Dave. Really appreciate your help spending time on my issues. Best Regards, --- On Thu, 15/4/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Regarding string as index for tables To: phani kumar kumarc...@yahoo.co.uk Cc:

RE: SNMP4J-agentX

2010-04-15 Thread Mike Ayers
From: Piljoo Choi [mailto:cpil...@hotmail.com] Sent: Wednesday, April 14, 2010 10:32 PM Sorry for asking about SNMP4J -agentX library. But, there could be someone in the group knows well and has some experience with SNMP4J- agentX subagent. Has anyone wrote a subagentX in Java with SNMP4J