- Student: Dizhi Zhou
- Mentors: : Tommaso Pecorella, Luca Simone Ronga
- Abstract: this project aims to implement the bundle protocol (BP) in NS-3 which includes the bundle node structure and basic function of BP protocol. It is designed to support BP in IETF and CCSDS standard. First, the bundle node is the node installing bundle layer between application layer and transport layer in NS-3. The bundle node structure in this project is designed to be easily run on varied transport layer protocols and provides a unified socket interface to applications. Second, the basic functions of BP protocol are divided into three parts in this project: bundle transmission operations, custody signal support and bundle status report support(optional). This project also includes the test suites and documentations in BP.
- About me: I'm a Ph.D. student in the University of New Brunswick, Canada. My research interests include Multipath TCP (MPTCP) in cooperative wireless network and network simulation. You can find more information about my research in website or LinkedIn.
Bundle protocol layer structure
The bundle protocol (BP) can be seen as a special application, which provides transport layer services to other applications in a delay-tolerant network. In BP, we call packets as bundle and the node having BP layer as bundle node. The class structure of BP in NS-3 is shown below:
applications | ----------------------------------------- | | | | BundleProtocol | | | | | BpClaProtocol ---- BpRoutingProtocol | | | | ----------------------------------------- | Sockets
The rectangle area shows the main classes of BP in NS-3. BundleProtocol class implement several APIs to applications, such as Register (), Open (), Bind () and so on. Applications can use these APIs to transmit bundles between bundle nodes. BpClaProtocol class implements the convergence layer adapter (CLA) in BP. It is an abstract class, which defines the internal APIs between BpClaProtocol and BundleProtocol. In current version, only BpTcpClaProtocol is implemented. It uses TCP socket in the transport layer to transmit bundles.
I divide the functions in this project into three parts:
- S1: functions to make sure the bundle can be sent from sender to receiver, node structure, send/receive/forward, static routing, naming syntax.
- S2: control functions for custody transfer, custody signal in AA.
- S3: error control signals: bundle status report.
12 weeks from Sep.4 to Nov.24:
- Week1: node structure: the class relationship in NS-3.
- Week2: node structure: the class relationship in NS-3.
- Week3: send and receive without forwarding procedure (two bundle nodes case).
- Week4: send and receive with forwarding procedure (three or more bundle nodes case, forward immediately, not custody transfer scheme).
- Week5: send and receive with forwarding procedure (three or more bundle nodes case, forward immediately, not custody transfer scheme).
- Week6: write test code and documentation for S1.
- Week7: custody signal support (store-and-forward, custody transfer).
- Week8: custody signal support (store-and-forward, custody transfer).
- Week8: write test code and documentation for S2.
- Week9: bundle status support* Week10: bundle status support.
- Week11: write test code and documentation for S3.
- Week12: wrap up.
I would like to express my special thanks of gratitude to Tommaso Pecorella and Tom Henderson, also thanks of Lalith Suresh and Luca Simone Ronga. Thanks for their valuable comments and helps on my work. Thanks for all mentors in NS-3 community to give me this opportunity in SOCIS project.