blob: 6b56b2f181295d4108190a31f9f60d6bc0a03b3e [file] [log] [blame]
Simon Hunt7f62f7c2015-05-11 17:38:02 -07001{
2 "defn_name": "segmentRouting",
3 "defn_desc": "Schematic of Data Center",
4
5 "paths": [
6 {
7 "tag": "chassis",
8 "stroke": {
9 "width": 3.5
10 },
11 "viewbox": "0 0 120 170",
12 "d": "M10,10h80v150h-80z"
13 },
14 {
15 "tag": "module",
16 "stroke": {
17 "width": 2
18 },
19 "viewbox": "0 0 120 20",
20 "d": "M15,5h70v12h-70z"
21 }
22 ],
23
24 "defn": [
25 {
26 "id": "rack",
27 "path": "chassis",
28 "fill": "gray2",
29 "subpathfill": "blue2",
30 "subpaths": [
31 { "path": "module", "pos": [0, 0]},
32 { "path": "module", "pos": [0, 20]},
33 { "path": "module", "pos": [0, 40]},
34 { "path": "module", "pos": [0, 60]}
35 ],
36 "dim":[120,170]
37 }
38 ],
39
40 "load": {
41 "alpha": 0.9,
42 "sprites": [
Srikanth Vavilapalli5428b6c2015-05-14 20:22:47 -070043 { "id": "rack", "pos":[200,600], "class":"blue1" },
44 { "id": "rack", "pos":[400,600], "class":"blue1" },
45 { "id": "rack", "pos":[600,600], "class":"blue1" },
46 { "id": "rack", "pos":[800,600], "class":"blue1" }
Simon Hunt7f62f7c2015-05-11 17:38:02 -070047 ],
48 "labels": [
49 { "pos":[550,80], "text":"Segment Routing Demo", "class":"blue1", "size":1.4 }
50 ]
51 }
52}