Difference between revisions of "GSOC2023NetAnim"

From Nsnam
Jump to: navigation, search
(Weekly Report)
(Weekly Report)
Line 53: Line 53:
  
 
'''Week 2:'''  
 
'''Week 2:'''  
* Used another approach to convert AnimationInterface into a singleton using the template present in singleton.h because the previous approach had issues like
+
* Used another approach to convert AnimationInterface into a singleton using the template present in singleton.h because the previous approach had the following issues:
**sfsc
+
**Exposed the singleton class.
 +
**Duplicate API.
 +
**Forwarding implementation in the AnimationInterface class in a public header.
 
* Moved the declaration and implementation of the Singleton class to the animation-interface.cc file similar to type-id.cc.
 
* Moved the declaration and implementation of the Singleton class to the animation-interface.cc file similar to type-id.cc.
 
* Added comments for Doxygen for the new function declarations.
 
* Added comments for Doxygen for the new function declarations.

Revision as of 14:09, 10 June 2023

Main Page - Current Development - Developer FAQ - Tools - Related Projects - Project Ideas - Summer Projects

Installation - Troubleshooting - User FAQ - HOWTOs - Samples - Models - Education - Contributed Code - Papers

Back to GSoC 2023 projects

Project Overview

  • Project Name: Dynamic device registration for NetAnim simulation animations
  • Student: Raghuram Kannan
  • Mentors: Tommaso Pecorella and Manoj Kumar Rana
  • Google page: https://summerofcode.withgoogle.com/programs/2023/projects/EpacH0ct
  • Project Goals: The project aims to refactor the NetAnim module such that each module willing to use NetAnim will have a .cc and .h file responsible for communication with the NetAnim module, enabled only if NetAnim is active. This will break the dependencies and will allow more flexibility for out-of-tree modules and modules migrating to the AppStore.
  • Repository: https://gitlab.com/raghuramkannan40/ns-3-dev/-/tree/GSoC-23
  • About Me: I am a Pre-Final year undergraduate student pursuing Electronics and Communication Engineering at the National Institute of Technology Karnataka, Surathkal, India. I am currently exploring the domain of computer networks and operating systems.

Milestones

The GSoC period is divided into two phases. Following are the deliverables according to the proposal:

Phase 1

Duration: Week 1 to Week 6

  • Refactor the Csma module and test to see if it works the same as before.
  • Refactor the Point-to-Point module and test to see if it works the same as before.
  • Refactor the LTE module and test to see if it works the same as before.

Phase 2

Duration: Week 7 to Week 12

  • Refactor the Wimax module and test to see if it works the same as before.
  • Refactor the Wi-Fi and Internet module and test them to see if it works the same as before.
  • Refactor the Uan and Wave module and test them to see if it works the same as before.
  • Testing and documentation of work done

Weekly Reports

Community Bonding Period

Duration: May 4 - May 28

  • Discussed the proposal ideas and any potential blockers.
  • Decided to convert AnimationInterface into a singleton with a proxy in between.
  • Added a define for NetAnim in CMake to let us know if NetAnim has been compiled successfully.
  • Discussed the need for CreateObject() for the NetDeviceAnim Class (The new class added to the respective net-device modules to connect to NetAnim).

Weekly Report

Week 1:

  • Converted AnimUidPacketInfoMap into a map of net-devices in MR [1].
  • Made AnimationInterface into a singleton with a proxy in between as discussed in the Community Bonding Period in MR [2].
  • Added a define for NetAnim in CMake in MR [3].

Week 2:

  • Used another approach to convert AnimationInterface into a singleton using the template present in singleton.h because the previous approach had the following issues:
    • Exposed the singleton class.
    • Duplicate API.
    • Forwarding implementation in the AnimationInterface class in a public header.
  • Moved the declaration and implementation of the Singleton class to the animation-interface.cc file similar to type-id.cc.
  • Added comments for Doxygen for the new function declarations.