-
Notifications
You must be signed in to change notification settings - Fork 217
/
HostStatus.dot
77 lines (60 loc) · 4 KB
/
HostStatus.dot
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
digraph HostStateMachine {
graph [nodesep = "1.0", ranksep = "1.0"];
node [style = filled];
compound = true;
newrank = false;
start [shape = house, color = coral];
subgraph cluster_level1 {
"pending-for-input" [color = gold2]
discovering [color = gold2];
known [color = cadetblue3];
insufficient [color = lightpink];
}
disconnected [color = plum];
disabled [color = grey70];
subgraph cluster_level2 {
"preparing-for-installation" [color = darkolivegreen3];
installing [color = darkolivegreen3];
"installing-in-progress" [color = darkolivegreen3]
}
"installing-pending-user-action" [color = cornsilk]
installed [shape = doublecircle, color = chartreuse];
error [shape = doublecircle, color = crimson];
cancelled [shape = doublecircle, color = slategray];
subgraph cluster_level3 {
resetting [color = aquamarine3]
"resetting-pending-user-action" [color = yellow]
}
start -> discovering [label = "host\nregistered", color=goldenrod, fontcolor=goldenrod];
discovering -> disconnected [label = "no ping\n3 minutes", color=plum3, fontcolor=plum3, ltail = cluster_level1];
discovering -> "pending-for-input" [label = "user input required", color=goldenrod, fontcolor=goldenrod];
discovering -> known [label = "received\nall info", color=cadetblue4, fontcolor=cadetblue4];
discovering -> insufficient [label = "minimum\nrequirements\nnot satisfied", color=lightpink3, fontcolor=lightpink3];
discovering -> disabled [label = "user\ndisables", color=grey29, fontcolor=grey29, ltail = cluster_level1];
"pending-for-input" -> known [label = "received\nall info", color=cadetblue4, fontcolor=cadetblue4];
"pending-for-input" -> insufficient [label = "minimum\nrequirements\nnot satisfied", color=lightpink3, fontcolor=lightpink3];
known -> "preparing-for-installation" [label = "installation\nstarted", color=darkolivegreen4, fontcolor=darkolivegreen4];
known -> insufficient [label = "insufficient for role", color=lightpink3, fontcolor=lightpink3];
disconnected -> discovering [label = "received\nping", color=goldenrod, fontcolor=goldenrod];
disconnected -> disabled [label = "user\ndisables", color=grey29, fontcolor=grey29];
disabled -> discovering [label = "user\nenables", color=goldenrod, fontcolor=goldenrod];
insufficient -> known [label = "sufficient for role", color=cadetblue4, fontcolor=cadetblue4];
"preparing-for-installation" -> installing [color=darkolivegreen3];
"preparing-for-installation" -> error [label = "installation\nerror", color=crimson, fontcolor=crimson, ltail = cluster_level2];
"preparing-for-installation" -> cancelled [label = "cancel", color=slategray, fontcolor=slategray, ltail = cluster_level2];
installing -> "installing-in-progress" [color=darkolivegreen3];
"installing-in-progress" -> installed [label = "installation\ncompleted", color=chartreuse4, fontcolor=chartreuse4];
"installing-in-progress" -> "installing-pending-user-action" [label = "wrong boot\norder", color=cornsilk4, fontcolor=cornsilk4];
"installing-pending-user-action" -> installed [label = "boot from\ninstall disk", color=chartreuse4, fontcolor=chartreuse4];
cancelled -> resetting [label = "reset", color=aquamarine4, fontcolor=aquamarine4];
resetting -> discovering [color=goldenrod, fontcolor=goldenrod, ltail = cluster_level3];
resetting -> "resetting-pending-user-action" [label = "wrong boot\norder", color=yellow3, fontcolor=yellow3];
installed -> error [label = "installation", color=crimson, fontcolor=crimson, ltail = cluster_level2];
installed-> cancelled [label = "cancel", color=slategray, fontcolor=slategray, ltail = cluster_level2];
error -> cancelled [label = "cancel", color=slategray, fontcolor=slategray, ltail = cluster_level2];
{rank=min; start}
{rank=max; installed}
{rank=same; disconnected; disabled}
{rank=same; "pending-for-input"; discovering}
{rank=same; insufficient; known}
}