Simplified and refactored examples/dynamicnet.py
Extended LinearTopo to support mulitple hosts per switch