mu 5.7.8 → 5.7.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mu.rb +1 -1
- data/lib/mu/command.rb +18 -2
- data/lib/mu/command/cmd_musl.rb +165 -0
- data/lib/mu/command/cmd_runscale.rb +12 -8
- data/lib/mu/command/help.rb +1 -0
- data/lib/mu/har.rb +449 -0
- data/lib/mu/libxml.rb +21 -0
- data/lib/mu/maker.rb +288 -0
- data/lib/mu/xmlizable.rb +559 -0
- metadata +78 -267
- data/rdoc/Gemfile.html +0 -194
- data/rdoc/LICENSE_txt.html +0 -201
- data/rdoc/Mu.html +0 -478
- data/rdoc/Mu/Client.html +0 -461
- data/rdoc/Mu/Command.html +0 -338
- data/rdoc/Mu/Command/API.html +0 -844
- data/rdoc/Mu/Command/Cmd_appid.html +0 -1341
- data/rdoc/Mu/Command/Cmd_cli.html +0 -800
- data/rdoc/Mu/Command/Cmd_ddt.html +0 -1612
- data/rdoc/Mu/Command/Cmd_homepage.html +0 -762
- data/rdoc/Mu/Command/Cmd_muapi.html +0 -1363
- data/rdoc/Mu/Command/Cmd_netconfig.html +0 -1077
- data/rdoc/Mu/Command/Cmd_runscale.html +0 -1441
- data/rdoc/Mu/Command/Cmd_runscenario.html +0 -787
- data/rdoc/Mu/Command/Cmd_runverify.html +0 -893
- data/rdoc/Mu/Command/Cmd_scale.html +0 -1323
- data/rdoc/Mu/Command/Cmd_system.html +0 -677
- data/rdoc/Mu/Command/Curl.html +0 -751
- data/rdoc/Mu/Command/Help.html +0 -305
- data/rdoc/Mu/Curl.html +0 -243
- data/rdoc/Mu/Curl/Error.html +0 -304
- data/rdoc/Mu/Curl/Error/Authorize.html +0 -355
- data/rdoc/Mu/Curl/Error/Connect.html +0 -286
- data/rdoc/Mu/Curl/Error/DNS.html +0 -236
- data/rdoc/Mu/Curl/Error/Region.html +0 -307
- data/rdoc/Mu/Curl/Error/Status.html +0 -286
- data/rdoc/Mu/Curl/Error/Timeout.html +0 -286
- data/rdoc/Mu/Curl/Verify.html +0 -472
- data/rdoc/Mu/Curl/Verify/Request.html +0 -424
- data/rdoc/Mu/Curl/Verify/Response.html +0 -372
- data/rdoc/Mu/Curl/Verify/Result.html +0 -373
- data/rdoc/Mu/Ddt.html +0 -1347
- data/rdoc/Mu/Helper.html +0 -517
- data/rdoc/Mu/Homepage.html +0 -719
- data/rdoc/Mu/HttpHelper.html +0 -890
- data/rdoc/Mu/Muapi.html +0 -1226
- data/rdoc/Mu/Netconfig.html +0 -1178
- data/rdoc/Mu/Scale.html +0 -1359
- data/rdoc/Mu/System.html +0 -504
- data/rdoc/Object.html +0 -285
- data/rdoc/README_rdoc.html +0 -892
- data/rdoc/Rakefile.html +0 -257
- data/rdoc/TCTestMu.html +0 -2583
- data/rdoc/Test.html +0 -235
- data/rdoc/Test/Unit.html +0 -235
- data/rdoc/Test/Unit/TestCase.html +0 -236
- data/rdoc/Test/helper_rb.html +0 -62
- data/rdoc/Test/tc_test_mu_rb.html +0 -60
- data/rdoc/VERSION.html +0 -179
- data/rdoc/bin/mu.html +0 -54
- data/rdoc/classes/Mu.html +0 -132
- data/rdoc/classes/Mu/Client.html +0 -214
- data/rdoc/classes/Mu/Command.html +0 -129
- data/rdoc/classes/Mu/Command/API.html +0 -362
- data/rdoc/classes/Mu/Command/Cmd_appid.html +0 -238
- data/rdoc/classes/Mu/Command/Cmd_cli.html +0 -273
- data/rdoc/classes/Mu/Command/Cmd_ddt.html +0 -639
- data/rdoc/classes/Mu/Command/Cmd_homepage.html +0 -276
- data/rdoc/classes/Mu/Command/Cmd_muapi.html +0 -527
- data/rdoc/classes/Mu/Command/Cmd_netconfig.html +0 -399
- data/rdoc/classes/Mu/Command/Cmd_runscale.html +0 -220
- data/rdoc/classes/Mu/Command/Cmd_runscenario.html +0 -197
- data/rdoc/classes/Mu/Command/Cmd_runverify.html +0 -196
- data/rdoc/classes/Mu/Command/Cmd_scale.html +0 -511
- data/rdoc/classes/Mu/Command/Cmd_system.html +0 -236
- data/rdoc/classes/Mu/Command/Curl.html +0 -182
- data/rdoc/classes/Mu/Command/Help.html +0 -137
- data/rdoc/classes/Mu/Curl.html +0 -116
- data/rdoc/classes/Mu/Curl/Error.html +0 -148
- data/rdoc/classes/Mu/Curl/Error/Authorize.html +0 -165
- data/rdoc/classes/Mu/Curl/Error/Connect.html +0 -139
- data/rdoc/classes/Mu/Curl/Error/DNS.html +0 -113
- data/rdoc/classes/Mu/Curl/Error/Region.html +0 -150
- data/rdoc/classes/Mu/Curl/Error/Status.html +0 -139
- data/rdoc/classes/Mu/Curl/Error/Timeout.html +0 -139
- data/rdoc/classes/Mu/Curl/Verify.html +0 -207
- data/rdoc/classes/Mu/Curl/Verify/Request.html +0 -187
- data/rdoc/classes/Mu/Curl/Verify/Response.html +0 -172
- data/rdoc/classes/Mu/Curl/Verify/Result.html +0 -172
- data/rdoc/classes/Mu/Ddt.html +0 -610
- data/rdoc/classes/Mu/Helper.html +0 -308
- data/rdoc/classes/Mu/Homepage.html +0 -306
- data/rdoc/classes/Mu/HttpHelper.html +0 -393
- data/rdoc/classes/Mu/Muapi.html +0 -549
- data/rdoc/classes/Mu/Netconfig.html +0 -478
- data/rdoc/classes/Mu/Scale.html +0 -580
- data/rdoc/classes/Mu/System.html +0 -232
- data/rdoc/classes/Object.html +0 -139
- data/rdoc/classes/TCTestMu.html +0 -948
- data/rdoc/classes/Test.html +0 -107
- data/rdoc/classes/Test/Unit.html +0 -107
- data/rdoc/classes/Test/Unit/TestCase.html +0 -113
- data/rdoc/created.rid +0 -36
- data/rdoc/files/lib/mu/api/ddt_rb.html +0 -101
- data/rdoc/files/lib/mu/api/homepage_rb.html +0 -101
- data/rdoc/files/lib/mu/api/muapi_rb.html +0 -101
- data/rdoc/files/lib/mu/api/netconfig_rb.html +0 -101
- data/rdoc/files/lib/mu/api/scale_rb.html +0 -101
- data/rdoc/files/lib/mu/api/system_rb.html +0 -101
- data/rdoc/files/lib/mu/client_rb.html +0 -101
- data/rdoc/files/lib/mu/command/api_rb.html +0 -101
- data/rdoc/files/lib/mu/command/cmd_appid_rb.html +0 -119
- data/rdoc/files/lib/mu/command/cmd_cli_rb.html +0 -108
- data/rdoc/files/lib/mu/command/cmd_ddt_rb.html +0 -116
- data/rdoc/files/lib/mu/command/cmd_homepage_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_muapi_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_netconfig_rb.html +0 -116
- data/rdoc/files/lib/mu/command/cmd_runscale_rb.html +0 -119
- data/rdoc/files/lib/mu/command/cmd_runscenario_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_runverify_rb.html +0 -118
- data/rdoc/files/lib/mu/command/cmd_scale_rb.html +0 -115
- data/rdoc/files/lib/mu/command/cmd_system_rb.html +0 -116
- data/rdoc/files/lib/mu/command/curl_rb.html +0 -101
- data/rdoc/files/lib/mu/command/help_rb.html +0 -101
- data/rdoc/files/lib/mu/command_rb.html +0 -107
- data/rdoc/files/lib/mu/curl/error_rb.html +0 -101
- data/rdoc/files/lib/mu/curl/verify_rb.html +0 -101
- data/rdoc/files/lib/mu/helper_rb.html +0 -101
- data/rdoc/files/lib/mu/http_helper_rb.html +0 -101
- data/rdoc/files/lib/mu_rb.html +0 -121
- data/rdoc/files/test/helper_rb.html +0 -112
- data/rdoc/files/test/tc_test_mu_rb.html +0 -111
- data/rdoc/fr_class_index.html +0 -34
- data/rdoc/fr_file_index.html +0 -31
- data/rdoc/fr_method_index.html +0 -112
- data/rdoc/images/brick.png +0 -0
- data/rdoc/images/brick_link.png +0 -0
- data/rdoc/images/bug.png +0 -0
- data/rdoc/images/bullet_black.png +0 -0
- data/rdoc/images/bullet_toggle_minus.png +0 -0
- data/rdoc/images/bullet_toggle_plus.png +0 -0
- data/rdoc/images/date.png +0 -0
- data/rdoc/images/find.png +0 -0
- data/rdoc/images/loadingAnimation.gif +0 -0
- data/rdoc/images/macFFBgHack.png +0 -0
- data/rdoc/images/package.png +0 -0
- data/rdoc/images/page_green.png +0 -0
- data/rdoc/images/page_white_text.png +0 -0
- data/rdoc/images/page_white_width.png +0 -0
- data/rdoc/images/plugin.png +0 -0
- data/rdoc/images/ruby.png +0 -0
- data/rdoc/images/tag_green.png +0 -0
- data/rdoc/images/wrench.png +0 -0
- data/rdoc/images/wrench_orange.png +0 -0
- data/rdoc/images/zoom.png +0 -0
- data/rdoc/index.html +0 -884
- data/rdoc/js/darkfish.js +0 -116
- data/rdoc/js/jquery.js +0 -32
- data/rdoc/js/quicksearch.js +0 -114
- data/rdoc/js/thickbox-compressed.js +0 -10
- data/rdoc/lib/mu/api/ddt_rb.html +0 -52
- data/rdoc/lib/mu/api/homepage_rb.html +0 -52
- data/rdoc/lib/mu/api/muapi_rb.html +0 -52
- data/rdoc/lib/mu/api/netconfig_rb.html +0 -52
- data/rdoc/lib/mu/api/scale_rb.html +0 -52
- data/rdoc/lib/mu/api/system_rb.html +0 -52
- data/rdoc/lib/mu/client_rb.html +0 -52
- data/rdoc/lib/mu/command/api_rb.html +0 -52
- data/rdoc/lib/mu/command/cmd_appid_rb.html +0 -62
- data/rdoc/lib/mu/command/cmd_cli_rb.html +0 -55
- data/rdoc/lib/mu/command/cmd_ddt_rb.html +0 -60
- data/rdoc/lib/mu/command/cmd_homepage_rb.html +0 -57
- data/rdoc/lib/mu/command/cmd_muapi_rb.html +0 -59
- data/rdoc/lib/mu/command/cmd_netconfig_rb.html +0 -58
- data/rdoc/lib/mu/command/cmd_runscale_rb.html +0 -62
- data/rdoc/lib/mu/command/cmd_runscenario_rb.html +0 -57
- data/rdoc/lib/mu/command/cmd_runverify_rb.html +0 -61
- data/rdoc/lib/mu/command/cmd_scale_rb.html +0 -58
- data/rdoc/lib/mu/command/cmd_system_rb.html +0 -59
- data/rdoc/lib/mu/command/curl_rb.html +0 -52
- data/rdoc/lib/mu/command/help_rb.html +0 -52
- data/rdoc/lib/mu/command_rb.html +0 -55
- data/rdoc/lib/mu/curl/error_rb.html +0 -52
- data/rdoc/lib/mu/curl/verify_rb.html +0 -52
- data/rdoc/lib/mu/helper_rb.html +0 -52
- data/rdoc/lib/mu/http_helper_rb.html +0 -52
- data/rdoc/lib/mu_rb.html +0 -80
- data/rdoc/rdoc-style.css +0 -208
- data/rdoc/rdoc.css +0 -706
- data/test/data/app_id_stats.csv +0 -1
- data/test/data/app_id_status.json +0 -156
- data/test/data/data_cgi.msl +0 -94
- data/test/data/data_cgi.xml +0 -322
- data/test/data/default_test.csv +0 -3
- data/test/data/ftp_with_channel.xml +0 -1643
- data/test/data/irc.xml +0 -3837
- data/test/data/scale.json +0 -25
- data/test/data/test_data_cgi_error.xml +0 -35
@@ -1,276 +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_homepage</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_homepage</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_homepage_rb.html">
|
59
|
-
lib/mu/command/cmd_homepage.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="#M000207">cmd_all</a>
|
90
|
-
<a href="#M000206">cmd_help</a>
|
91
|
-
<a href="#M000210">cmd_latest_test</a>
|
92
|
-
<a href="#M000211">cmd_queue_test</a>
|
93
|
-
<a href="#M000208">cmd_recent</a>
|
94
|
-
<a href="#M000209">cmd_status</a>
|
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"> [RW] </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"> [RW] </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"> [RW] </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"> [RW] </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-M000207" class="method-detail">
|
145
|
-
<a name="M000207"></a>
|
146
|
-
|
147
|
-
<div class="method-heading">
|
148
|
-
<a href="Cmd_homepage.src/M000207.html" target="Code" class="method-signature"
|
149
|
-
onclick="popupCode('Cmd_homepage.src/M000207.html');return false;">
|
150
|
-
<span class="method-name">cmd_all</span><span class="method-args">(argv)</span>
|
151
|
-
</a>
|
152
|
-
</div>
|
153
|
-
|
154
|
-
<div class="method-description">
|
155
|
-
<p>
|
156
|
-
returns all homepage information
|
157
|
-
</p>
|
158
|
-
<pre>
|
159
|
-
* argv = command-line arguments
|
160
|
-
</pre>
|
161
|
-
</div>
|
162
|
-
</div>
|
163
|
-
|
164
|
-
<div id="method-M000206" class="method-detail">
|
165
|
-
<a name="M000206"></a>
|
166
|
-
|
167
|
-
<div class="method-heading">
|
168
|
-
<a href="Cmd_homepage.src/M000206.html" target="Code" class="method-signature"
|
169
|
-
onclick="popupCode('Cmd_homepage.src/M000206.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
|
-
<pre>
|
179
|
-
* argv = command-line arguments
|
180
|
-
</pre>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
<div id="method-M000210" class="method-detail">
|
185
|
-
<a name="M000210"></a>
|
186
|
-
|
187
|
-
<div class="method-heading">
|
188
|
-
<a href="Cmd_homepage.src/M000210.html" target="Code" class="method-signature"
|
189
|
-
onclick="popupCode('Cmd_homepage.src/M000210.html');return false;">
|
190
|
-
<span class="method-name">cmd_latest_test</span><span class="method-args">(argv)</span>
|
191
|
-
</a>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div class="method-description">
|
195
|
-
<p>
|
196
|
-
returns the latest test
|
197
|
-
</p>
|
198
|
-
<pre>
|
199
|
-
* argv = command-line arguments
|
200
|
-
</pre>
|
201
|
-
</div>
|
202
|
-
</div>
|
203
|
-
|
204
|
-
<div id="method-M000211" class="method-detail">
|
205
|
-
<a name="M000211"></a>
|
206
|
-
|
207
|
-
<div class="method-heading">
|
208
|
-
<a href="Cmd_homepage.src/M000211.html" target="Code" class="method-signature"
|
209
|
-
onclick="popupCode('Cmd_homepage.src/M000211.html');return false;">
|
210
|
-
<span class="method-name">cmd_queue_test</span><span class="method-args">(argv)</span>
|
211
|
-
</a>
|
212
|
-
</div>
|
213
|
-
|
214
|
-
<div class="method-description">
|
215
|
-
<p>
|
216
|
-
returns the queued tests
|
217
|
-
</p>
|
218
|
-
<pre>
|
219
|
-
* argv = command-line arguments
|
220
|
-
</pre>
|
221
|
-
</div>
|
222
|
-
</div>
|
223
|
-
|
224
|
-
<div id="method-M000208" class="method-detail">
|
225
|
-
<a name="M000208"></a>
|
226
|
-
|
227
|
-
<div class="method-heading">
|
228
|
-
<a href="Cmd_homepage.src/M000208.html" target="Code" class="method-signature"
|
229
|
-
onclick="popupCode('Cmd_homepage.src/M000208.html');return false;">
|
230
|
-
<span class="method-name">cmd_recent</span><span class="method-args">(argv)</span>
|
231
|
-
</a>
|
232
|
-
</div>
|
233
|
-
|
234
|
-
<div class="method-description">
|
235
|
-
<p>
|
236
|
-
returns recent homepage information
|
237
|
-
</p>
|
238
|
-
<pre>
|
239
|
-
* argv = command-line arguments
|
240
|
-
</pre>
|
241
|
-
</div>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<div id="method-M000209" class="method-detail">
|
245
|
-
<a name="M000209"></a>
|
246
|
-
|
247
|
-
<div class="method-heading">
|
248
|
-
<a href="Cmd_homepage.src/M000209.html" target="Code" class="method-signature"
|
249
|
-
onclick="popupCode('Cmd_homepage.src/M000209.html');return false;">
|
250
|
-
<span class="method-name">cmd_status</span><span class="method-args">(argv)</span>
|
251
|
-
</a>
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div class="method-description">
|
255
|
-
<p>
|
256
|
-
returns homepage status information
|
257
|
-
</p>
|
258
|
-
<pre>
|
259
|
-
* argv = command-line arguments
|
260
|
-
</pre>
|
261
|
-
</div>
|
262
|
-
</div>
|
263
|
-
|
264
|
-
|
265
|
-
</div>
|
266
|
-
|
267
|
-
|
268
|
-
</div>
|
269
|
-
|
270
|
-
|
271
|
-
<div id="validator-badges">
|
272
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
273
|
-
</div>
|
274
|
-
|
275
|
-
</body>
|
276
|
-
</html>
|
@@ -1,527 +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_muapi</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_muapi</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_muapi_rb.html">
|
59
|
-
lib/mu/command/cmd_muapi.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="#M000178">cmd_archive</a>
|
90
|
-
<a href="#M000179">cmd_backup</a>
|
91
|
-
<a href="#M000180">cmd_capture</a>
|
92
|
-
<a href="#M000171">cmd_delete</a>
|
93
|
-
<a href="#M000176">cmd_export_by_type_and_name</a>
|
94
|
-
<a href="#M000177">cmd_export_by_uuid</a>
|
95
|
-
<a href="#M000172">cmd_get_faults</a>
|
96
|
-
<a href="#M000173">cmd_get_name</a>
|
97
|
-
<a href="#M000164">cmd_help</a>
|
98
|
-
<a href="#M000175">cmd_list</a>
|
99
|
-
<a href="#M000165">cmd_list_by_status</a>
|
100
|
-
<a href="#M000169">cmd_pause</a>
|
101
|
-
<a href="#M000170">cmd_resume</a>
|
102
|
-
<a href="#M000167">cmd_run</a>
|
103
|
-
<a href="#M000166">cmd_status</a>
|
104
|
-
<a href="#M000168">cmd_stop</a>
|
105
|
-
<a href="#M000174">cmd_types</a>
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
|
109
|
-
</div>
|
110
|
-
|
111
|
-
|
112
|
-
<!-- if includes -->
|
113
|
-
|
114
|
-
<div id="section">
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
<div id="attribute-list">
|
121
|
-
<h3 class="section-bar">Attributes</h3>
|
122
|
-
|
123
|
-
<div class="name-list">
|
124
|
-
<table>
|
125
|
-
<tr class="top-aligned-row context-row">
|
126
|
-
<td class="context-item-name">api</td>
|
127
|
-
<td class="context-item-value"> [RW] </td>
|
128
|
-
<td class="context-item-desc"></td>
|
129
|
-
</tr>
|
130
|
-
<tr class="top-aligned-row context-row">
|
131
|
-
<td class="context-item-name">docroot</td>
|
132
|
-
<td class="context-item-value"> [RW] </td>
|
133
|
-
<td class="context-item-desc"></td>
|
134
|
-
</tr>
|
135
|
-
<tr class="top-aligned-row context-row">
|
136
|
-
<td class="context-item-name">host</td>
|
137
|
-
<td class="context-item-value"> [RW] </td>
|
138
|
-
<td class="context-item-desc"></td>
|
139
|
-
</tr>
|
140
|
-
<tr class="top-aligned-row context-row">
|
141
|
-
<td class="context-item-name">password</td>
|
142
|
-
<td class="context-item-value"> [RW] </td>
|
143
|
-
<td class="context-item-desc"></td>
|
144
|
-
</tr>
|
145
|
-
<tr class="top-aligned-row context-row">
|
146
|
-
<td class="context-item-name">username</td>
|
147
|
-
<td class="context-item-value"> [RW] </td>
|
148
|
-
<td class="context-item-desc"></td>
|
149
|
-
</tr>
|
150
|
-
</table>
|
151
|
-
</div>
|
152
|
-
</div>
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
<!-- if method_list -->
|
157
|
-
<div id="methods">
|
158
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
159
|
-
|
160
|
-
<div id="method-M000178" class="method-detail">
|
161
|
-
<a name="M000178"></a>
|
162
|
-
|
163
|
-
<div class="method-heading">
|
164
|
-
<a href="Cmd_muapi.src/M000178.html" target="Code" class="method-signature"
|
165
|
-
onclick="popupCode('Cmd_muapi.src/M000178.html');return false;">
|
166
|
-
<span class="method-name">cmd_archive</span><span class="method-args">(argv)</span>
|
167
|
-
</a>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<div class="method-description">
|
171
|
-
<p>
|
172
|
-
archive has a set of three commands that are used to generate and download
|
173
|
-
an archive of all data produced by a particular test ex:
|
174
|
-
</p>
|
175
|
-
<pre>
|
176
|
-
* argv = command-line arguments, requires a command (-c) argument
|
177
|
-
* command=run returns the job_id
|
178
|
-
* command=status (called after 'run'), requires the job_id (-u) argument
|
179
|
-
* command=get (called when status returns "Finished"), requires the job_id (-u) argument
|
180
|
-
</pre>
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
<div id="method-M000179" class="method-detail">
|
185
|
-
<a name="M000179"></a>
|
186
|
-
|
187
|
-
<div class="method-heading">
|
188
|
-
<a href="Cmd_muapi.src/M000179.html" target="Code" class="method-signature"
|
189
|
-
onclick="popupCode('Cmd_muapi.src/M000179.html');return false;">
|
190
|
-
<span class="method-name">cmd_backup</span><span class="method-args">(argv)</span>
|
191
|
-
</a>
|
192
|
-
</div>
|
193
|
-
|
194
|
-
<div class="method-description">
|
195
|
-
<p>
|
196
|
-
backup has a set of three commands that are used to generate, query and
|
197
|
-
retrieve a backup ex:
|
198
|
-
</p>
|
199
|
-
<pre>
|
200
|
-
* argv = command-line arguments, requires a command (-c) argument
|
201
|
-
* command=run returns the job_id
|
202
|
-
* command=status (called after 'run')
|
203
|
-
* command=get (called when status returns "Finished"), requires the name (-n) argument
|
204
|
-
* name = backup file name (will be given a .dat extension)
|
205
|
-
</pre>
|
206
|
-
</div>
|
207
|
-
</div>
|
208
|
-
|
209
|
-
<div id="method-M000180" class="method-detail">
|
210
|
-
<a name="M000180"></a>
|
211
|
-
|
212
|
-
<div class="method-heading">
|
213
|
-
<a href="Cmd_muapi.src/M000180.html" target="Code" class="method-signature"
|
214
|
-
onclick="popupCode('Cmd_muapi.src/M000180.html');return false;">
|
215
|
-
<span class="method-name">cmd_capture</span><span class="method-args">(argv)</span>
|
216
|
-
</a>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
<div class="method-description">
|
220
|
-
<p>
|
221
|
-
capture has a set of three commands that are used to generate packet
|
222
|
-
captures, poll the status and return the resulting file ex:
|
223
|
-
</p>
|
224
|
-
<pre>
|
225
|
-
* argv = command-line arguments, requires a command (-c) argument
|
226
|
-
* command=run returns the job_id
|
227
|
-
* command=status (called after 'run'), requires the job_id (-u) argument
|
228
|
-
* command=get (called when status returns "Finished"), requires the job_id (-u) argument
|
229
|
-
* port = the Mu interface on which to capture packets
|
230
|
-
</pre>
|
231
|
-
</div>
|
232
|
-
</div>
|
233
|
-
|
234
|
-
<div id="method-M000171" class="method-detail">
|
235
|
-
<a name="M000171"></a>
|
236
|
-
|
237
|
-
<div class="method-heading">
|
238
|
-
<a href="Cmd_muapi.src/M000171.html" target="Code" class="method-signature"
|
239
|
-
onclick="popupCode('Cmd_muapi.src/M000171.html');return false;">
|
240
|
-
<span class="method-name">cmd_delete</span><span class="method-args">(argv)</span>
|
241
|
-
</a>
|
242
|
-
</div>
|
243
|
-
|
244
|
-
<div class="method-description">
|
245
|
-
<p>
|
246
|
-
delets an analysis or template of any type
|
247
|
-
</p>
|
248
|
-
<pre>
|
249
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
250
|
-
</pre>
|
251
|
-
</div>
|
252
|
-
</div>
|
253
|
-
|
254
|
-
<div id="method-M000176" class="method-detail">
|
255
|
-
<a name="M000176"></a>
|
256
|
-
|
257
|
-
<div class="method-heading">
|
258
|
-
<a href="Cmd_muapi.src/M000176.html" target="Code" class="method-signature"
|
259
|
-
onclick="popupCode('Cmd_muapi.src/M000176.html');return false;">
|
260
|
-
<span class="method-name">cmd_export_by_type_and_name</span><span class="method-args">(argv)</span>
|
261
|
-
</a>
|
262
|
-
</div>
|
263
|
-
|
264
|
-
<div class="method-description">
|
265
|
-
<p>
|
266
|
-
exports a template by type and name
|
267
|
-
</p>
|
268
|
-
<pre>
|
269
|
-
* argv = command-line arguments, requires a template type (-t) and template name (-n) argument
|
270
|
-
</pre>
|
271
|
-
</div>
|
272
|
-
</div>
|
273
|
-
|
274
|
-
<div id="method-M000177" class="method-detail">
|
275
|
-
<a name="M000177"></a>
|
276
|
-
|
277
|
-
<div class="method-heading">
|
278
|
-
<a href="Cmd_muapi.src/M000177.html" target="Code" class="method-signature"
|
279
|
-
onclick="popupCode('Cmd_muapi.src/M000177.html');return false;">
|
280
|
-
<span class="method-name">cmd_export_by_uuid</span><span class="method-args">(argv)</span>
|
281
|
-
</a>
|
282
|
-
</div>
|
283
|
-
|
284
|
-
<div class="method-description">
|
285
|
-
<p>
|
286
|
-
exports a template by uuid
|
287
|
-
</p>
|
288
|
-
<pre>
|
289
|
-
* argv = command-line arguments, requires a template uuid (-u) argument
|
290
|
-
</pre>
|
291
|
-
</div>
|
292
|
-
</div>
|
293
|
-
|
294
|
-
<div id="method-M000172" class="method-detail">
|
295
|
-
<a name="M000172"></a>
|
296
|
-
|
297
|
-
<div class="method-heading">
|
298
|
-
<a href="Cmd_muapi.src/M000172.html" target="Code" class="method-signature"
|
299
|
-
onclick="popupCode('Cmd_muapi.src/M000172.html');return false;">
|
300
|
-
<span class="method-name">cmd_get_faults</span><span class="method-args">(argv)</span>
|
301
|
-
</a>
|
302
|
-
</div>
|
303
|
-
|
304
|
-
<div class="method-description">
|
305
|
-
<p>
|
306
|
-
returns a list of faults (if any) for the analysis
|
307
|
-
</p>
|
308
|
-
<pre>
|
309
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
310
|
-
</pre>
|
311
|
-
</div>
|
312
|
-
</div>
|
313
|
-
|
314
|
-
<div id="method-M000173" class="method-detail">
|
315
|
-
<a name="M000173"></a>
|
316
|
-
|
317
|
-
<div class="method-heading">
|
318
|
-
<a href="Cmd_muapi.src/M000173.html" target="Code" class="method-signature"
|
319
|
-
onclick="popupCode('Cmd_muapi.src/M000173.html');return false;">
|
320
|
-
<span class="method-name">cmd_get_name</span><span class="method-args">(argv)</span>
|
321
|
-
</a>
|
322
|
-
</div>
|
323
|
-
|
324
|
-
<div class="method-description">
|
325
|
-
<p>
|
326
|
-
returns the name of a test referenced by uuid
|
327
|
-
</p>
|
328
|
-
<pre>
|
329
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
330
|
-
</pre>
|
331
|
-
</div>
|
332
|
-
</div>
|
333
|
-
|
334
|
-
<div id="method-M000164" class="method-detail">
|
335
|
-
<a name="M000164"></a>
|
336
|
-
|
337
|
-
<div class="method-heading">
|
338
|
-
<a href="Cmd_muapi.src/M000164.html" target="Code" class="method-signature"
|
339
|
-
onclick="popupCode('Cmd_muapi.src/M000164.html');return false;">
|
340
|
-
<span class="method-name">cmd_help</span><span class="method-args">(argv)</span>
|
341
|
-
</a>
|
342
|
-
</div>
|
343
|
-
|
344
|
-
<div class="method-description">
|
345
|
-
<p>
|
346
|
-
displays command-line help
|
347
|
-
</p>
|
348
|
-
<pre>
|
349
|
-
* argv = command-line arguments
|
350
|
-
</pre>
|
351
|
-
</div>
|
352
|
-
</div>
|
353
|
-
|
354
|
-
<div id="method-M000175" class="method-detail">
|
355
|
-
<a name="M000175"></a>
|
356
|
-
|
357
|
-
<div class="method-heading">
|
358
|
-
<a href="Cmd_muapi.src/M000175.html" target="Code" class="method-signature"
|
359
|
-
onclick="popupCode('Cmd_muapi.src/M000175.html');return false;">
|
360
|
-
<span class="method-name">cmd_list</span><span class="method-args">(argv)</span>
|
361
|
-
</a>
|
362
|
-
</div>
|
363
|
-
|
364
|
-
<div class="method-description">
|
365
|
-
<p>
|
366
|
-
lists all templates of the given type
|
367
|
-
</p>
|
368
|
-
<pre>
|
369
|
-
* argv = command-line arguments, requires a type (-t) argument, such as 'scenario'
|
370
|
-
</pre>
|
371
|
-
</div>
|
372
|
-
</div>
|
373
|
-
|
374
|
-
<div id="method-M000165" class="method-detail">
|
375
|
-
<a name="M000165"></a>
|
376
|
-
|
377
|
-
<div class="method-heading">
|
378
|
-
<a href="Cmd_muapi.src/M000165.html" target="Code" class="method-signature"
|
379
|
-
onclick="popupCode('Cmd_muapi.src/M000165.html');return false;">
|
380
|
-
<span class="method-name">cmd_list_by_status</span><span class="method-args">(argv)</span>
|
381
|
-
</a>
|
382
|
-
</div>
|
383
|
-
|
384
|
-
<div class="method-description">
|
385
|
-
<p>
|
386
|
-
for any of the possible status values, returns a list of analysis
|
387
|
-
</p>
|
388
|
-
<pre>
|
389
|
-
* argv = command-line arguments, requires the status (-s) argument, specifying the values to query, such as 'running' or 'failed'
|
390
|
-
</pre>
|
391
|
-
</div>
|
392
|
-
</div>
|
393
|
-
|
394
|
-
<div id="method-M000169" class="method-detail">
|
395
|
-
<a name="M000169"></a>
|
396
|
-
|
397
|
-
<div class="method-heading">
|
398
|
-
<a href="Cmd_muapi.src/M000169.html" target="Code" class="method-signature"
|
399
|
-
onclick="popupCode('Cmd_muapi.src/M000169.html');return false;">
|
400
|
-
<span class="method-name">cmd_pause</span><span class="method-args">(argv)</span>
|
401
|
-
</a>
|
402
|
-
</div>
|
403
|
-
|
404
|
-
<div class="method-description">
|
405
|
-
<p>
|
406
|
-
pauses a running analysis. Note that any queued analysis will NOT begin
|
407
|
-
</p>
|
408
|
-
<pre>
|
409
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
410
|
-
</pre>
|
411
|
-
</div>
|
412
|
-
</div>
|
413
|
-
|
414
|
-
<div id="method-M000170" class="method-detail">
|
415
|
-
<a name="M000170"></a>
|
416
|
-
|
417
|
-
<div class="method-heading">
|
418
|
-
<a href="Cmd_muapi.src/M000170.html" target="Code" class="method-signature"
|
419
|
-
onclick="popupCode('Cmd_muapi.src/M000170.html');return false;">
|
420
|
-
<span class="method-name">cmd_resume</span><span class="method-args">(argv)</span>
|
421
|
-
</a>
|
422
|
-
</div>
|
423
|
-
|
424
|
-
<div class="method-description">
|
425
|
-
<p>
|
426
|
-
resumes a paused analysis
|
427
|
-
</p>
|
428
|
-
<pre>
|
429
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
430
|
-
</pre>
|
431
|
-
</div>
|
432
|
-
</div>
|
433
|
-
|
434
|
-
<div id="method-M000167" class="method-detail">
|
435
|
-
<a name="M000167"></a>
|
436
|
-
|
437
|
-
<div class="method-heading">
|
438
|
-
<a href="Cmd_muapi.src/M000167.html" target="Code" class="method-signature"
|
439
|
-
onclick="popupCode('Cmd_muapi.src/M000167.html');return false;">
|
440
|
-
<span class="method-name">cmd_run</span><span class="method-args">(argv)</span>
|
441
|
-
</a>
|
442
|
-
</div>
|
443
|
-
|
444
|
-
<div class="method-description">
|
445
|
-
<p>
|
446
|
-
runs an analysis, reference is the posted uuid ex: run(1234-1234-1234-1234,
|
447
|
-
"new_name")
|
448
|
-
</p>
|
449
|
-
<pre>
|
450
|
-
* argv = command-line arguments, requires a uuid (-u) and an optional name such that each successive run of the same uuid yields a new name
|
451
|
-
</pre>
|
452
|
-
</div>
|
453
|
-
</div>
|
454
|
-
|
455
|
-
<div id="method-M000166" class="method-detail">
|
456
|
-
<a name="M000166"></a>
|
457
|
-
|
458
|
-
<div class="method-heading">
|
459
|
-
<a href="Cmd_muapi.src/M000166.html" target="Code" class="method-signature"
|
460
|
-
onclick="popupCode('Cmd_muapi.src/M000166.html');return false;">
|
461
|
-
<span class="method-name">cmd_status</span><span class="method-args">(argv)</span>
|
462
|
-
</a>
|
463
|
-
</div>
|
464
|
-
|
465
|
-
<div class="method-description">
|
466
|
-
<p>
|
467
|
-
returns the status of a particular analysis
|
468
|
-
</p>
|
469
|
-
<pre>
|
470
|
-
* argv = command-line argumentsm require a uuid (-u) argument, specifying a test on the Mu
|
471
|
-
</pre>
|
472
|
-
</div>
|
473
|
-
</div>
|
474
|
-
|
475
|
-
<div id="method-M000168" class="method-detail">
|
476
|
-
<a name="M000168"></a>
|
477
|
-
|
478
|
-
<div class="method-heading">
|
479
|
-
<a href="Cmd_muapi.src/M000168.html" target="Code" class="method-signature"
|
480
|
-
onclick="popupCode('Cmd_muapi.src/M000168.html');return false;">
|
481
|
-
<span class="method-name">cmd_stop</span><span class="method-args">(argv)</span>
|
482
|
-
</a>
|
483
|
-
</div>
|
484
|
-
|
485
|
-
<div class="method-description">
|
486
|
-
<p>
|
487
|
-
aborts a running analysis. the next queued analysis will start
|
488
|
-
</p>
|
489
|
-
<pre>
|
490
|
-
* argv = command-line arguments, requires a uuid (-u) argument specifying the test
|
491
|
-
</pre>
|
492
|
-
</div>
|
493
|
-
</div>
|
494
|
-
|
495
|
-
<div id="method-M000174" class="method-detail">
|
496
|
-
<a name="M000174"></a>
|
497
|
-
|
498
|
-
<div class="method-heading">
|
499
|
-
<a href="Cmd_muapi.src/M000174.html" target="Code" class="method-signature"
|
500
|
-
onclick="popupCode('Cmd_muapi.src/M000174.html');return false;">
|
501
|
-
<span class="method-name">cmd_types</span><span class="method-args">(argv)</span>
|
502
|
-
</a>
|
503
|
-
</div>
|
504
|
-
|
505
|
-
<div class="method-description">
|
506
|
-
<p>
|
507
|
-
returns the types of templates on the <a href="../../Mu.html">Mu</a>
|
508
|
-
</p>
|
509
|
-
<pre>
|
510
|
-
* argv = command-line arguments
|
511
|
-
</pre>
|
512
|
-
</div>
|
513
|
-
</div>
|
514
|
-
|
515
|
-
|
516
|
-
</div>
|
517
|
-
|
518
|
-
|
519
|
-
</div>
|
520
|
-
|
521
|
-
|
522
|
-
<div id="validator-badges">
|
523
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
524
|
-
</div>
|
525
|
-
|
526
|
-
</body>
|
527
|
-
</html>
|