https://github.com/ndbaker1/cs6390-advanced-computer-networks
UTD CS6390 Optimized Link State Routing Simulation for Graduate Studies
https://github.com/ndbaker1/cs6390-advanced-computer-networks
olsr routing
Last synced: 3 months ago
JSON representation
UTD CS6390 Optimized Link State Routing Simulation for Graduate Studies
- Host: GitHub
- URL: https://github.com/ndbaker1/cs6390-advanced-computer-networks
- Owner: ndbaker1
- Created: 2022-04-12T17:28:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T02:00:34.000Z (about 3 years ago)
- Last Synced: 2024-12-30T04:27:17.874Z (5 months ago)
- Topics: olsr, routing
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OLSR Network Simulation
Programming Project for Graduate studies in CS6390 Advanced Computer Networks### Academic Info
**Identification:** Nicholas Baker - ndb180002
**Server:** csgrads1
**Runtime:** python 3.6## Execution
Use __python3__ or higher to run `node.py` and `controller.py`.
> Only tested for python3.6+```bash
# example scenario.
./node.py 0 2 "sending from 0 to 2" 20 &
./node.py 1 1 &
./node.py 2 2 &
./controller.py &
```## Node
Files will be created to facilitate input and output links.
These are read by the controller to forward data based on the network topology, imitating a group of wirless nodes using a broadcast medium.usage:
```bash
./node.py ID DESTINATION [MESSAGE DELAY]
```
| ID | DESTINATION | MESSAGE | DELAY |
|----|-------------|---------|-------|
| node identifier | destination for message (equals ID to ignore message) | optional message | delay for message |## Controller
takes no input, reads `topology.txt` for link statuses at indicated timestamps (in seconds)usage:
```bash
./controller.py
```