Logo

Emulation Platform for Software-Defined Wireless Networks

Main Page
Get Started
Part 1: Mininet-WiFi Usage
Part 2: Advanced Options
Part 3: Mininet-WiFi Commands
Containernet
Manet Routing Protocols
Mobility
Propagation Models
SixLoWPAN
IEEE 802.11p
mac80211_hwsim
P4
SUMO
Publications
Use Case Catalogue
Video Demos
FAQ
The Mininet-WiFi Book
      

SUMO

Branching

Usage

You can run Sumo with:

net.useExternalProgram(program=sumo, port=8813,
                       config_file='map.sumocfg'
                       clients=1)

# port: traci server port number   
# config_file: the sumo's config. Currently available at mn_wifi/sumo/data/   
# clients: number of clients. You may want to refer to https://sumo.dlr.de/docs/TraCI/Protocol.html

For your convenience a sample file is available at /examples/vanet-sumo.py.