Back to GSoC 2021 projects
- Project Name: IPv6 Nix-Vector Routing
- Student: Ameya Deshpande
- Mentors: Manoj Kumar Rama, Tommaso Pecorella
- Project Goals: The project aims to implement IPv6 Nix-Vector Routing with minimal code duplication from IPv4 Nix-Vector Routing. ns-3 has an implementation of Nix-Vector routing for IPv4. Routing protocols like Global Routing and Nix-Vector Routing help the user a lot when dealing with complex topologies. Unlike any dynamic routing protocol, these protocols simply fill the routing tables and prevent any overhead involved. Currently, there is no such implementation for IPv6 available in ns-3. For IPv6 Nix-Vector Routing, the implementation should handle link-local and global unicast addresses.
- Repository: https://gitlab.com/ameyanrd/ns-3-dev/-/commits/gsoc-21/
- About Me: I am currently a pre-final undergraduate student at the National Institute of Technology Karnataka, Surathkal (NITK). I like to play with open-source softwares, browse through their code, make changes and contribute back, if suitable. My areas of interest include Computer Networking, Operating Systems, and Cloud Computing. I have around three years of experience working with C and C++ and around a year working with Python. I have worked before in the development of Linux Kernel (IPv6) and Wireshark (libwireshark).
- Project Proposal: link
- Design Document: link
Milestones and Deliverables
The GSoC period is divided into three phases. Following are the deliverables according to the proposal:
Duration: Week 1 to Week 4
- Prepare tests for the existing IPv4 NixRouting implementation.
- Port the existing IPv4 Nix code to generic Nix code.
- Convert the routing and helper classes into template classes.
- Introduce aliases for IPv*-related classes and make the changes at all their occurrences.
Duration: Week 5 to Week 8
- Prepare simple examples and tests for IPv6 NixRouting.
- Handle different member functions for similar IPv*-related classes, virtual functions, and callback functions.
- Handle link-local and global unicast addresses.
Duration: Week 9 and 10
- Work on additional tests and a large IPv6 networking topology example (similar to nms-p2p-nix.cc).
- Update the Nix-Vector Routing documentation.
Community Bonding Period
Duration: May 17 - June 6
- Prepare the initial tests for IPv4 Nix-Vector routing (MR link).
- Discussed the proposal ideas and any potential issues.
- Since the proposal uses C++ templates, aliases, etc., it is a concern if Python Bindings will be generated for some of the constructs.
- Complete the Python Bindings setup for rescanning the nix-vector-routing module.
- Start the Design Documentation for discussing and developing the best possible way for implementation.
Duration: June 7 - June 13
- Start working on the refactoring of IPv4 Nix-Vector routing.
- Introduce templates in IPv4 Nix-Vector Routing and Helper classes with template parameter as the parent class for inheritance.
- Replace all the IPv4-related identifiers to IP for generically representing IPv[4, 6].
- For the IPv[4, 6] equivalent classes, define aliases based on the template parameter.
- Rescan Python Bindings and verified that there are no issues present.
- A draft MR is created.