[Xorp-hackers] RIB serialization

Canini Marco marco.canini at epfl.ch
Tue Sep 1 09:01:23 PDT 2009


In the end, I had to remove the constness of the Payload type in the Trie but that didn't require many changes overall.

Now I'm successful in serializing instances of RIB along with all the RouteTable derivate classes.
Unfortunately, for certain RouteTables at deserialization time I need to have references to objects of type EventLoop and RibManager.
Are these two classes singleton?
Thanks

Marco Canini, Ph.D.
EPFL, Networked Systems Laboratory


> -----Original Message-----
> From: xorp-hackers-bounces at icir.org [mailto:xorp-hackers-
> bounces at icir.org] On Behalf Of Canini Marco
> Sent: Monday, August 31, 2009 8:22 PM
> To: Bruce Simpson
> Cc: xorp-hackers at icir.org
> Subject: Re: [Xorp-hackers] RIB serialization
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Bruce,
> 
> at the moment I'm hacking on xorp 1.6. To enable boost support I used
> the m4 macros from the autoconf archive
> (http://www.nongnu.org/autoconf-archive/).
> If I read you correctly now xorp uses scons as the build system though.
> 
> I'll try to avoid changing the constness then. I hope I hit a bug in
> boost 1.34 and with a newer version I can get around this problem.
> 
> Thanks
> 
> Marco Canini, Ph.D.
> Networked Systems Laboratory, EPFL
> 
> 
> > -----Original Message-----
> > From: Bruce Simpson [mailto:bms at incunabulum.net]
> > Sent: 31 August 2009 20:04
> > To: Canini Marco
> > Cc: xorp-hackers at icir.org
> > Subject: Re: [Xorp-hackers] RIB serialization
> >
> > Hi Marco,
> >
> > Thanks for looking into this. We do plan to introduce Boost
> > incrementally to the source tree, however this effort is still at a
> > very
> > early stage.
> >
> > I am curious if you're using the SVN code, as I have not yet
> committed
> > my changes to the SCons build glue for XORP to detect Boost's
> libraries
> > and headers.
> >
> > You might have better luck with your immediate issue by raising the
> > question on the Boost-Users list. Yes, changing the constness of the
> > Trie members is likely to cause a lot of code churn.
> >
> > thanks,
> > BMS
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> 
> iEYEARECAAYFAkqcFMcACgkQK52QDm/mFCmglQCfZa8tcEd9oHWzIkhy7UPamAmq
> EIsAn1lQ+eNohkJfd6sqXzS4Et9megtq
> =NfC0
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers



More information about the Xorp-hackers mailing list