summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/data/sprites/segmentRouting.json
blob: 58d4702b70b7f06ae40998b1dfeaf56ab24f1cf8 (plain)
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
{
  "defn_name": "segmentRouting",
  "defn_desc": "Schematic of Data Center",

  "paths": [
    {
      "tag": "chassis",
      "stroke": {
        "width": 3.5
      },
      "viewbox": "0 0 120 170",
      "d": "M10,10h80v150h-80z"
    },
    {
      "tag": "module",
      "stroke": {
        "width": 2
      },
      "viewbox": "0 0 120 20",
      "d": "M15,5h70v12h-70z"
    }
  ],

  "defn": [
    {
      "id": "rack",
      "path": "chassis",
      "fill": "gray2",
      "subpathfill": "blue2",
      "subpaths": [
        { "path": "module", "pos": [0, 0]},
        { "path": "module", "pos": [0, 20]},
        { "path": "module", "pos": [0, 40]},
        { "path": "module", "pos": [0, 60]}
      ],
      "dim":[120,170]
    }
  ],

  "load": {
    "alpha": 0.9,
    "sprites": [
      { "id": "rack", "pos":[200,600], "class":"blue1" },
      { "id": "rack", "pos":[400,600], "class":"blue1" },
      { "id": "rack", "pos":[600,600], "class":"blue1" },
      { "id": "rack", "pos":[800,600], "class":"blue1" }
    ],
    "labels": [
      { "pos":[550,80], "text":"", "class":"blue1", "size":1.4 }
    ]
  }
}