« Previous | Next » 

Revision 220890a0

Parent bc547080
Child 4d2d52c3

Added by Brandon Heller over 11 years ago

Move utility functions out of mininet.py

Having a file with the same name as its package creates hard-to-diagnose
import error, so rename mininet.py to net.py. This commit moves utility
functions, generally those dealing with network namespaces and interface
management, into their own file.

Also fix a few minor formatting bugs and clean up logging code (which
had issues when multiple files would import mininet.logging_mod).


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences