« Previous | Next » 

Revision 220890a0

ID220890a0c97c9902f708f12568bc44f6d893930c
Parent bc547080
Child 4d2d52c3

Added by Brandon Heller almost 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).

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences