blob: 98ebc2646f175c9ab44d06c8e1074c234fc7623e [file] [log] [blame]
Simon Hunt01172052015-04-23 12:16:48 -07001{
2 "defn_name": "demo-clouds",
3 "defn_desc": "Demo Sample Subnet Clouds",
4
5 "_comment": [
6 "Sample cloud sprite layout",
7 "(1) Register on the server with ...",
8 " onos-upload-sprites localhost demo-clouds.json",
9 "(2) Load into topology view with ...",
10 " http://localhost:8181/onos/ui/index.html#/topo?sprites=demo-clouds"
11 ],
12
13 "paths": [
14 {
15 "tag": "dotted-cloud",
16 "stroke": {
17 "width": 0.8,
18 "dasharray": [2,2]
19 },
20 "glyph": "cloud"
21 }
22 ],
23
24 "defn": [
25 {
26 "id": "subnetA",
27 "path": "dotted-cloud",
28 "dim": [400,400],
29 "labelyoff": 0.85
30 }
31 ],
32
33 "load": {
34 "sprites": [
Simon Huntcd4a0c62015-04-23 12:21:02 -070035 { "id": "subnetA", "pos":[250,40], "label":"192.168.2.0/24", "class":"blue1" },
36 { "id": "subnetA", "pos":[-200,400], "label":"192.168.1.0/24", "class":"gold1" },
37 { "id": "subnetA", "pos":[700,400], "label":"192.168.3.0/24", "class":"gold1" }
Simon Hunt01172052015-04-23 12:16:48 -070038 ],
39 "labels": [
40 { "pos":[450,700], "text":"Demo Subnets", "size":1.6 }
41 ]
42 }
43
44}
Simon Huntcd4a0c62015-04-23 12:21:02 -070045