-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
91 lines (70 loc) · 1.9 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
boxplots: __all__.autotests.json
./topoboxplot.py __all__.autotests.json boxplots
testall: clos.json clos5.json grid.json simpletree.json fattree.json principle.json bipartite.json dcellswitched.json bcubeswitched.json
./topoautostandalonetest.py 30 clos clos5 grid simpletree fattree principle bipartite dcellswitched bcubeswitched
mn -c
-rm -f *.state
__all__.autotests.json: testall
@echo -n ""
testdcell:
mn -c
nohup ryu-manager latencycontroller.py dcellswitched.json&
./topoautotest.py dcellswitched
mn -c
-rm -f nohup.out
-rm -f dcellswitched.autotest.json
viewer:
./topoviewer.py
generatetopos:
./topocreatedcell.py
./topocreatedcellswitched.py
./topocreatebcube.py
./topocreatebcubeswitched.py
./topocreatebig.py
./topocreategrid.py
./topocreatebipartite.py
./topocreateclos.py
./topocreateclos5.py
./topocreatefattree.py
./topocreatesimpletree.py
./topomn2json.py principle
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
@echo -n ""
nopdfs:
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
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
grid.json:
./topocreategrid.py
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
clear:
rm -rf boxplots
rm -rf resultcache
rm -rf *.json
rm -rf *.pdf
rm -rf *.pdf.bw.txt
rm -rf *.state