-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapp.json
95 lines (95 loc) · 1.47 KB
/
app.json
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"components": {
"ThingsController": {
"hardware": {
"ram": 1,
"hdd": 10,
"cpu": 1
},
"software": [
"linux"
]
},
"DataStorage": {
"hardware": {
"ram": 8,
"hdd": 80,
"cpu": 4
},
"software": [
"linux", "sql"
]
},
"Dashboard": {
"hardware": {
"ram": 2,
"hdd": 20,
"cpu": 1
},
"software": [
"linux", "php"
]
}
},
"thing_requirements": [{
"component": "ThingsController",
"thing_type": "temperature",
"qos_profile": {
"latency": 1000,
"bw_c2t": 0.1,
"bw_t2c": 0.1
}
}, {
"component": "ThingsController",
"thing_type": "fire",
"qos_profile": {
"latency": 65,
"bw_c2t": 0.1,
"bw_t2c": 0.1
}
}, {
"component": "ThingsController",
"thing_type": "video",
"qos_profile": {
"latency": 30,
"bw_c2t": 0.1,
"bw_t2c": 5.0
}
}, {
"component": "ThingsController",
"thing_type": "water",
"qos_profile": {
"latency": 1000,
"bw_c2t": 0.1,
"bw_t2c": 0.1
}
}],
"link_requirements": [{
"component_a": "ThingsController",
"component_b": "DataStorage",
"qos_profile": {
"latency": 160,
"bw_ab": 3.5,
"bw_ba": 0.5
}
},
{
"component_a": "ThingsController",
"component_b": "Dashboard",
"qos_profile": {
"latency": 140,
"bw_ab": 0.9,
"bw_ba": 0.4
}
},
{
"component_a": "Dashboard",
"component_b": "DataStorage",
"qos_profile": {
"latency": 100,
"bw_ab": 0.3,
"bw_ba": 1.5
}
}
]
}