Re: creating row in inetCidrRouteTable

"Asaf Ohaion" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
another thing, looking at the code :

./inetCidrRouteTable/inetCidrRouteTable_data_access.c:59:

int
inetCidrRouteTable_init_data(inetCidrRouteTable_registration *
                             inetCidrRouteTable_reg)
{
    DEBUGMSGTL(("verbose:inetCidrRouteTable:inetCidrRouteTable_init_data",
                "called\n"));

    /*
     * TODO:303:o: Initialize inetCidrRouteTable data.
     */

    return MFD_SUCCESS;
}                               /* inetCidrRouteTable_init_data */



looks like its not implemented at all, at least in the version I have (5.5)

correct ?

> Dear Asaf
>
> I could create an easy entry.
>
> snmpset -v2c -c private 127.0.0.1 \
>>
> IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4  \
>>
> IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 2 \
>>
> IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 0 \
>>
> IP-FORWARD-MIB::inetCidrRouteType.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4
>
>
>> how can the agent separate the parts? (e.g : oid is 0.0, but could be
>> longer)
> The syntax of the object is explained in Chapter 7.7 of RFC2578.
> It could be an answer to your question.
>
> Regards
>
>
> yushina
> --------------------------------------
> 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
> http://pr.mail.yahoo.co.jp/southafrica2010/
>


-- 
Asaf Ohaion
Lingnu Open Source Consulting Ltd
09-7655871 (204), 0547-920828
http://www.lingnu.com


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.