mu 5.7.8 → 5.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. data/lib/mu.rb +1 -1
  2. data/lib/mu/command.rb +18 -2
  3. data/lib/mu/command/cmd_musl.rb +165 -0
  4. data/lib/mu/command/cmd_runscale.rb +12 -8
  5. data/lib/mu/command/help.rb +1 -0
  6. data/lib/mu/har.rb +449 -0
  7. data/lib/mu/libxml.rb +21 -0
  8. data/lib/mu/maker.rb +288 -0
  9. data/lib/mu/xmlizable.rb +559 -0
  10. metadata +78 -267
  11. data/rdoc/Gemfile.html +0 -194
  12. data/rdoc/LICENSE_txt.html +0 -201
  13. data/rdoc/Mu.html +0 -478
  14. data/rdoc/Mu/Client.html +0 -461
  15. data/rdoc/Mu/Command.html +0 -338
  16. data/rdoc/Mu/Command/API.html +0 -844
  17. data/rdoc/Mu/Command/Cmd_appid.html +0 -1341
  18. data/rdoc/Mu/Command/Cmd_cli.html +0 -800
  19. data/rdoc/Mu/Command/Cmd_ddt.html +0 -1612
  20. data/rdoc/Mu/Command/Cmd_homepage.html +0 -762
  21. data/rdoc/Mu/Command/Cmd_muapi.html +0 -1363
  22. data/rdoc/Mu/Command/Cmd_netconfig.html +0 -1077
  23. data/rdoc/Mu/Command/Cmd_runscale.html +0 -1441
  24. data/rdoc/Mu/Command/Cmd_runscenario.html +0 -787
  25. data/rdoc/Mu/Command/Cmd_runverify.html +0 -893
  26. data/rdoc/Mu/Command/Cmd_scale.html +0 -1323
  27. data/rdoc/Mu/Command/Cmd_system.html +0 -677
  28. data/rdoc/Mu/Command/Curl.html +0 -751
  29. data/rdoc/Mu/Command/Help.html +0 -305
  30. data/rdoc/Mu/Curl.html +0 -243
  31. data/rdoc/Mu/Curl/Error.html +0 -304
  32. data/rdoc/Mu/Curl/Error/Authorize.html +0 -355
  33. data/rdoc/Mu/Curl/Error/Connect.html +0 -286
  34. data/rdoc/Mu/Curl/Error/DNS.html +0 -236
  35. data/rdoc/Mu/Curl/Error/Region.html +0 -307
  36. data/rdoc/Mu/Curl/Error/Status.html +0 -286
  37. data/rdoc/Mu/Curl/Error/Timeout.html +0 -286
  38. data/rdoc/Mu/Curl/Verify.html +0 -472
  39. data/rdoc/Mu/Curl/Verify/Request.html +0 -424
  40. data/rdoc/Mu/Curl/Verify/Response.html +0 -372
  41. data/rdoc/Mu/Curl/Verify/Result.html +0 -373
  42. data/rdoc/Mu/Ddt.html +0 -1347
  43. data/rdoc/Mu/Helper.html +0 -517
  44. data/rdoc/Mu/Homepage.html +0 -719
  45. data/rdoc/Mu/HttpHelper.html +0 -890
  46. data/rdoc/Mu/Muapi.html +0 -1226
  47. data/rdoc/Mu/Netconfig.html +0 -1178
  48. data/rdoc/Mu/Scale.html +0 -1359
  49. data/rdoc/Mu/System.html +0 -504
  50. data/rdoc/Object.html +0 -285
  51. data/rdoc/README_rdoc.html +0 -892
  52. data/rdoc/Rakefile.html +0 -257
  53. data/rdoc/TCTestMu.html +0 -2583
  54. data/rdoc/Test.html +0 -235
  55. data/rdoc/Test/Unit.html +0 -235
  56. data/rdoc/Test/Unit/TestCase.html +0 -236
  57. data/rdoc/Test/helper_rb.html +0 -62
  58. data/rdoc/Test/tc_test_mu_rb.html +0 -60
  59. data/rdoc/VERSION.html +0 -179
  60. data/rdoc/bin/mu.html +0 -54
  61. data/rdoc/classes/Mu.html +0 -132
  62. data/rdoc/classes/Mu/Client.html +0 -214
  63. data/rdoc/classes/Mu/Command.html +0 -129
  64. data/rdoc/classes/Mu/Command/API.html +0 -362
  65. data/rdoc/classes/Mu/Command/Cmd_appid.html +0 -238
  66. data/rdoc/classes/Mu/Command/Cmd_cli.html +0 -273
  67. data/rdoc/classes/Mu/Command/Cmd_ddt.html +0 -639
  68. data/rdoc/classes/Mu/Command/Cmd_homepage.html +0 -276
  69. data/rdoc/classes/Mu/Command/Cmd_muapi.html +0 -527
  70. data/rdoc/classes/Mu/Command/Cmd_netconfig.html +0 -399
  71. data/rdoc/classes/Mu/Command/Cmd_runscale.html +0 -220
  72. data/rdoc/classes/Mu/Command/Cmd_runscenario.html +0 -197
  73. data/rdoc/classes/Mu/Command/Cmd_runverify.html +0 -196
  74. data/rdoc/classes/Mu/Command/Cmd_scale.html +0 -511
  75. data/rdoc/classes/Mu/Command/Cmd_system.html +0 -236
  76. data/rdoc/classes/Mu/Command/Curl.html +0 -182
  77. data/rdoc/classes/Mu/Command/Help.html +0 -137
  78. data/rdoc/classes/Mu/Curl.html +0 -116
  79. data/rdoc/classes/Mu/Curl/Error.html +0 -148
  80. data/rdoc/classes/Mu/Curl/Error/Authorize.html +0 -165
  81. data/rdoc/classes/Mu/Curl/Error/Connect.html +0 -139
  82. data/rdoc/classes/Mu/Curl/Error/DNS.html +0 -113
  83. data/rdoc/classes/Mu/Curl/Error/Region.html +0 -150
  84. data/rdoc/classes/Mu/Curl/Error/Status.html +0 -139
  85. data/rdoc/classes/Mu/Curl/Error/Timeout.html +0 -139
  86. data/rdoc/classes/Mu/Curl/Verify.html +0 -207
  87. data/rdoc/classes/Mu/Curl/Verify/Request.html +0 -187
  88. data/rdoc/classes/Mu/Curl/Verify/Response.html +0 -172
  89. data/rdoc/classes/Mu/Curl/Verify/Result.html +0 -172
  90. data/rdoc/classes/Mu/Ddt.html +0 -610
  91. data/rdoc/classes/Mu/Helper.html +0 -308
  92. data/rdoc/classes/Mu/Homepage.html +0 -306
  93. data/rdoc/classes/Mu/HttpHelper.html +0 -393
  94. data/rdoc/classes/Mu/Muapi.html +0 -549
  95. data/rdoc/classes/Mu/Netconfig.html +0 -478
  96. data/rdoc/classes/Mu/Scale.html +0 -580
  97. data/rdoc/classes/Mu/System.html +0 -232
  98. data/rdoc/classes/Object.html +0 -139
  99. data/rdoc/classes/TCTestMu.html +0 -948
  100. data/rdoc/classes/Test.html +0 -107
  101. data/rdoc/classes/Test/Unit.html +0 -107
  102. data/rdoc/classes/Test/Unit/TestCase.html +0 -113
  103. data/rdoc/created.rid +0 -36
  104. data/rdoc/files/lib/mu/api/ddt_rb.html +0 -101
  105. data/rdoc/files/lib/mu/api/homepage_rb.html +0 -101
  106. data/rdoc/files/lib/mu/api/muapi_rb.html +0 -101
  107. data/rdoc/files/lib/mu/api/netconfig_rb.html +0 -101
  108. data/rdoc/files/lib/mu/api/scale_rb.html +0 -101
  109. data/rdoc/files/lib/mu/api/system_rb.html +0 -101
  110. data/rdoc/files/lib/mu/client_rb.html +0 -101
  111. data/rdoc/files/lib/mu/command/api_rb.html +0 -101
  112. data/rdoc/files/lib/mu/command/cmd_appid_rb.html +0 -119
  113. data/rdoc/files/lib/mu/command/cmd_cli_rb.html +0 -108
  114. data/rdoc/files/lib/mu/command/cmd_ddt_rb.html +0 -116
  115. data/rdoc/files/lib/mu/command/cmd_homepage_rb.html +0 -115
  116. data/rdoc/files/lib/mu/command/cmd_muapi_rb.html +0 -115
  117. data/rdoc/files/lib/mu/command/cmd_netconfig_rb.html +0 -116
  118. data/rdoc/files/lib/mu/command/cmd_runscale_rb.html +0 -119
  119. data/rdoc/files/lib/mu/command/cmd_runscenario_rb.html +0 -115
  120. data/rdoc/files/lib/mu/command/cmd_runverify_rb.html +0 -118
  121. data/rdoc/files/lib/mu/command/cmd_scale_rb.html +0 -115
  122. data/rdoc/files/lib/mu/command/cmd_system_rb.html +0 -116
  123. data/rdoc/files/lib/mu/command/curl_rb.html +0 -101
  124. data/rdoc/files/lib/mu/command/help_rb.html +0 -101
  125. data/rdoc/files/lib/mu/command_rb.html +0 -107
  126. data/rdoc/files/lib/mu/curl/error_rb.html +0 -101
  127. data/rdoc/files/lib/mu/curl/verify_rb.html +0 -101
  128. data/rdoc/files/lib/mu/helper_rb.html +0 -101
  129. data/rdoc/files/lib/mu/http_helper_rb.html +0 -101
  130. data/rdoc/files/lib/mu_rb.html +0 -121
  131. data/rdoc/files/test/helper_rb.html +0 -112
  132. data/rdoc/files/test/tc_test_mu_rb.html +0 -111
  133. data/rdoc/fr_class_index.html +0 -34
  134. data/rdoc/fr_file_index.html +0 -31
  135. data/rdoc/fr_method_index.html +0 -112
  136. data/rdoc/images/brick.png +0 -0
  137. data/rdoc/images/brick_link.png +0 -0
  138. data/rdoc/images/bug.png +0 -0
  139. data/rdoc/images/bullet_black.png +0 -0
  140. data/rdoc/images/bullet_toggle_minus.png +0 -0
  141. data/rdoc/images/bullet_toggle_plus.png +0 -0
  142. data/rdoc/images/date.png +0 -0
  143. data/rdoc/images/find.png +0 -0
  144. data/rdoc/images/loadingAnimation.gif +0 -0
  145. data/rdoc/images/macFFBgHack.png +0 -0
  146. data/rdoc/images/package.png +0 -0
  147. data/rdoc/images/page_green.png +0 -0
  148. data/rdoc/images/page_white_text.png +0 -0
  149. data/rdoc/images/page_white_width.png +0 -0
  150. data/rdoc/images/plugin.png +0 -0
  151. data/rdoc/images/ruby.png +0 -0
  152. data/rdoc/images/tag_green.png +0 -0
  153. data/rdoc/images/wrench.png +0 -0
  154. data/rdoc/images/wrench_orange.png +0 -0
  155. data/rdoc/images/zoom.png +0 -0
  156. data/rdoc/index.html +0 -884
  157. data/rdoc/js/darkfish.js +0 -116
  158. data/rdoc/js/jquery.js +0 -32
  159. data/rdoc/js/quicksearch.js +0 -114
  160. data/rdoc/js/thickbox-compressed.js +0 -10
  161. data/rdoc/lib/mu/api/ddt_rb.html +0 -52
  162. data/rdoc/lib/mu/api/homepage_rb.html +0 -52
  163. data/rdoc/lib/mu/api/muapi_rb.html +0 -52
  164. data/rdoc/lib/mu/api/netconfig_rb.html +0 -52
  165. data/rdoc/lib/mu/api/scale_rb.html +0 -52
  166. data/rdoc/lib/mu/api/system_rb.html +0 -52
  167. data/rdoc/lib/mu/client_rb.html +0 -52
  168. data/rdoc/lib/mu/command/api_rb.html +0 -52
  169. data/rdoc/lib/mu/command/cmd_appid_rb.html +0 -62
  170. data/rdoc/lib/mu/command/cmd_cli_rb.html +0 -55
  171. data/rdoc/lib/mu/command/cmd_ddt_rb.html +0 -60
  172. data/rdoc/lib/mu/command/cmd_homepage_rb.html +0 -57
  173. data/rdoc/lib/mu/command/cmd_muapi_rb.html +0 -59
  174. data/rdoc/lib/mu/command/cmd_netconfig_rb.html +0 -58
  175. data/rdoc/lib/mu/command/cmd_runscale_rb.html +0 -62
  176. data/rdoc/lib/mu/command/cmd_runscenario_rb.html +0 -57
  177. data/rdoc/lib/mu/command/cmd_runverify_rb.html +0 -61
  178. data/rdoc/lib/mu/command/cmd_scale_rb.html +0 -58
  179. data/rdoc/lib/mu/command/cmd_system_rb.html +0 -59
  180. data/rdoc/lib/mu/command/curl_rb.html +0 -52
  181. data/rdoc/lib/mu/command/help_rb.html +0 -52
  182. data/rdoc/lib/mu/command_rb.html +0 -55
  183. data/rdoc/lib/mu/curl/error_rb.html +0 -52
  184. data/rdoc/lib/mu/curl/verify_rb.html +0 -52
  185. data/rdoc/lib/mu/helper_rb.html +0 -52
  186. data/rdoc/lib/mu/http_helper_rb.html +0 -52
  187. data/rdoc/lib/mu_rb.html +0 -80
  188. data/rdoc/rdoc-style.css +0 -208
  189. data/rdoc/rdoc.css +0 -706
  190. data/test/data/app_id_stats.csv +0 -1
  191. data/test/data/app_id_status.json +0 -156
  192. data/test/data/data_cgi.msl +0 -94
  193. data/test/data/data_cgi.xml +0 -322
  194. data/test/data/default_test.csv +0 -3
  195. data/test/data/ftp_with_channel.xml +0 -1643
  196. data/test/data/irc.xml +0 -3837
  197. data/test/data/scale.json +0 -25
  198. data/test/data/test_data_cgi_error.xml +0 -35
@@ -1,273 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Mu::Command::Cmd_cli</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Mu::Command::Cmd_cli</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/mu/command/cmd_cli_rb.html">
59
- lib/mu/command/cmd_cli.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Command
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000201">cmd_cli_help</a>&nbsp;&nbsp;
90
- <a href="#M000200">cmd_help</a>&nbsp;&nbsp;
91
- <a href="#M000203">cmd_history</a>&nbsp;&nbsp;
92
- <a href="#M000204">cmd_ping</a>&nbsp;&nbsp;
93
- <a href="#M000202">cmd_question</a>&nbsp;&nbsp;
94
- <a href="#M000205">cmd_traceroute</a>&nbsp;&nbsp;
95
- </div>
96
- </div>
97
-
98
- </div>
99
-
100
-
101
- <!-- if includes -->
102
-
103
- <div id="section">
104
-
105
-
106
-
107
-
108
-
109
- <div id="attribute-list">
110
- <h3 class="section-bar">Attributes</h3>
111
-
112
- <div class="name-list">
113
- <table>
114
- <tr class="top-aligned-row context-row">
115
- <td class="context-item-name">api</td>
116
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
117
- <td class="context-item-desc"></td>
118
- </tr>
119
- <tr class="top-aligned-row context-row">
120
- <td class="context-item-name">host</td>
121
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
122
- <td class="context-item-desc"></td>
123
- </tr>
124
- <tr class="top-aligned-row context-row">
125
- <td class="context-item-name">password</td>
126
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
127
- <td class="context-item-desc"></td>
128
- </tr>
129
- <tr class="top-aligned-row context-row">
130
- <td class="context-item-name">username</td>
131
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
132
- <td class="context-item-desc"></td>
133
- </tr>
134
- </table>
135
- </div>
136
- </div>
137
-
138
-
139
-
140
- <!-- if method_list -->
141
- <div id="methods">
142
- <h3 class="section-bar">Public Instance methods</h3>
143
-
144
- <div id="method-M000201" class="method-detail">
145
- <a name="M000201"></a>
146
-
147
- <div class="method-heading">
148
- <a href="Cmd_cli.src/M000201.html" target="Code" class="method-signature"
149
- onclick="popupCode('Cmd_cli.src/M000201.html');return false;">
150
- <span class="method-name">cmd_cli_help</span><span class="method-args">(argv)</span>
151
- </a>
152
- </div>
153
-
154
- <div class="method-description">
155
- <p>
156
- runs the cli help command
157
- </p>
158
- <pre>
159
- * argv = command-line arguments
160
- </pre>
161
- </div>
162
- </div>
163
-
164
- <div id="method-M000200" class="method-detail">
165
- <a name="M000200"></a>
166
-
167
- <div class="method-heading">
168
- <a href="Cmd_cli.src/M000200.html" target="Code" class="method-signature"
169
- onclick="popupCode('Cmd_cli.src/M000200.html');return false;">
170
- <span class="method-name">cmd_help</span><span class="method-args">(argv)</span>
171
- </a>
172
- </div>
173
-
174
- <div class="method-description">
175
- <p>
176
- displays command-line help
177
- </p>
178
- </div>
179
- </div>
180
-
181
- <div id="method-M000203" class="method-detail">
182
- <a name="M000203"></a>
183
-
184
- <div class="method-heading">
185
- <a href="Cmd_cli.src/M000203.html" target="Code" class="method-signature"
186
- onclick="popupCode('Cmd_cli.src/M000203.html');return false;">
187
- <span class="method-name">cmd_history</span><span class="method-args">(argv)</span>
188
- </a>
189
- </div>
190
-
191
- <div class="method-description">
192
- <p>
193
- displays the command line history for the current session
194
- </p>
195
- <pre>
196
- * argv = command-line arguments
197
- </pre>
198
- </div>
199
- </div>
200
-
201
- <div id="method-M000204" class="method-detail">
202
- <a name="M000204"></a>
203
-
204
- <div class="method-heading">
205
- <a href="Cmd_cli.src/M000204.html" target="Code" class="method-signature"
206
- onclick="popupCode('Cmd_cli.src/M000204.html');return false;">
207
- <span class="method-name">cmd_ping</span><span class="method-args">(argv)</span>
208
- </a>
209
- </div>
210
-
211
- <div class="method-description">
212
- <p>
213
- pings an ip address
214
- </p>
215
- <pre>
216
- * argv = command-line arguments, requires an ip address (-a) argument
217
- </pre>
218
- </div>
219
- </div>
220
-
221
- <div id="method-M000202" class="method-detail">
222
- <a name="M000202"></a>
223
-
224
- <div class="method-heading">
225
- <a href="Cmd_cli.src/M000202.html" target="Code" class="method-signature"
226
- onclick="popupCode('Cmd_cli.src/M000202.html');return false;">
227
- <span class="method-name">cmd_question</span><span class="method-args">(argv)</span>
228
- </a>
229
- </div>
230
-
231
- <div class="method-description">
232
- <p>
233
- runs the cli command &#8217;?&quot;
234
- </p>
235
- <pre>
236
- * argv = command-line arguments
237
- </pre>
238
- </div>
239
- </div>
240
-
241
- <div id="method-M000205" class="method-detail">
242
- <a name="M000205"></a>
243
-
244
- <div class="method-heading">
245
- <a href="Cmd_cli.src/M000205.html" target="Code" class="method-signature"
246
- onclick="popupCode('Cmd_cli.src/M000205.html');return false;">
247
- <span class="method-name">cmd_traceroute</span><span class="method-args">(argv)</span>
248
- </a>
249
- </div>
250
-
251
- <div class="method-description">
252
- <p>
253
- runs traceroute on an ip address
254
- </p>
255
- <pre>
256
- * argv = command-line arguments, requires an ip address (-a) argument
257
- </pre>
258
- </div>
259
- </div>
260
-
261
-
262
- </div>
263
-
264
-
265
- </div>
266
-
267
-
268
- <div id="validator-badges">
269
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
270
- </div>
271
-
272
- </body>
273
- </html>
@@ -1,639 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Mu::Command::Cmd_ddt</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Mu::Command::Cmd_ddt</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../../files/lib/mu/command/cmd_ddt_rb.html">
59
- lib/mu/command/cmd_ddt.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Command
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
-
82
-
83
- </div>
84
-
85
- <div id="method-list">
86
- <h3 class="section-bar">Methods</h3>
87
-
88
- <div class="name-list">
89
- <a href="#M000107">cmd_close_all_sessions</a>&nbsp;&nbsp;
90
- <a href="#M000105">cmd_close_session</a>&nbsp;&nbsp;
91
- <a href="#M000121">cmd_csv_export</a>&nbsp;&nbsp;
92
- <a href="#M000122">cmd_csv_import</a>&nbsp;&nbsp;
93
- <a href="#M000120">cmd_display_results</a>&nbsp;&nbsp;
94
- <a href="#M000108">cmd_get_all_sessions</a>&nbsp;&nbsp;
95
- <a href="#M000114">cmd_get_channels</a>&nbsp;&nbsp;
96
- <a href="#M000112">cmd_get_hosts</a>&nbsp;&nbsp;
97
- <a href="#M000116">cmd_get_options</a>&nbsp;&nbsp;
98
- <a href="#M000106">cmd_get_sessions</a>&nbsp;&nbsp;
99
- <a href="#M000119">cmd_get_testset_results</a>&nbsp;&nbsp;
100
- <a href="#M000118">cmd_get_testset_status</a>&nbsp;&nbsp;
101
- <a href="#M000101">cmd_help</a>&nbsp;&nbsp;
102
- <a href="#M000111">cmd_load_scenario</a>&nbsp;&nbsp;
103
- <a href="#M000104">cmd_new_session</a>&nbsp;&nbsp;
104
- <a href="#M000102">cmd_run</a>&nbsp;&nbsp;
105
- <a href="#M000103">cmd_run_testset</a>&nbsp;&nbsp;
106
- <a href="#M000115">cmd_set_channels</a>&nbsp;&nbsp;
107
- <a href="#M000113">cmd_set_hosts</a>&nbsp;&nbsp;
108
- <a href="#M000117">cmd_set_options</a>&nbsp;&nbsp;
109
- <a href="#M000109">cmd_setup_test</a>&nbsp;&nbsp;
110
- <a href="#M000110">cmd_teardown_test</a>&nbsp;&nbsp;
111
- </div>
112
- </div>
113
-
114
- </div>
115
-
116
-
117
- <!-- if includes -->
118
-
119
- <div id="section">
120
-
121
-
122
-
123
-
124
-
125
- <div id="attribute-list">
126
- <h3 class="section-bar">Attributes</h3>
127
-
128
- <div class="name-list">
129
- <table>
130
- <tr class="top-aligned-row context-row">
131
- <td class="context-item-name">api</td>
132
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
133
- <td class="context-item-desc"></td>
134
- </tr>
135
- <tr class="top-aligned-row context-row">
136
- <td class="context-item-name">hash</td>
137
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
138
- <td class="context-item-desc"></td>
139
- </tr>
140
- <tr class="top-aligned-row context-row">
141
- <td class="context-item-name">host</td>
142
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
143
- <td class="context-item-desc"></td>
144
- </tr>
145
- <tr class="top-aligned-row context-row">
146
- <td class="context-item-name">password</td>
147
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
148
- <td class="context-item-desc"></td>
149
- </tr>
150
- <tr class="top-aligned-row context-row">
151
- <td class="context-item-name">username</td>
152
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
153
- <td class="context-item-desc"></td>
154
- </tr>
155
- </table>
156
- </div>
157
- </div>
158
-
159
-
160
-
161
- <!-- if method_list -->
162
- <div id="methods">
163
- <h3 class="section-bar">Public Instance methods</h3>
164
-
165
- <div id="method-M000107" class="method-detail">
166
- <a name="M000107"></a>
167
-
168
- <div class="method-heading">
169
- <a href="Cmd_ddt.src/M000107.html" target="Code" class="method-signature"
170
- onclick="popupCode('Cmd_ddt.src/M000107.html');return false;">
171
- <span class="method-name">cmd_close_all_sessions</span><span class="method-args">(argv)</span>
172
- </a>
173
- </div>
174
-
175
- <div class="method-description">
176
- <p>
177
- closes all existing Studio Verify sessions# * command-line args
178
- </p>
179
- <pre>
180
- * argv = command-line arguments
181
- </pre>
182
- </div>
183
- </div>
184
-
185
- <div id="method-M000105" class="method-detail">
186
- <a name="M000105"></a>
187
-
188
- <div class="method-heading">
189
- <a href="Cmd_ddt.src/M000105.html" target="Code" class="method-signature"
190
- onclick="popupCode('Cmd_ddt.src/M000105.html');return false;">
191
- <span class="method-name">cmd_close_session</span><span class="method-args">(argv)</span>
192
- </a>
193
- </div>
194
-
195
- <div class="method-description">
196
- <p>
197
- closes the currently active Studio Verify session
198
- </p>
199
- <pre>
200
- * argv = command-line arguments
201
- </pre>
202
- </div>
203
- </div>
204
-
205
- <div id="method-M000121" class="method-detail">
206
- <a name="M000121"></a>
207
-
208
- <div class="method-heading">
209
- <a href="Cmd_ddt.src/M000121.html" target="Code" class="method-signature"
210
- onclick="popupCode('Cmd_ddt.src/M000121.html');return false;">
211
- <span class="method-name">cmd_csv_export</span><span class="method-args">(argv)</span>
212
- </a>
213
- </div>
214
-
215
- <div class="method-description">
216
- <p>
217
- exports a testset from <a href="../../Mu.html">Mu</a> Studio to a csv file
218
- </p>
219
- <pre>
220
- * argv = command-line arguments, requires a uuid (-u) argument that is the uuid of a testset on the Mu
221
- </pre>
222
- </div>
223
- </div>
224
-
225
- <div id="method-M000122" class="method-detail">
226
- <a name="M000122"></a>
227
-
228
- <div class="method-heading">
229
- <a href="Cmd_ddt.src/M000122.html" target="Code" class="method-signature"
230
- onclick="popupCode('Cmd_ddt.src/M000122.html');return false;">
231
- <span class="method-name">cmd_csv_import</span><span class="method-args">(argv)</span>
232
- </a>
233
- </div>
234
-
235
- <div class="method-description">
236
- <p>
237
- imports a csv-formatted testset to a <a href="../../Mu.html">Mu</a> system
238
- </p>
239
- <pre>
240
- * argv = command-line arguments, requires the csv testset file (-t)
241
- </pre>
242
- </div>
243
- </div>
244
-
245
- <div id="method-M000120" class="method-detail">
246
- <a name="M000120"></a>
247
-
248
- <div class="method-heading">
249
- <a href="Cmd_ddt.src/M000120.html" target="Code" class="method-signature"
250
- onclick="popupCode('Cmd_ddt.src/M000120.html');return false;">
251
- <span class="method-name">cmd_display_results</span><span class="method-args">(argv)</span>
252
- </a>
253
- </div>
254
-
255
- <div class="method-description">
256
- <p>
257
- displays testset results
258
- </p>
259
- <pre>
260
- * argv = command-line arguments
261
- </pre>
262
- </div>
263
- </div>
264
-
265
- <div id="method-M000108" class="method-detail">
266
- <a name="M000108"></a>
267
-
268
- <div class="method-heading">
269
- <a href="Cmd_ddt.src/M000108.html" target="Code" class="method-signature"
270
- onclick="popupCode('Cmd_ddt.src/M000108.html');return false;">
271
- <span class="method-name">cmd_get_all_sessions</span><span class="method-args">(argv)</span>
272
- </a>
273
- </div>
274
-
275
- <div class="method-description">
276
- <p>
277
- returns all Studio Verify sessions
278
- </p>
279
- <pre>
280
- * argv = command-line arguments
281
- </pre>
282
- </div>
283
- </div>
284
-
285
- <div id="method-M000114" class="method-detail">
286
- <a name="M000114"></a>
287
-
288
- <div class="method-heading">
289
- <a href="Cmd_ddt.src/M000114.html" target="Code" class="method-signature"
290
- onclick="popupCode('Cmd_ddt.src/M000114.html');return false;">
291
- <span class="method-name">cmd_get_channels</span><span class="method-args">(argv)</span>
292
- </a>
293
- </div>
294
-
295
- <div class="method-description">
296
- <p>
297
- returns the channel elements of a <a href="../../Mu.html">Mu</a> Studio
298
- scenario
299
- </p>
300
- <pre>
301
- * argv = command-line arguments
302
- </pre>
303
- </div>
304
- </div>
305
-
306
- <div id="method-M000112" class="method-detail">
307
- <a name="M000112"></a>
308
-
309
- <div class="method-heading">
310
- <a href="Cmd_ddt.src/M000112.html" target="Code" class="method-signature"
311
- onclick="popupCode('Cmd_ddt.src/M000112.html');return false;">
312
- <span class="method-name">cmd_get_hosts</span><span class="method-args">(argv)</span>
313
- </a>
314
- </div>
315
-
316
- <div class="method-description">
317
- <p>
318
- returns array of host hashmaps, e.g.
319
- [{&quot;role&quot;=&gt;&quot;192.168.30.188 (A1.V4)&quot;,
320
- &quot;roleId&quot;=&gt;&quot;host_0&quot;,
321
- &quot;layer&quot;=&gt;&quot;v4&quot;},
322
- {&quot;role&quot;=&gt;&quot;192.168.30.9 (dell-eth1.V4)&quot;,
323
- &quot;roleId&quot;=&gt;&quot;host_1&quot;,
324
- &quot;layer&quot;=&gt;&quot;v4&quot;}] NOTE: the values of
325
- &#8216;roleId&#8217; are what are passed to set_hosts as
326
- &#8216;roles&#8217;, not &#8216;role&#8216;
327
- </p>
328
- <pre>
329
- * argv = command-line arguments
330
- </pre>
331
- </div>
332
- </div>
333
-
334
- <div id="method-M000116" class="method-detail">
335
- <a name="M000116"></a>
336
-
337
- <div class="method-heading">
338
- <a href="Cmd_ddt.src/M000116.html" target="Code" class="method-signature"
339
- onclick="popupCode('Cmd_ddt.src/M000116.html');return false;">
340
- <span class="method-name">cmd_get_options</span><span class="method-args">(argv)</span>
341
- </a>
342
- </div>
343
-
344
- <div class="method-description">
345
- <p>
346
- returns array of options hashmap, consisting of name and value keys, e.g.
347
- </p>
348
- <dl>
349
- <dt>{&quot;name&quot;=&gt;&quot;io.timeout&quot;, &quot;value&quot;=&gt;250}, {&quot;name&quot;=&gt;&quot;io.delay&quot;, &quot;value&quot;=&gt;0}</dt><dd>* argv = command-line arguments
350
-
351
- </dd>
352
- </dl>
353
- </div>
354
- </div>
355
-
356
- <div id="method-M000106" class="method-detail">
357
- <a name="M000106"></a>
358
-
359
- <div class="method-heading">
360
- <a href="Cmd_ddt.src/M000106.html" target="Code" class="method-signature"
361
- onclick="popupCode('Cmd_ddt.src/M000106.html');return false;">
362
- <span class="method-name">cmd_get_sessions</span><span class="method-args">(argv)</span>
363
- </a>
364
- </div>
365
-
366
- <div class="method-description">
367
- <p>
368
- returns an array of current Studio Verify session id&#8216;s
369
- </p>
370
- <pre>
371
- * argv = command-line arguments
372
- </pre>
373
- </div>
374
- </div>
375
-
376
- <div id="method-M000119" class="method-detail">
377
- <a name="M000119"></a>
378
-
379
- <div class="method-heading">
380
- <a href="Cmd_ddt.src/M000119.html" target="Code" class="method-signature"
381
- onclick="popupCode('Cmd_ddt.src/M000119.html');return false;">
382
- <span class="method-name">cmd_get_testset_results</span><span class="method-args">(argv)</span>
383
- </a>
384
- </div>
385
-
386
- <div class="method-description">
387
- <p>
388
- returns results from the current testset. can be called repeatedly during a
389
- test run. the end of a test is indicated by the presence of the word
390
- &#8216;END&#8217; in the returned results array
391
- </p>
392
- <pre>
393
- * argv = command-line arguments
394
- </pre>
395
- </div>
396
- </div>
397
-
398
- <div id="method-M000118" class="method-detail">
399
- <a name="M000118"></a>
400
-
401
- <div class="method-heading">
402
- <a href="Cmd_ddt.src/M000118.html" target="Code" class="method-signature"
403
- onclick="popupCode('Cmd_ddt.src/M000118.html');return false;">
404
- <span class="method-name">cmd_get_testset_status</span><span class="method-args">(argv)</span>
405
- </a>
406
- </div>
407
-
408
- <div class="method-description">
409
- <p>
410
- returns the status of the current testset
411
- </p>
412
- <pre>
413
- * argv = command-line arguments
414
- </pre>
415
- </div>
416
- </div>
417
-
418
- <div id="method-M000101" class="method-detail">
419
- <a name="M000101"></a>
420
-
421
- <div class="method-heading">
422
- <a href="Cmd_ddt.src/M000101.html" target="Code" class="method-signature"
423
- onclick="popupCode('Cmd_ddt.src/M000101.html');return false;">
424
- <span class="method-name">cmd_help</span><span class="method-args">(argv)</span>
425
- </a>
426
- </div>
427
-
428
- <div class="method-description">
429
- <p>
430
- displays command-line help
431
- </p>
432
- <pre>
433
- * argv = command-line arguments
434
- </pre>
435
- </div>
436
- </div>
437
-
438
- <div id="method-M000111" class="method-detail">
439
- <a name="M000111"></a>
440
-
441
- <div class="method-heading">
442
- <a href="Cmd_ddt.src/M000111.html" target="Code" class="method-signature"
443
- onclick="popupCode('Cmd_ddt.src/M000111.html');return false;">
444
- <span class="method-name">cmd_load_scenario</span><span class="method-args">(argv)</span>
445
- </a>
446
- </div>
447
-
448
- <div class="method-description">
449
- <p>
450
- loads a <a href="../../Mu.html">Mu</a> Studio scenario
451
- </p>
452
- <pre>
453
- * argv = command-line arguments, requires the uuid (-u) argument, the uuid of a scenario that is already loaded on the Mu
454
- </pre>
455
- </div>
456
- </div>
457
-
458
- <div id="method-M000104" class="method-detail">
459
- <a name="M000104"></a>
460
-
461
- <div class="method-heading">
462
- <a href="Cmd_ddt.src/M000104.html" target="Code" class="method-signature"
463
- onclick="popupCode('Cmd_ddt.src/M000104.html');return false;">
464
- <span class="method-name">cmd_new_session</span><span class="method-args">(argv)</span>
465
- </a>
466
- </div>
467
-
468
- <div class="method-description">
469
- <p>
470
- creates a new Studio Verify session
471
- </p>
472
- <pre>
473
- * argv = command-line arguments
474
- </pre>
475
- </div>
476
- </div>
477
-
478
- <div id="method-M000102" class="method-detail">
479
- <a name="M000102"></a>
480
-
481
- <div class="method-heading">
482
- <a href="Cmd_ddt.src/M000102.html" target="Code" class="method-signature"
483
- onclick="popupCode('Cmd_ddt.src/M000102.html');return false;">
484
- <span class="method-name">cmd_run</span><span class="method-args">(argv)</span>
485
- </a>
486
- </div>
487
-
488
- <div class="method-description">
489
- <p>
490
- verifies the loaded scenario
491
- </p>
492
- <ul>
493
- <li>argv = command-line arguments
494
-
495
- </li>
496
- </ul>
497
- </div>
498
- </div>
499
-
500
- <div id="method-M000103" class="method-detail">
501
- <a name="M000103"></a>
502
-
503
- <div class="method-heading">
504
- <a href="Cmd_ddt.src/M000103.html" target="Code" class="method-signature"
505
- onclick="popupCode('Cmd_ddt.src/M000103.html');return false;">
506
- <span class="method-name">cmd_run_testset</span><span class="method-args">(argv)</span>
507
- </a>
508
- </div>
509
-
510
- <div class="method-description">
511
- <p>
512
- runs the loaded scenario and testset
513
- </p>
514
- <pre>
515
- * argv = command-line arguments, requires a uuid (-u) argument
516
- </pre>
517
- </div>
518
- </div>
519
-
520
- <div id="method-M000115" class="method-detail">
521
- <a name="M000115"></a>
522
-
523
- <div class="method-heading">
524
- <a href="Cmd_ddt.src/M000115.html" target="Code" class="method-signature"
525
- onclick="popupCode('Cmd_ddt.src/M000115.html');return false;">
526
- <span class="method-name">cmd_set_channels</span><span class="method-args">(argv)</span>
527
- </a>
528
- </div>
529
-
530
- <div class="method-description">
531
- <p>
532
- sets the channel elements of a loaded scenario
533
- </p>
534
- <pre>
535
- * argv = command-line arguments, requires arrays of roles and names. The roles must all be 'channel' and the names are names of valid hosts
536
- * roles and names can be single-values or comma-separated lists.
537
- </pre>
538
- </div>
539
- </div>
540
-
541
- <div id="method-M000113" class="method-detail">
542
- <a name="M000113"></a>
543
-
544
- <div class="method-heading">
545
- <a href="Cmd_ddt.src/M000113.html" target="Code" class="method-signature"
546
- onclick="popupCode('Cmd_ddt.src/M000113.html');return false;">
547
- <span class="method-name">cmd_set_hosts</span><span class="method-args">(argv)</span>
548
- </a>
549
- </div>
550
-
551
- <div class="method-description">
552
- <p>
553
- sets a <a href="../../Mu.html">Mu</a> Studio scenario&#8216;s host. takes
554
- an arrays of roles and names, e.g. [&quot;h1&quot;, &quot;h2&quot;],
555
- [&quot;a1&quot;, dell-9&quot;] optional types array [&quot;v4&quot;,
556
- &quot;v4&quot;]
557
- </p>
558
- <pre>
559
- * argv = command-line arguments, requires an array of roles and names (and optionally, type). The roles must match those defined within the scenario
560
- * roles and names can be single-values or comma-separated lists.
561
- * type is a single value (v4, v6 or l2)
562
- </pre>
563
- </div>
564
- </div>
565
-
566
- <div id="method-M000117" class="method-detail">
567
- <a name="M000117"></a>
568
-
569
- <div class="method-heading">
570
- <a href="Cmd_ddt.src/M000117.html" target="Code" class="method-signature"
571
- onclick="popupCode('Cmd_ddt.src/M000117.html');return false;">
572
- <span class="method-name">cmd_set_options</span><span class="method-args">(argv)</span>
573
- </a>
574
- </div>
575
-
576
- <div class="method-description">
577
- <p>
578
- sets the options of the loaded scenario
579
- </p>
580
- <pre>
581
- * argv = command-line arguments, requires arrays of valid options names and values
582
- * names and values can be single-values or comma-separated lists.
583
- </pre>
584
- </div>
585
- </div>
586
-
587
- <div id="method-M000109" class="method-detail">
588
- <a name="M000109"></a>
589
-
590
- <div class="method-heading">
591
- <a href="Cmd_ddt.src/M000109.html" target="Code" class="method-signature"
592
- onclick="popupCode('Cmd_ddt.src/M000109.html');return false;">
593
- <span class="method-name">cmd_setup_test</span><span class="method-args">(argv)</span>
594
- </a>
595
- </div>
596
-
597
- <div class="method-description">
598
- <p>
599
- sets up a test session
600
- </p>
601
- <pre>
602
- * argv = command-line arguments
603
- </pre>
604
- </div>
605
- </div>
606
-
607
- <div id="method-M000110" class="method-detail">
608
- <a name="M000110"></a>
609
-
610
- <div class="method-heading">
611
- <a href="Cmd_ddt.src/M000110.html" target="Code" class="method-signature"
612
- onclick="popupCode('Cmd_ddt.src/M000110.html');return false;">
613
- <span class="method-name">cmd_teardown_test</span><span class="method-args">(argv)</span>
614
- </a>
615
- </div>
616
-
617
- <div class="method-description">
618
- <p>
619
- tears down a test session
620
- </p>
621
- <pre>
622
- * argv = command-line arguments
623
- </pre>
624
- </div>
625
- </div>
626
-
627
-
628
- </div>
629
-
630
-
631
- </div>
632
-
633
-
634
- <div id="validator-badges">
635
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
636
- </div>
637
-
638
- </body>
639
- </html>