> That means that I should use "string" instead of "u32range" in .xrl files.
You should use the keyword "txt" instead of "u32range" in the .xrl files. Then on the sender/receiver side you should encode/decode the u32range to/from a string. Pavlin > 2008/11/26 Pavlin Radoslavov <[EMAIL PROTECTED]>: > > 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 > > > > 杨小帅 <[EMAIL PROTECTED]> 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 > >> [email protected] > >> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers > > > > > > -- > Best Regard > Xiaoshuai Yang > > _______________________________________________ > Xorp-hackers mailing list > [email protected] > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
