conforming to mininet python style