blob: 58d4702b70b7f06ae40998b1dfeaf56ab24f1cf8 [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": [
Srikanth Vavilapalli8c1ccca2015-06-08 19:23:24 -070049 { "pos":[550,80], "text":"", "class":"blue1", "size":1.4 }
Simon Hunt7f62f7c2015-05-11 17:38:02 -070050 ]
51 }
52}