Project

General

Profile

Dispatching containers to cloud VMs ยป cdc-states.svg

Tom Clegg, 12/20/2018 08:17 PM

 
1
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
3

    
4
<svg width="2130.752" height="452.28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
5
<!-- Generated at Thu Dec 20 15:17:15 2018 by:
6
  Graph::Easy v0.76
7
  Graph::Easy::As_svg v0.27
8
-->
9

    
10
<title>Untitled graph</title>
11
<defs>
12
 <!-- open arrow -->
13
 <g id="ah" stroke-linecap="round" stroke-width="1">
14
  <line x1="-8" y1="-4" x2="1" y2="0" />
15
  <line x1="1" y1="0" x2="-8" y2="4" />
16
 </g>
17

    
18
 <!-- class definitions -->
19
 <style type="text/css"><![CDATA[
20
 .edge {
21
  font-size: 13px;
22
  stroke: black;
23
  text-align: center;
24
 }
25
 .graph {
26
  font-size: 16px;
27
  text-align: center;
28
 }
29
 .node {
30
  font-size: 16px;
31
  text-align: center;
32
 }
33
 ]]></style>
34
</defs>
35

    
36
<!-- graph background with border (mainly for printing) -->
37
<rect x="0.5" y="0.5" width="2128.752" height="450.28" fill="white" stroke="white" />
38

    
39
<g id="10" class="edge">
40
 <!-- from Idle to Shutdown -->
41
 <!-- horizontal -->
42
 <line x1="1110.12" y1="205.8" x2="1277.5" y2="205.8" stroke="#000000" />
43

    
44
 <!-- horizontal -->
45
 <line x1="1277.5" y1="205.8" x2="1368.5" y2="205.8" stroke="#000000" />
46

    
47
 <!-- horizontal -->
48
 <line x1="1368.5" y1="205.8" x2="1613.92" y2="205.8" stroke="#000000" />
49
 <use stroke="#000000" xlink:href="#ah" x="1614.92" y="205.8"/>
50
 <text x="1388" y="201" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">idle timeout</text>
51
</g>
52

    
53
<g id="11" class="edge">
54
 <!-- from Idle to Shutdown -->
55
 <!-- horizontal -->
56
 <line x1="1110.12" y1="271.08" x2="1277.5" y2="271.08" stroke="#000000" />
57

    
58
 <!-- horizontal -->
59
 <line x1="1277.5" y1="271.08" x2="1368.5" y2="271.08" stroke="#000000" />
60

    
61
 <!-- horizontal -->
62
 <line x1="1368.5" y1="271.08" x2="1613.92" y2="271.08" stroke="#000000" />
63
 <use stroke="#000000" xlink:href="#ah" x="1614.92" y="271.08"/>
64
 <text x="1388" y="266" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">probe timeout</text>
65
</g>
66

    
67
<g id="12" class="edge">
68
 <!-- from Idle to Shutdown -->
69
 <!-- south/east corner -->
70
 <g stroke="#000000">
71
  <line x1="1067.52" y1="74.74" x2="1067.52" y2="101.48" />
72
  <line x1="1067.02" y1="75.24" x2="1091.52" y2="75.24" />
73
 </g>
74

    
75
 <!-- horizontal -->
76
 <line x1="1091.52" y1="75.24" x2="1277.5" y2="75.24" stroke="#000000" />
77

    
78
 <!-- crossing -->
79
 <g stroke="#000000">
80
  <line x1="1277.5" y1="75.24" x2="1368.5" y2="75.24" />
81
  <line x1="1323" y1="42.6" x2="1323" y2="101.48" stroke="#000000" stroke-dasharray="1 0"/>
82
 </g>
83

    
84
 <!-- horizontal -->
85
 <line x1="1368.5" y1="75.24" x2="1642.3" y2="75.24" stroke="#000000" />
86
 <text x="1394.104" y="70" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">want=drain</text>
87

    
88
 <!-- south/west corner -->
89
 <g stroke="#000000">
90
  <line x1="1693.3" y1="74.74" x2="1693.3" y2="100.35" />
91
  <line x1="1642.3" y1="75.24" x2="1693.8" y2="75.24" />
92
 </g>
93
 <use stroke="#000000" xlink:href="#ah" transform="translate(1693.3 101.35)rotate(90)"/>
94
</g>
95

    
96
<g id="14" class="edge">
97
 <!-- from Idle to Running -->
98
 <!-- horizontal -->
99
 <line x1="1110.12" y1="140.52" x2="1257.91" y2="140.52" stroke="#000000" />
100
 <use stroke="#000000" xlink:href="#ah" x="1258.91" y="140.52"/>
101
 <text x="1112" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">container starts</text>
102
</g>
103

    
104
<g id="15" class="edge">
105
 <!-- from Running to Idle -->
106
 <!-- south/west corner -->
107
 <g stroke="#000000">
108
  <line x1="1323" y1="29.3" x2="1323" y2="42.6" />
109
  <line x1="1277.5" y1="29.8" x2="1323.5" y2="29.8" />
110
 </g>
111

    
112
 <!-- horizontal -->
113
 <line x1="42.6" y1="29.8" x2="1277.5" y2="29.8" stroke="#000000" />
114

    
115
 <!-- south/east corner -->
116
 <g stroke="#000000">
117
  <line x1="29.8" y1="29.3" x2="29.8" y2="42.6" />
118
  <line x1="29.3" y1="29.8" x2="42.6" y2="29.8" />
119
 </g>
120

    
121
 <!-- vertical -->
122
 <line x1="29.8" y1="42.6" x2="29.8" y2="369" stroke="#000000" />
123

    
124
 <!-- north/east corner -->
125
 <g stroke="#000000">
126
  <line x1="29.8" y1="369" x2="29.8" y2="402.14" />
127
  <line x1="29.3" y1="401.64" x2="42.6" y2="401.64" />
128
 </g>
129

    
130
 <!-- horizontal -->
131
 <line x1="42.6" y1="401.64" x2="1043.52" y2="401.64" stroke="#000000" />
132
 <text x="68.2" y="396" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">container ends</text>
133

    
134
 <!-- north/west corner -->
135
 <g stroke="#000000">
136
  <line x1="1067.52" y1="369" x2="1067.52" y2="402.14" />
137
  <line x1="1043.52" y1="401.64" x2="1068.02" y2="401.64" />
138
 </g>
139
</g>
140

    
141
<g id="16" class="edge">
142
 <!-- from Running to Shutdown -->
143
 <!-- horizontal -->
144
 <line x1="1395.88" y1="140.52" x2="1613.92" y2="140.52" stroke="#000000" />
145
 <use stroke="#000000" xlink:href="#ah" x="1614.92" y="140.52"/>
146
 <text x="1388" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">container ends, want=drain</text>
147
</g>
148

    
149
<g id="18" class="edge">
150
 <!-- from Shutdown to Gone -->
151
 <!-- horizontal -->
152
 <line x1="1775.04" y1="140.52" x2="2020.01" y2="140.52" stroke="#000000" />
153
 <use stroke="#000000" xlink:href="#ah" x="2021.01" y="140.52"/>
154
 <text x="1764" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">instance disappears from cloud</text>
155
</g>
156

    
157
<g id="2" class="edge">
158
 <!-- from Nonexistent to Unknown -->
159
 <!-- horizontal -->
160
 <line x1="183.79" y1="140.52" x2="368.34" y2="140.52" stroke="#000000" />
161
 <use stroke="#000000" xlink:href="#ah" x="369.34" y="140.52"/>
162
 <text x="181" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">appears in cloud list</text>
163
</g>
164

    
165
<g id="4" class="edge">
166
 <!-- from Nonexistent to Booting -->
167
 <!-- south/east corner -->
168
 <g stroke="#000000">
169
  <line x1="101.6" y1="74.74" x2="101.6" y2="101.48" />
170
  <line x1="101.1" y1="75.24" x2="160.6" y2="75.24" />
171
 </g>
172

    
173
 <!-- horizontal -->
174
 <line x1="160.6" y1="75.24" x2="702.04" y2="75.24" stroke="#000000" />
175
 <text x="186.2" y="70" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">create() returns ID</text>
176

    
177
 <!-- south/west corner -->
178
 <g stroke="#000000">
179
  <line x1="742.54" y1="74.74" x2="742.54" y2="100.35" />
180
  <line x1="702.04" y1="75.24" x2="743.04" y2="75.24" />
181
 </g>
182
 <use stroke="#000000" xlink:href="#ah" transform="translate(742.54 101.35)rotate(90)"/>
183
</g>
184

    
185
<g id="5" class="edge">
186
 <!-- from Unknown to Booting -->
187
 <!-- horizontal -->
188
 <line x1="509.89" y1="140.52" x2="679.69" y2="140.52" stroke="#000000" />
189
 <use stroke="#000000" xlink:href="#ah" x="680.69" y="140.52"/>
190
 <text x="509" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">create() returns ID</text>
191
</g>
192

    
193
<g id="7" class="edge">
194
 <!-- from Unknown to Shutdown -->
195
 <!-- vertical -->
196
 <line x1="440.54" y1="179.56" x2="440.54" y2="238.44" stroke="#000000" />
197

    
198
 <!-- vertical -->
199
 <line x1="440.54" y1="238.44" x2="440.54" y2="303.72" stroke="#000000" />
200

    
201
 <!-- north/east corner -->
202
 <g stroke="#000000">
203
  <line x1="440.54" y1="303.72" x2="440.54" y2="336.86" />
204
  <line x1="440.04" y1="336.36" x2="488.54" y2="336.36" />
205
 </g>
206

    
207
 <!-- horizontal -->
208
 <line x1="488.54" y1="336.36" x2="1043.52" y2="336.36" stroke="#000000" />
209

    
210
 <!-- crossing -->
211
 <g stroke="#000000">
212
  <line x1="1043.52" y1="336.36" x2="1091.52" y2="336.36" />
213
  <line x1="1067.52" y1="311.25" x2="1067.52" y2="369" stroke="#000000" stroke-dasharray="1 0"/>
214
 </g>
215
 <use stroke="#000000" xlink:href="#ah" transform="translate(1067.52 310.25)rotate(-90)"/>
216

    
217
 <!-- horizontal -->
218
 <line x1="1091.52" y1="336.36" x2="1642.3" y2="336.36" stroke="#000000" />
219
 <text x="1117.12" y="331" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">boot timeout</text>
220

    
221
 <!-- north/west corner -->
222
 <g stroke="#000000">
223
  <line x1="1693.3" y1="311.25" x2="1693.3" y2="336.86" />
224
  <line x1="1642.3" y1="336.36" x2="1693.8" y2="336.36" />
225
 </g>
226
 <use stroke="#000000" xlink:href="#ah" transform="translate(1693.3 310.25)rotate(-90)"/>
227
</g>
228

    
229
<g id="9" class="edge">
230
 <!-- from Booting to Idle -->
231
 <!-- horizontal -->
232
 <line x1="809.09" y1="140.52" x2="1016.47" y2="140.52" stroke="#000000" />
233
 <use stroke="#000000" xlink:href="#ah" x="1017.47" y="140.52"/>
234
 <text x="803" y="135" style="font-family:sans-serif;font-size:12.8px" fill="#000000" stroke="none">boot+run probes succeed</text>
235
</g>
236

    
237
<g id="0" class="node">
238
 <!-- Nonexistent, rect -->
239
 <rect fill="#ffffff" height="64.28" stroke="#000000" width="117" x="43.1" y="108.38" />
240
 <text x="101" y="146" style="font-family:serif" fill="#000000" text-anchor="middle">Nonexistent</text>
241
</g>
242

    
243
<g id="1" class="node">
244
 <!-- Unknown, rect -->
245
 <rect fill="#ffffff" height="64.28" stroke="#000000" width="95" x="393.036" y="108.38" />
246
 <text x="440" y="146" style="font-family:serif" fill="#000000" text-anchor="middle">Unknown</text>
247
</g>
248

    
249
<g id="3" class="node">
250
 <!-- Booting, rect -->
251
 <rect fill="#ffffff" height="64.28" stroke="#000000" width="80" x="702.54" y="108.38" />
252
 <text x="742" y="146" style="font-family:serif" fill="#000000" text-anchor="middle">Booting</text>
253
</g>
254

    
255
<g id="6" class="node">
256
 <!-- Shutdown, rect -->
257
 <rect fill="#ffffff" height="194.84" stroke="#000000" width="101" x="1642.796" y="108.38" />
258
 <text x="1693" y="211" style="font-family:serif" fill="#000000" text-anchor="middle">Shutdown</text>
259
</g>
260

    
261
<g id="8" class="node">
262
 <!-- Idle, rect -->
263
 <rect fill="#ffffff" height="194.84" stroke="#000000" width="47" x="1044.02" y="108.38" />
264
 <text x="1067" y="211" style="font-family:serif" fill="#000000" text-anchor="middle">Idle</text>
265
</g>
266

    
267
<g id="13" class="node">
268
 <!-- Running, rect -->
269
 <rect fill="#ffffff" height="64.28" stroke="#000000" width="90" x="1278.004" y="108.38" />
270
 <text x="1323" y="146" style="font-family:serif" fill="#000000" text-anchor="middle">Running</text>
271
</g>
272

    
273
<g id="17" class="node">
274
 <!-- Gone, rect -->
275
 <rect fill="#ffffff" height="64.28" stroke="#000000" width="60" x="2052.252" y="108.38" />
276
 <text x="2082" y="146" style="font-family:serif" fill="#000000" text-anchor="middle">Gone</text>
277
</g>
278

    
279
</svg>
    (1-1/1)