Commit Graph
8 Commits
Author SHA1 Message Date
Bob Lantz 9a22e2b737 Use ifconfig for interface verification.
Previously we were using both ip link and ifconfig - not only is
this inconsistent and redundant, but it also broke when newer
ip link changed the reported names of certain interfacs to
"h1-eth0@36:".

Fixes #592
2016-01-25 14:27:34 -08:00
Bob Lantz 7a3159c9af Spacing tweaks for pep8 checker 2014-12-08 15:10:32 -08:00
Brian O'Connor 220376b6e2 hwintf.py: allow intf to be specified in cmd line 2013-09-11 14:45:46 -07:00
Bob Lantz c8b857465b pass code check 2012-11-30 21:00:23 -08:00
Bob Lantz b96e1596b2 Change to use Intf() class rather than string for interface.
Was broken in 2.0.0rc1
2012-11-19 15:02:38 -08:00
Brandon Heller edf6003217 pep8: fix E128 continuation line under-indented errors
I wasn't sure this was worth fixing at first, but it does look more readable
now.
2012-11-13 16:59:10 -08:00
Bob Lantz 1d67218d1f Modified to add eth1. 2010-10-25 21:54:14 -07:00
Bob Lantz 76521ef1d4 Added example of adding hw interface to mininet. 2010-10-25 21:53:29 -07:00