[Xorp-hackers] About "u32range" Bug

杨小帅 eshe168 at gmail.com
Wed Nov 26 00:13:38 PST 2008


That means that I should use "string" instead of "u32range" in .xrl files.

2008/11/26 Pavlin Radoslavov <pavlin at icsi.berkeley.edu>:
> The XRLs don't have atom of type u32range.
> The u32range type that you have probably seen in the
> etc/templates/*.tp template files is actually transmit as a string
> inside the XRLs.
> Please use the libxorp/range.hh implementation for manipulating the
> u32range encoding/decoding the string, etc.
>
> Pavlin
>
> 杨小帅 <eshe168 at gmail.com> wrote:
>
>> Hi,
>>
>> When I use a node whose type is "u32range", then I make the .xif file.
>> There is error information:
>>
>> In Xrl starting at line 13 in cpl_ifmgr.xif:
>>         Atom type "u32range" not amongst those known ['binary',
>> 'ipv4net', 'i32', 'list', 'i64', 'mac', 'ipv6net', 'bool', 'u32',
>> 'ipv6', 'u64', 'txt', 'ipv4']
>>
>>
>> I have review the source code, maybe xrl_atom.hh xrl_atom.cc has bugs
>> in the libxipc. I want to fix it, but i need your help about add a new
>> type.
>>
>> --
>> Best Regard
>> Xiaoshuai Yang
>>
>> _______________________________________________
>> Xorp-hackers mailing list
>> Xorp-hackers at icir.org
>> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>



-- 
Best Regard
Xiaoshuai Yang



More information about the Xorp-hackers mailing list