Bob Lantz
d54cde46e0
Add PYTHONPATH=. to allow "make man" to work if Mininet is not installed.
2012-07-06 19:54:42 -07:00
Bob Lantz
78b2f585ae
Fixed support for adding man page to debian package - to pass lintian!
2012-07-03 22:50:53 -07:00
Bob Lantz
7fe847967d
clean up "make man" slightly
2012-07-03 22:08:25 -07:00
Bob Lantz
f2e7884ade
Add support for generating man page from mn --help.
2012-07-01 23:23:56 -07:00
Bob Lantz
ee222055f1
Use install(1) to install mnexec so that setup.py develop works.
2012-03-02 20:34:56 -08:00
Bob Lantz
e6d8e974ce
Added errcheck target which only checks for errors.
2012-03-02 15:39:05 -08:00
Bob Lantz
2b03a115d2
Changed make clean to delete mnexec; added codecheck and test messages.
2011-04-01 11:56:31 -07:00
Bob Lantz
8a130deae5
Support for generating documentation with doxygen/doxypy (such as it is.)
2010-10-27 21:21:53 -07:00
Bob Lantz
82b7207295
Pass pylint.
2010-05-06 16:24:15 -07:00
Bob Lantz
bcacfc0510
Support for control-C. Finally.
...
I've changed the way things work a bit:
1. netns is replaced by mnexec, a general-purpose mininet helper.
2. For interactive commands, we now use mnexec -p, which prints out
the pid, so we can kill it when someone hits control-C!
3. We close file descriptors for subshells. This might save memory,
but who knows.
4. We detach our subshells from the tty using mnexec -s; thus
control-C should not terminate everything.
5. Given 4, mn -c is now necessary if you kill mininet.
2010-03-13 18:23:07 -08:00
Brandon Heller
f259e2fa1c
Don't try to codecheck non-existent mnclean
2010-03-04 22:26:29 -08:00
Bob Lantz
2626693241
Changed to report repeated pep8 issues.
2010-03-08 15:31:23 -08:00
Bob Lantz
281f6e59db
Minor changes to get 'make test' to pass.
...
- some namespace conflicts due to unpep8
- fixed infinite recursion caused by removing redundant makeIntfPair
2010-02-05 16:42:01 -08:00
Bob Lantz
80a8fa62d5
First crack at restoring mininet python style, assisted by handy
...
'unpep8' script, which does most of the work.
- topo.py is still in pep8
- not all examples work, but this is due to other issues
2010-02-05 02:33:34 -08:00
Bob Lantz
ac9554d6dc
Renamed mn_run.py -> mn, mn_clean.py -> mnclean; updated Makefle
...
It's possible that mn_clean is a bit easier to read; mnclean may be easier
to type, however.
Added variables to Makefile so that source files are listed in a single
location.
2010-02-03 15:29:07 -08:00
Brandon Heller
723d068c51
Add static code checking for style and errors
...
This required a change to logging, which now uses a singleton pattern.
For all future checkins, 'make codecheck' should pass.
2010-01-09 17:59:43 -08:00
Brandon Heller
ff43615ab1
Add example unit tests and Makefile target
2009-12-18 12:15:04 -08:00
Brandon Heller
fd99d67c33
Add make clean to remove dist files created by setuptools
2009-12-18 12:12:51 -08:00