blob: 39dd70b0a3117dff6de29a310c6095ac950ff0b1 [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": [
43 { "id": "rack", "pos":[300,600], "class":"blue1" },
44 { "id": "rack", "pos":[500,600], "class":"blue1" },
45 { "id": "rack", "pos":[700,600], "class":"blue1" }
46 ],
47 "labels": [
48 { "pos":[550,80], "text":"Segment Routing Demo", "class":"blue1", "size":1.4 }
49 ]
50 }
51}