Python 3 compatibility
Python 3 compatibility

And some Ubuntu 18 compat:

- ifconfig's output has changed
- relaxing timing as it seems first ping is slower

mininet/mininet,mininet/mininet,mininet/mininet