[Xorp-hackers] RIB serialization

Bruce Simpson bms at incunabulum.net
Fri Sep 4 07:05:28 PDT 2009


Hi Marco,

I've checked in the Boost detection logic for SCons to public SVN now, I 
hope this useful to you.

I've spent some hours reviewing the code base for low-hanging 
refactoring fruit. My initial conclusion is that we're best off doing 
this on a subsystem-by-subsystem basis, due to the nature of the changes 
involved.

Introducing Thrift is likely to obsolete a lot of the code in libxorp as 
it stands; so perhaps that needs to happen before further introduction 
of Boost, at least in the main line of development. Also, libcomm will 
probably have to be spliced into Boost.ASIO; their socket API has many gaps.

In an experimental Hg branch, Boost.Regex is a drop-in replacement for 
POSIX regex using its C API. Normally we require pcre/pcreposix for 
policy and the xorpsh pipe feature on Linux platforms; Boost.Regex ships 
as a shared library, so we can cut over to it easily.

This is perhaps the easiest change we can make for introducing Boost 
into XORP, in the very beginning. If you come up with anything else, we 
are very happy to review patches.

thanks,
BMS



More information about the Xorp-hackers mailing list