Giter Club home page Giter Club logo

sdn-vanet's Introduction

Introduction

This project tries to extend the Mininet-wifi to simulate SDN based VANET networks.

Instructions for usage

  1. Download Mininet-wifi image and run on Virtual Box
  2. paste or git clone this repository in the virtual machine in ~/mininet-wifi/examples/ directory
  3. cd into folder
  4. run sudo python stationary-test.py
  5. use xterm sta<id> in Mininet-wifi CLI where to id is node id from 1, to connect to nodes
  6. ./run.sh <id> debug to execute C application in debug mode in the node
  7. quit in Mininet-wifi CLI to exit

sdn-vanet's People

Contributors

twitu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sdn-vanet's Issues

unable to run stationary-test.py

sudo python3 stationary-test.py *** Creating nodes *** Configuring wifi nodes *** Connecting to wmediumd server /var/run/wmediumd.sock *** Creating links Exception in thread Thread-2: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "stationary-test.py", line 59, in run net.addLink(self.stations[0], cls=adhoc, ssid='adhocNet', mode='g', channel=5) File "/usr/local/lib/python3.8/dist-packages/mininet_wifi-2.5-py3.8.egg/mn_wifi/net.py", line 600, in addLink link = cls(node=node1, **params) TypeError: __init__() missing 1 required positional argument: 'intf' Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "stationary-test.py", line 90, in run shared_mem = SharedMemory(6789, flags=sysv_ipc.IPC_CREAT, size=sysv_ipc.PAGE_SIZE, init_character='\0') TypeError: argument 5 must be a byte string of length 1, not str

Change message content for logging

log line will be of the format
destination_id packet_index HH:MM:SS
each node will write logging information to a file indexed by its id e.g. node.[id].log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.