User login

Weekly Report for week ending 2 June 2017

12

Jun

2017

Try to save some more memory in my ipaddress module by calculating netmasks as required rather than storing them. Storing the AS path as an array rather than a list can also save considerable amounts of memory in my route entries.

Decided it was easier to send the full current state of routes between peers and VRFs rather than incremental updates. It means the state is always up to date and we don't need to keep track per peer or VRF when there are one-to-many relationships and peers might come and go at different times. Passing 1 million routes between processes takes milliseconds which is plenty fast enough.

Fixed a bug in the equality/hashing functions for route entries that meant they would never match and so all routes were being withdrawn and re-advertised to peers any time there were changes to be made.