ufes-20191-redes-mininet/proj-impl/Makefile

92 lines
1.9 KiB
Makefile
Raw Normal View History

2019-07-07 14:48:16 +00:00
boxplots: __all__.autotests.json
./topoboxplot.py __all__.autotests.json boxplots
2019-07-05 08:52:59 +00:00
testall: clos.json clos5.json grid.json simpletree.json fattree.json principle.json bipartite.json dcellswitched.json bcubeswitched.json
2019-07-07 14:48:16 +00:00
./topoautostandalonetest.py 30 clos clos5 grid simpletree fattree principle bipartite dcellswitched bcubeswitched
2019-07-01 23:42:25 +00:00
mn -c
-rm -f *.state
2019-07-05 08:52:59 +00:00
__all__.autotests.json: testall
@echo -n ""
2019-07-01 23:42:25 +00:00
testdcell:
mn -c
nohup ryu-manager latencycontroller.py dcellswitched.json&
./topoautotest.py dcellswitched
mn -c
-rm -f nohup.out
-rm -f dcellswitched.autotest.json
2019-07-10 05:36:02 +00:00
viewer:
./topoviewer.py
2019-07-01 23:42:25 +00:00
generatetopos:
./topocreatedcell.py
./topocreatedcellswitched.py
./topocreatebcube.py
./topocreatebcubeswitched.py
./topocreatebig.py
2019-07-05 08:52:59 +00:00
./topocreategrid.py
2019-07-01 23:42:25 +00:00
./topocreatebipartite.py
./topocreateclos.py
./topocreateclos5.py
./topocreatefattree.py
./topocreatesimpletree.py
./topomn2json.py principle
2019-07-05 08:52:59 +00:00
allpdfs: nopdfs clos.pdf clos5.pdf bigtopo.pdf grid.pdf simpletree.pdf fattree.pdf principle.pdf bipartite.pdf dcellswitched.pdf bcubeswitched.pdf dcell.pdf bcube.pdf
2019-07-01 23:42:25 +00:00
@echo -n ""
nopdfs:
2019-07-05 08:52:59 +00:00
rm -f clos.pdf clos5.pdf bigtopo.pdf grid.pdf simpletree.pdf fattree.pdf principle.pdf bipartite.pdf dcellswitched.pdf bcubeswitched.pdf dcell.pdf bcube.pdf
2019-07-01 23:42:25 +00:00
rm -f *.pdf.bw.txt
%.pdf: %.json
./toporenderpdfgraph.py $<
pdfcrop $@ tmp.pdf
mv tmp.pdf $@
dcell.json:
./topocreatedcell.py
dcellswitched.json:
./topocreatedcellswitched.py
bcube.json:
./topocreatebcube.py
bcubeswitched.json:
./topocreatebcubeswitched.py
bigtopo.json:
./topocreatebig.py
2019-07-05 08:52:59 +00:00
grid.json:
./topocreategrid.py
2019-07-01 23:42:25 +00:00
bipartite.json:
./topocreatebipartite.py
clos.json:
./topocreateclos.py
clos5.json:
./topocreateclos5.py
fattree.json:
./topocreatefattree.py
simpletree.json:
./topocreatesimpletree.py
principle.json:
./topomn2json.py principle
2019-07-10 05:36:02 +00:00
clear:
rm -rf boxplots
rm -rf resultcache
rm -rf *.json
rm -rf *.pdf
rm -rf *.pdf.bw.txt
rm -rf *.state