lantz/mininet — comment on commit 85628d302581f7add88eca1e5602c6086932766b
File:  line 0
By brandonheller:

Help me understand: I thought that anything MN would do to create a network would require admin privileges to make links. Hence, a check for root at Mininet startup seems reasonable - but this commits removes that check. Why?

The root of the problems seems related to __init__ in class Mininet calling this function and not being library-izable. Wouldn't the cleaner solution to get the same outcome be to add an option to the constructor, where the default is to run checks, that controls whether this check is run? Knowing how this class is useful as a library would help here. Maybe there's some other better way, like removing the check, and putting that in a command-line launcher program instead. I don't know.