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
data/rdoc/Object.html DELETED
@@ -1,285 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
7
-
8
- <title>Class: Object</title>
9
-
10
- <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
11
-
12
- <script src="./js/jquery.js" type="text/javascript"
13
- charset="utf-8"></script>
14
- <script src="./js/thickbox-compressed.js" type="text/javascript"
15
- charset="utf-8"></script>
16
- <script src="./js/quicksearch.js" type="text/javascript"
17
- charset="utf-8"></script>
18
- <script src="./js/darkfish.js" type="text/javascript"
19
- charset="utf-8"></script>
20
-
21
- </head>
22
- <body class="class">
23
-
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="file-metadata">
36
- <div id="file-list-section" class="section">
37
- <h3 class="section-header">In Files</h3>
38
- <div class="section-body">
39
- <ul>
40
-
41
- <li><a href="./test/tc_test_mu_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
42
- class="thickbox" title="test/tc_test_mu.rb">test/tc_test_mu.rb</a></li>
43
-
44
- </ul>
45
- </div>
46
- </div>
47
-
48
-
49
- </div>
50
-
51
- <div id="class-metadata">
52
-
53
- <!-- Parent Class -->
54
-
55
- <div id="parent-class-section" class="section">
56
- <h3 class="section-header">Parent</h3>
57
-
58
- <p class="link"><a href="Object.html">Object</a></p>
59
-
60
- </div>
61
-
62
-
63
- <!-- Namespace Contents -->
64
-
65
-
66
- <!-- Method Quickref -->
67
-
68
- <div id="method-list-section" class="section">
69
- <h3 class="section-header">Methods</h3>
70
- <ul class="link-list">
71
-
72
- <li><a href="#method-i-deep_clone">#deep_clone</a></li>
73
-
74
- </ul>
75
- </div>
76
-
77
-
78
- <!-- Included Modules -->
79
-
80
- </div>
81
-
82
- <div id="project-metadata">
83
-
84
-
85
- <div id="fileindex-section" class="section project-section">
86
- <h3 class="section-header">Files</h3>
87
- <ul>
88
-
89
- <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
90
-
91
- <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
92
-
93
- <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
94
-
95
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
96
-
97
- <li class="file"><a href="./VERSION.html">VERSION</a></li>
98
-
99
- </ul>
100
- </div>
101
-
102
-
103
- <div id="classindex-section" class="section project-section">
104
- <h3 class="section-header">Class Index
105
- <span class="search-toggle"><img src="./images/find.png"
106
- height="16" width="16" alt="[+]"
107
- title="show/hide quicksearch" /></span></h3>
108
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
109
- <fieldset>
110
- <legend>Quicksearch</legend>
111
- <input type="text" name="quicksearch" value=""
112
- class="quicksearch-field" />
113
- </fieldset>
114
- </form>
115
-
116
- <ul class="link-list">
117
-
118
- <li><a href="./Mu.html">Mu</a></li>
119
-
120
- <li><a href="./Mu/Client.html">Mu::Client</a></li>
121
-
122
- <li><a href="./Mu/Command.html">Mu::Command</a></li>
123
-
124
- <li><a href="./Mu/Command/API.html">Mu::Command::API</a></li>
125
-
126
- <li><a href="./Mu/Command/API.html">Mu::Command::API</a></li>
127
-
128
- <li><a href="./Mu/Command/Cmd_appid.html">Mu::Command::Cmd_appid</a></li>
129
-
130
- <li><a href="./Mu/Command/Cmd_cli.html">Mu::Command::Cmd_cli</a></li>
131
-
132
- <li><a href="./Mu/Command/Cmd_ddt.html">Mu::Command::Cmd_ddt</a></li>
133
-
134
- <li><a href="./Mu/Command/Cmd_homepage.html">Mu::Command::Cmd_homepage</a></li>
135
-
136
- <li><a href="./Mu/Command/Cmd_muapi.html">Mu::Command::Cmd_muapi</a></li>
137
-
138
- <li><a href="./Mu/Command/Cmd_netconfig.html">Mu::Command::Cmd_netconfig</a></li>
139
-
140
- <li><a href="./Mu/Command/Cmd_runscale.html">Mu::Command::Cmd_runscale</a></li>
141
-
142
- <li><a href="./Mu/Command/Cmd_runscenario.html">Mu::Command::Cmd_runscenario</a></li>
143
-
144
- <li><a href="./Mu/Command/Cmd_runverify.html">Mu::Command::Cmd_runverify</a></li>
145
-
146
- <li><a href="./Mu/Command/Cmd_scale.html">Mu::Command::Cmd_scale</a></li>
147
-
148
- <li><a href="./Mu/Command/Cmd_system.html">Mu::Command::Cmd_system</a></li>
149
-
150
- <li><a href="./Mu/Command/Curl.html">Mu::Command::Curl</a></li>
151
-
152
- <li><a href="./Mu/Command/Help.html">Mu::Command::Help</a></li>
153
-
154
- <li><a href="./Mu/Curl.html">Mu::Curl</a></li>
155
-
156
- <li><a href="./Mu/Curl/Error.html">Mu::Curl::Error</a></li>
157
-
158
- <li><a href="./Mu/Curl/Error/Authorize.html">Mu::Curl::Error::Authorize</a></li>
159
-
160
- <li><a href="./Mu/Curl/Error/Connect.html">Mu::Curl::Error::Connect</a></li>
161
-
162
- <li><a href="./Mu/Curl/Error/DNS.html">Mu::Curl::Error::DNS</a></li>
163
-
164
- <li><a href="./Mu/Curl/Error/Region.html">Mu::Curl::Error::Region</a></li>
165
-
166
- <li><a href="./Mu/Curl/Error/Status.html">Mu::Curl::Error::Status</a></li>
167
-
168
- <li><a href="./Mu/Curl/Error/Timeout.html">Mu::Curl::Error::Timeout</a></li>
169
-
170
- <li><a href="./Mu/Curl/Verify.html">Mu::Curl::Verify</a></li>
171
-
172
- <li><a href="./Mu/Curl/Verify/Request.html">Mu::Curl::Verify::Request</a></li>
173
-
174
- <li><a href="./Mu/Curl/Verify/Response.html">Mu::Curl::Verify::Response</a></li>
175
-
176
- <li><a href="./Mu/Curl/Verify/Result.html">Mu::Curl::Verify::Result</a></li>
177
-
178
- <li><a href="./Mu/Ddt.html">Mu::Ddt</a></li>
179
-
180
- <li><a href="./Mu/Helper.html">Mu::Helper</a></li>
181
-
182
- <li><a href="./Mu/Homepage.html">Mu::Homepage</a></li>
183
-
184
- <li><a href="./Mu/HttpHelper.html">Mu::HttpHelper</a></li>
185
-
186
- <li><a href="./Mu/Muapi.html">Mu::Muapi</a></li>
187
-
188
- <li><a href="./Mu/Netconfig.html">Mu::Netconfig</a></li>
189
-
190
- <li><a href="./Mu/Scale.html">Mu::Scale</a></li>
191
-
192
- <li><a href="./Mu/System.html">Mu::System</a></li>
193
-
194
- <li><a href="./Test.html">Test</a></li>
195
-
196
- <li><a href="./Test/Unit.html">Test::Unit</a></li>
197
-
198
- <li><a href="./Test/Unit/TestCase.html">Test::Unit::TestCase</a></li>
199
-
200
- <li><a href="./Object.html">Object</a></li>
201
-
202
- <li><a href="./TCTestMu.html">TCTestMu</a></li>
203
-
204
- </ul>
205
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
206
- </div>
207
-
208
-
209
- </div>
210
- </div>
211
-
212
- <div id="documentation">
213
- <h1 class="class">Object</h1>
214
-
215
- <div id="description">
216
-
217
- </div>
218
-
219
- <!-- Constants -->
220
-
221
-
222
- <!-- Attributes -->
223
-
224
-
225
- <!-- Methods -->
226
-
227
- <div id="public-instance-method-details" class="method-section section">
228
- <h3 class="section-header">Public Instance Methods</h3>
229
-
230
-
231
- <div id="deep-clone-method" class="method-detail ">
232
- <a name="method-i-deep_clone"></a>
233
-
234
- <div class="method-heading">
235
-
236
- <span class="method-name">deep_clone</span><span
237
- class="method-args">()</span>
238
- <span class="method-click-advice">click to toggle source</span>
239
-
240
- </div>
241
-
242
- <div class="method-description">
243
-
244
-
245
-
246
-
247
-
248
- <div class="method-source-code"
249
- id="deep-clone-source">
250
- <pre>
251
- <span class="ruby-comment cmt"># File test/tc_test_mu.rb, line 8</span>
252
- 8: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deep_clone</span>
253
- 9: <span class="ruby-constant">Marshal</span><span class="ruby-operator">::</span><span class="ruby-identifier">load</span>(<span class="ruby-constant">Marshal</span>.<span class="ruby-identifier">dump</span>(<span class="ruby-keyword kw">self</span>))
254
- 10: <span class="ruby-keyword kw">end</span></pre>
255
- </div>
256
-
257
- </div>
258
-
259
-
260
-
261
-
262
- </div>
263
-
264
-
265
- </div>
266
-
267
-
268
- </div>
269
-
270
-
271
- <div id="rdoc-debugging-section-dump" class="debugging-section">
272
-
273
- <p>Disabled; run with --debug to generate this.</p>
274
-
275
- </div>
276
-
277
- <div id="validator-badges">
278
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
279
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
280
- Rdoc Generator</a> 1.1.6</small>.</p>
281
- </div>
282
-
283
- </body>
284
- </html>
285
-
@@ -1,892 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
-
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
8
-
9
- <title>File: README.rdoc [RDoc Documentation]</title>
10
-
11
- <link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
12
-
13
- <script src="./js/jquery.js" type="text/javascript"
14
- charset="utf-8"></script>
15
- <script src="./js/thickbox-compressed.js" type="text/javascript"
16
- charset="utf-8"></script>
17
- <script src="./js/quicksearch.js" type="text/javascript"
18
- charset="utf-8"></script>
19
- <script src="./js/darkfish.js" type="text/javascript"
20
- charset="utf-8"></script>
21
- </head>
22
-
23
- <body class="file">
24
- <div id="metadata">
25
- <div id="home-metadata">
26
- <div id="home-section" class="section">
27
- <h3 class="section-header">
28
- <a href="./index.html">Home</a>
29
- <a href="./index.html#classes">Classes</a>
30
- <a href="./index.html#methods">Methods</a>
31
- </h3>
32
- </div>
33
- </div>
34
-
35
- <div id="project-metadata">
36
-
37
-
38
- <div id="fileindex-section" class="section project-section">
39
- <h3 class="section-header">Files</h3>
40
- <ul>
41
-
42
- <li class="file"><a href="./Gemfile.html">Gemfile</a></li>
43
-
44
- <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
45
-
46
- <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
47
-
48
- <li class="file"><a href="./Rakefile.html">Rakefile</a></li>
49
-
50
- <li class="file"><a href="./VERSION.html">VERSION</a></li>
51
-
52
- </ul>
53
- </div>
54
-
55
-
56
- <div id="classindex-section" class="section project-section">
57
- <h3 class="section-header">Class Index
58
- <span class="search-toggle"><img src="./images/find.png"
59
- height="16" width="16" alt="[+]"
60
- title="show/hide quicksearch" /></span></h3>
61
- <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
62
- <fieldset>
63
- <legend>Quicksearch</legend>
64
- <input type="text" name="quicksearch" value=""
65
- class="quicksearch-field" />
66
- </fieldset>
67
- </form>
68
-
69
- <ul class="link-list">
70
-
71
- <li><a href="./Mu.html">Mu</a></li>
72
-
73
- <li><a href="./Mu/Client.html">Mu::Client</a></li>
74
-
75
- <li><a href="./Mu/Command.html">Mu::Command</a></li>
76
-
77
- <li><a href="./Mu/Command/API.html">Mu::Command::API</a></li>
78
-
79
- <li><a href="./Mu/Command/API.html">Mu::Command::API</a></li>
80
-
81
- <li><a href="./Mu/Command/Cmd_appid.html">Mu::Command::Cmd_appid</a></li>
82
-
83
- <li><a href="./Mu/Command/Cmd_cli.html">Mu::Command::Cmd_cli</a></li>
84
-
85
- <li><a href="./Mu/Command/Cmd_ddt.html">Mu::Command::Cmd_ddt</a></li>
86
-
87
- <li><a href="./Mu/Command/Cmd_homepage.html">Mu::Command::Cmd_homepage</a></li>
88
-
89
- <li><a href="./Mu/Command/Cmd_muapi.html">Mu::Command::Cmd_muapi</a></li>
90
-
91
- <li><a href="./Mu/Command/Cmd_netconfig.html">Mu::Command::Cmd_netconfig</a></li>
92
-
93
- <li><a href="./Mu/Command/Cmd_runscale.html">Mu::Command::Cmd_runscale</a></li>
94
-
95
- <li><a href="./Mu/Command/Cmd_runscenario.html">Mu::Command::Cmd_runscenario</a></li>
96
-
97
- <li><a href="./Mu/Command/Cmd_runverify.html">Mu::Command::Cmd_runverify</a></li>
98
-
99
- <li><a href="./Mu/Command/Cmd_scale.html">Mu::Command::Cmd_scale</a></li>
100
-
101
- <li><a href="./Mu/Command/Cmd_system.html">Mu::Command::Cmd_system</a></li>
102
-
103
- <li><a href="./Mu/Command/Curl.html">Mu::Command::Curl</a></li>
104
-
105
- <li><a href="./Mu/Command/Help.html">Mu::Command::Help</a></li>
106
-
107
- <li><a href="./Mu/Curl.html">Mu::Curl</a></li>
108
-
109
- <li><a href="./Mu/Curl/Error.html">Mu::Curl::Error</a></li>
110
-
111
- <li><a href="./Mu/Curl/Error/Authorize.html">Mu::Curl::Error::Authorize</a></li>
112
-
113
- <li><a href="./Mu/Curl/Error/Connect.html">Mu::Curl::Error::Connect</a></li>
114
-
115
- <li><a href="./Mu/Curl/Error/DNS.html">Mu::Curl::Error::DNS</a></li>
116
-
117
- <li><a href="./Mu/Curl/Error/Region.html">Mu::Curl::Error::Region</a></li>
118
-
119
- <li><a href="./Mu/Curl/Error/Status.html">Mu::Curl::Error::Status</a></li>
120
-
121
- <li><a href="./Mu/Curl/Error/Timeout.html">Mu::Curl::Error::Timeout</a></li>
122
-
123
- <li><a href="./Mu/Curl/Verify.html">Mu::Curl::Verify</a></li>
124
-
125
- <li><a href="./Mu/Curl/Verify/Request.html">Mu::Curl::Verify::Request</a></li>
126
-
127
- <li><a href="./Mu/Curl/Verify/Response.html">Mu::Curl::Verify::Response</a></li>
128
-
129
- <li><a href="./Mu/Curl/Verify/Result.html">Mu::Curl::Verify::Result</a></li>
130
-
131
- <li><a href="./Mu/Ddt.html">Mu::Ddt</a></li>
132
-
133
- <li><a href="./Mu/Helper.html">Mu::Helper</a></li>
134
-
135
- <li><a href="./Mu/Homepage.html">Mu::Homepage</a></li>
136
-
137
- <li><a href="./Mu/HttpHelper.html">Mu::HttpHelper</a></li>
138
-
139
- <li><a href="./Mu/Muapi.html">Mu::Muapi</a></li>
140
-
141
- <li><a href="./Mu/Netconfig.html">Mu::Netconfig</a></li>
142
-
143
- <li><a href="./Mu/Scale.html">Mu::Scale</a></li>
144
-
145
- <li><a href="./Mu/System.html">Mu::System</a></li>
146
-
147
- <li><a href="./Test.html">Test</a></li>
148
-
149
- <li><a href="./Test/Unit.html">Test::Unit</a></li>
150
-
151
- <li><a href="./Test/Unit/TestCase.html">Test::Unit::TestCase</a></li>
152
-
153
- <li><a href="./Object.html">Object</a></li>
154
-
155
- <li><a href="./TCTestMu.html">TCTestMu</a></li>
156
-
157
- </ul>
158
- <div id="no-class-search-results" style="display: none;">No matching classes.</div>
159
- </div>
160
-
161
-
162
- </div>
163
- </div>
164
-
165
- <div id="documentation">
166
- <p>
167
- <a href="Mu.html">Mu</a> Ruby Gem
168
- </p>
169
- <p>
170
- API Commands for the <a href="Mu.html">Mu</a> System
171
- </p>
172
- <p>
173
- The Mu.gem contains command line application (executables) designed to help
174
- you work with Scenarios, <a href="Test.html">Test</a> Sets, Scale tests and
175
- all results generated from those tests. In addition, the Mu.gem also
176
- supports older REST API commands that you can use to configure the <a
177
- href="Mu.html">Mu</a> network, get system status, or even access the <a
178
- href="Mu.html">Mu</a> CLI. Finally, the <a href="Mu.html">Mu</a>. gem
179
- exposes API library classes that you can use in your own custom gems.
180
- </p>
181
- <p>
182
- Before Using This Gem:
183
- </p>
184
- <pre>
185
- * Ensure that you have installed the necessary software You must have installed ruby 1.8.6 and the following gems. (type sudo gem install&lt;gem&gt;):
186
- o json_pure. Don't confuse this with the json gem (that won't work).
187
- o nokogiri. See http://nokogiri.org/tutorials/installing_nokogiri.html for help.
188
- o rest-client. Used for HTTP calls.
189
- o mime-types. Required by REST-client.
190
- * Set the Mu environment variables.
191
- o MU_IP. Set the default IP address of the Mu management interface.
192
- o MU_ADMIN_USER. Set the default name of the admin user.
193
- o MU_ADMIN_PASS. Set the default admin user password(do not use the ':' or '@' characters in the password).
194
- </pre>
195
- <p>
196
- The following table lists each API section and the associated commands:
197
- </p>
198
- <p>
199
- Executables go to section »
200
- </p>
201
- <p>
202
- These command-line applications are used for loading and verifying
203
- Scenarios, creating and running <a href="Test.html">Test</a> Sets, and
204
- configuring and running Scale tests.
205
- </p>
206
- <pre>
207
- * cmd_appid
208
- * cmd_runscale
209
- * cmd_runverify
210
- * cmd_runscenario
211
- </pre>
212
- <p>
213
- Legacy REST API Commands go to section »
214
- </p>
215
- <p>
216
- These commands provide access to legacy REST API commands supported by the
217
- <a href="Mu.html">Mu</a> system.
218
- </p>
219
- <pre>
220
- * cmd_ddt
221
- * cmd_scale
222
- * cmd_netconfig
223
- * cmd_muapi
224
- * cmd_homepage
225
- * cmd_system
226
- * cmd_cli
227
- </pre>
228
- <p>
229
- API Library Classes go to section »
230
- </p>
231
- <p>
232
- These API library classes can be ‘required’ and used within Ruby
233
- scripts ( like most ruby gems).
234
- </p>
235
- <pre>
236
- * ddt
237
- * scale
238
- * netconfig
239
- * muapi
240
- </pre>
241
- <p>
242
- Executables
243
- </p>
244
- <p>
245
- The following command-line applications are used for loading and verifying
246
- Scenarios, creating and running <a href="Test.html">Test</a> Sets, and
247
- configuring and running Scale tests.
248
- </p>
249
- <pre>
250
- * cmd_appid
251
- * cmd_runscale
252
- * cmd_runverify
253
- * cmd_runscenario
254
- </pre>
255
- <p>
256
- cmd_appid
257
- </p>
258
- <p>
259
- Use to run Scale tests for a multi-host App-ID .msl file or a directory of
260
- .msl files. Supports command-line options for setting test parameters (such
261
- as concurrency and pattern) and for configuring a client/server
262
- &#8220;passthrough&#8221; <a href="Test.html">Test</a> Bed. <a
263
- href="Mu.html">Mu</a> Studio automatically collapses all hosts in the
264
- App-ID Scenario to just two hosts, which must be set to two <a
265
- href="Mu.html">Mu</a> interfaces. Command Description &amp;
266
- Examples help
267
- </p>
268
- <p>
269
- Gets help for all cmd_appid commands: help mu cmd_appid:help run_file
270
- </p>
271
- <p>
272
- Runs the specified .msl file: run_file -s msl-filename mu
273
- cmd_appid:run_file -s msl_file -i a1,a2 -m admin:admin@10.10.2.2 -p
274
- 1-10000:60 run_dir
275
- </p>
276
- <p>
277
- Runs all .msl files in the specified directory: run_dir -d msl-directory mu
278
- cmd_appid:run_dir -d msl_file_directory -i a1-10000,a2 -m
279
- admin:admin@10.10.2.2 -p 1-100000:360
280
- </p>
281
- <p>
282
- running?
283
- </p>
284
- <p>
285
- Gets status of the scale player: running? mu cmd_appid:running? Options
286
- (short &amp; long form) Description -c &#8212;csv csv-filename
287
- Specify the filename of the .csv file that contains the test cases to run.
288
- -d &#8212;dir directory Specify the directory that contains
289
- .msl files to run(required for run_dir). -h &#8212;help Get help on
290
- command line options. -i &#8212;interfaces interfaces Specify
291
- <a href="Mu.html">Mu</a> interfaces as a comma-separated list. Example: b1,
292
- b2. When using an IP range, specify range and offset. Example: b1-1000:0,b2
293
- -m --mu_string user:password@mu-ip Specify the user, password,
294
- and mgmt IP of the <a href="Mu.html">Mu</a> system. Example:
295
- admin:admin@10.9.8.7 -o &#8212;output filename Specify the
296
- filename to which you want to output logs. -p &#8212;pattern
297
- con-start:dur,con-end:dur Specify pattern as
298
- concurrency_start:duration,concurrency-end:duration. Duration is in
299
- seconds. Example: 1-10000:60,10000-1:30. -s &#8212;scenario
300
- msl-filename Specify the .msl filename (required for run_msl) -t
301
- &#8212;test Run a verification check only. -v &#8212;verbose
302
- Set the Logger::DEBUG level.
303
- </p>
304
- <p>
305
- back to top ↑ cmd_runscale
306
- </p>
307
- <p>
308
- Use to run Scale tests by specifying a Scenario .msl file or a directory of
309
- .msl files. Supports command-line options for setting test parameters (such
310
- as concurrency and pattern) and for configuring the <a
311
- href="Test.html">Test</a> Bed with <a href="Mu.html">Mu</a> interfaces
312
- and/or network hosts. Command Commands &amp; Examples help
313
- </p>
314
- <p>
315
- Gets help for all cmd_runscale commands: help mu cmd_runscale:help run_file
316
- </p>
317
- <p>
318
- Runs the specified .msl file: run_file -s msl-filename -i interfaces/hosts
319
- -p pattern mu cmd_runscale:run_file -s msl_file -i a1,dell-9 -p 1-10000:30
320
- run_dir
321
- </p>
322
- <p>
323
- Runs all .msl files in the specified directory: run_dir -d msl_directory mu
324
- cmd_runscale:run_dir -d msl_file_directory
325
- </p>
326
- <p>
327
- running?
328
- </p>
329
- <p>
330
- Gets status of the scale player: running? mu cmd_runscale:running? Options
331
- (short &amp; long form) Description -c &#8212;csv csv-filename
332
- Specify the filename of the .csv file that contains the test cases to run.
333
- -d &#8212;dir directory Specify the directory that contains
334
- .msl files to run(required for run_dir). -f --default_host
335
- default-host Specify the default host. This host is used for all hosts
336
- in the scenario which have not been explicitly assigned -h &#8212;help
337
- Get help on command line options. -i &#8212;interfaces interfaces
338
- Specify <a href="Mu.html">Mu</a> interfaces as a comma-separated list.
339
- Example: b1, b2. When using an IP range, specify range and offset. Example:
340
- b1-1000:0,b2 -m --mu_string user:password@mu-ip Specify the
341
- user, password, and mgmt IP of the <a href="Mu.html">Mu</a> system.
342
- Example: admin:admin@10.9.8.7 -o &#8212;output filename Specify
343
- the filename to which you want to output logs. -p &#8212;pattern
344
- con-start:dur,con-end:dur Specify pattern as
345
- concurrency_start:duration,concurrency-end:duration. Duration is in
346
- seconds. Example: 1-10000:60,10000-1:30. -s &#8212;scenario
347
- msl-filename Specify the .msl filename (required for run_msl) -t
348
- &#8212;test Run a verification check only. -v &#8212;verbose
349
- Set the Logger::DEBUG level.
350
- </p>
351
- <p>
352
- back to top ↑ cmd_runverify
353
- </p>
354
- <p>
355
- Use to load a Scenario and <a href="Test.html">Test</a> Set template (.xml
356
- files) and run a <a href="Test.html">Test</a> Set in Studio Verify.
357
- Supports command-line options for setting option values and for configuring
358
- the <a href="Test.html">Test</a> Bed with <a href="Mu.html">Mu</a>
359
- interfaces and/or network hosts. Command Commands &amp; Examples
360
- help
361
- </p>
362
- <p>
363
- Gets help for all cmd_runverify commands: help mu cmd_runverify:help run
364
- </p>
365
- <p>
366
- Runs the specified <a href="Test.html">Test</a> Set template for the
367
- specified Scenario: run -s scenario.xml -t test-set.xml -i interfaces/hosts
368
- mu cmd_runverify:run -s my_scenario -t my_testset -i a1,my-server Options
369
- (short &amp; long form) Description -c &#8212;channels hosts
370
- Specify channel hosts as a comma-separated list. -d &#8212;dir
371
- directory Specify the directory with Scenario templates to run. -h
372
- &#8212;help Get help on command line options. -i &#8212;interfaces
373
- interfaces Specify <a href="Mu.html">Mu</a> interfaces and network
374
- hosts as a comma-separated list. Example: b1, b2. When using an IP range,
375
- specify range/offset. Example: b1-1000:0,web-server -m --mu_string
376
- user:password@mu-ip Specify the user, password, and mgmt IP of the
377
- <a href="Mu.html">Mu</a> system. Example: admin:admin@10.9.8.7 -o
378
- &#8212;output filename Specify the filename to which you want to
379
- output logs. -p &#8212;options option:value Specify option/value
380
- pairs as a comma-separated list. Example: user:jane,email:jsmith@itemp.com
381
- -s &#8212;scenario scenario-template Specify the Scenario template
382
- to run (must be xml). -t &#8212;testset testset-template Specify
383
- the <a href="Test.html">Test</a> Set template to run (must be xml). -v
384
- &#8212;verbose Set the Logger::DEBUG level.
385
- </p>
386
- <p>
387
- back to top ↑ cmd_runscenario
388
- </p>
389
- <p>
390
- Use to load and verify a Scenario template (.xml file). Supports
391
- command-line options for configuring the <a href="Test.html">Test</a> Bed
392
- with <a href="Mu.html">Mu</a> interfaces and/or network hosts. Command
393
- Commands &amp; Examples help
394
- </p>
395
- <p>
396
- Gets help for all cmd_runscenario commands: help mu cmd_runscenario:help
397
- run
398
- </p>
399
- <p>
400
- Runs the specified Scenario template: run -s scenario.xml -i
401
- interfaces/hosts mu cmd_runscenario:run -s my_scenario -i a1,my-server
402
- Options (short &amp; long form) Description -c &#8212;channels
403
- hosts Specify channel hosts as a comma-separated list. -d
404
- &#8212;dir directory Specify the directory with Scenario templates
405
- to run. -h &#8212;help Get help on command line options. -i
406
- &#8212;interfaces interfaces Specify <a href="Mu.html">Mu</a>
407
- interfaces and network hosts as a comma-separated list. Example: b1, b2.
408
- When using an IP range, specify range/offset. Example: b1-1000:0,web-server
409
- -m --mu_string user:password@mu-ip Specify the user, password,
410
- and mgmt IP of the <a href="Mu.html">Mu</a> system. Example:
411
- admin:admin@10.9.8.7 -o &#8212;output filename Specify the
412
- filename to which you want to output logs. -s &#8212;scenario
413
- scenario-template Specify the Scenario template to run (must be xml). -v
414
- &#8212;verbose Set the Logger::DEBUG level.
415
- </p>
416
- <p>
417
- back to top ↑
418
- </p>
419
- <p>
420
- API Methods
421
- </p>
422
- <p>
423
- These commands provide access to legacy REST API commands supported by the
424
- <a href="Mu.html">Mu</a> system.
425
- </p>
426
- <pre>
427
- * cmd_muapi
428
- * cmd_netconfig
429
- * cmd_ddt
430
- * cmd_scale
431
- * cmd_homepage
432
- * cmd_system
433
- * cmd_cli
434
- </pre>
435
- <p>
436
- cmd_muapi
437
- </p>
438
- <p>
439
- Use to access the legacy REST API for <a href="Test.html">Test</a> Runs
440
- (Protocol Mutation, Scenario Mutation, DoS, and PV tests). Command
441
- Description &amp; Examples help Gets help for all cmd_muapi commands:
442
- help mu cmd_muapi:help archive Manage archives (reports) for <a
443
- href="Test.html">Test</a> Runs. The status and get commands require the
444
- job_id returned by the run command. archive -c command -u uuid/job-id
445
- </p>
446
- <p>
447
- mu cmd_muapi:archive -c run -u 52add3cf-9040-42ce-b263-8233039931d5
448
- </p>
449
- <p>
450
- Get the status of the archive report: mu cmd_muapi:archive -c status -u
451
- 1296064526931
452
- </p>
453
- <p>
454
- Download the archive report: mu cmd_muapi:archive -c get -u 1296064526931
455
- backup Manage system backup files. backup -c command
456
- </p>
457
- <p>
458
- Generate system backup: mu cmd_muapi:backup -c run
459
- </p>
460
- <p>
461
- Get the status of the backup job: mu cmd_muapi:backup -c status
462
- </p>
463
- <p>
464
- Download the backup file (requires a name): backup -c get -n filename mu
465
- cmd_muapi:backup -c get -n my-backup
466
- </p>
467
- <p>
468
- The <a href="Mu.html">Mu</a> system automatically appends the .dat
469
- extension to all backup files. capture Manage pcaps recorded by the
470
- <a href="Mu.html">Mu</a> system. The status and get commands require the
471
- job-id returned by the run command: capture -c command -p port-number -u
472
- job-id
473
- </p>
474
- <p>
475
- Start recording packets (this command returns the job-id): mu
476
- cmd_muapi:capture -c run -p a1
477
- </p>
478
- <p>
479
- Get the status of the packet recording job: mu cmd_muapi:capture -c status
480
- -p a1 -u 1296064526931
481
- </p>
482
- <p>
483
- Download the recorded packet capture: mu cmd_muapi:capture -c get -p a1 -u
484
- 1296064526931 delete Delete the specified <a href="Test.html">Test</a> Run
485
- or template: delete -u uuid mu cmd_muapi:delete -u
486
- 52add3cf-9040-42ce-b263-8233039931d5 export_by_name Export the specified
487
- template: export_by_name -n name -t type mu cmd_muapi:export_by_name -n
488
- my_monitor -t monitor get_faults Get a list of faults (xml format)
489
- from a <a href="Test.html">Test</a> Run: get_faults -u uuid -v mu
490
- cmd_muapi:get_faults -u 52add3cf-9040-42ce-b263-8233039931d5 -v get_name
491
- Get details for the specified <a href="Test.html">Test</a> Run or template:
492
- get_name -u uuid mu cmd_muapi:get_name -u
493
- 52add3cf-9040-42ce-b263-8233039931d5 list Get a list of templates by
494
- type: list -t template-type mu cmd_muapi:list -t monitor list_by_status
495
- Get a list of <a href="Test.html">Test</a> Runs by status: list_by_status
496
- -s status mu cmd_muapi:list_by_status -s finished list_type Get a
497
- list of all template types: list_types mu cmd_muapi:list_types pause
498
- Pause a <a href="Test.html">Test</a> Run: pause -u uuid mu cmd_muapi:pause
499
- -u 52add3cf-9040-42ce-b263-8233039931d5 resume Resume a <a
500
- href="Test.html">Test</a> Run: resume -u uuid mu cmd_muapi:pause -u
501
- 52add3cf-9040-42ce-b263-8233039931d5 run Start a <a
502
- href="Test.html">Test</a> Run (to rename, use the -b argument): run -u uuid
503
- [-b new-name] mu cmd_muapi:run -u 52add3cf-9040-42ce-b263-8233039931d5 -b
504
- true status Get the status of a <a href="Test.html">Test</a> Run: status
505
- -u uuid mu cmd_muapi:status -u 52add3cf-9040-42ce-b263-8233039931d5 stop
506
- Stop a <a href="Test.html">Test</a> Run: stop -u uuid mu cmd_muapi:stop -u
507
- 52add3cf-9040-42ce-b263-8233039931d5 Options (short &amp; long form)
508
- Description -b &#8212;boolean value Specify a boolean value
509
- (true or false). -c &#8212;command command Specify the command
510
- to run (run, get, status, etc.) -m --mu_string user:password@mu-ip
511
- Specify the user, password, and mgmt IP of the <a href="Mu.html">Mu</a>
512
- system. Example: admin:admin@10.9.8.7 -n &#8212;name name Specify
513
- a <a href="Test.html">Test</a> Run or template name. -o &#8212;output
514
- filename Specify the filename to which you want to output logs. -p
515
- &#8212;port port-number Specify the port number. -s &#8212;status
516
- status Specify the status filter (running, finished, aborted
517
- queued, or failed) -t &#8212;type template-type Specify the type of
518
- template. -u &#8212;uuid uuid/job-id Specify the UUID of the
519
- template to run. For archive, backup, and capture commands, this option
520
- takes a job-id value. -v &#8212;verbose Set the Logger::DEBUG
521
- level.
522
- </p>
523
- <p>
524
- back to top ↑ cmd_netconfig
525
- </p>
526
- <p>
527
- Use to access the legacy REST API for configuring <a href="Mu.html">Mu</a>
528
- interfaces, network hosts, and routes. Command Description &amp;
529
- Examples help Gets help for all cmd_netconfig commands: help mu
530
- cmd_netconfig:help clear_hosts
531
- </p>
532
- <p>
533
- Remove all network hosts configured in the <a href="Mu.html">Mu</a> system:
534
- clear_hosts mu cmd_netconfig:clear_hosts clear_interfaces
535
- </p>
536
- <p>
537
- Clear settings for specified <a href="Mu.html">Mu</a> interfaces:
538
- clear_interfaces -i interfaces mu cmd_netconfig:clear_interfaces -i b1,b2
539
- clear_routes
540
- </p>
541
- <p>
542
- Remove all user-configured routes in the <a href="Mu.html">Mu</a> system:
543
- clear_routes mu cmd_netconfig:clear_routes clear_vlans
544
- </p>
545
- <p>
546
- Remove all vlans for all <a href="Mu.html">Mu</a> interfaces: clear_vlans
547
- mu cmd_netconfig:clear_vlans create
548
- </p>
549
- <p>
550
- Create a network object such as a host or route: create -j object -e value
551
- mu cmd_netconfig:create -j {&#8220;default&#8221;:
552
- false,&#8220;direct&#8221;: false,&#8220;dst&#8221;:
553
- &#8220;10.0.0.0&#8220;,&#8220;dst_pfx_len&#8220;: 8,&#8220;gateway&#8221;:
554
- &#8220;192.168.100.1&#8220;,&#8220;interface&#8221;:
555
- &#8220;a1&#8221;,&#8220;interface_display_name&#8220;:
556
- &#8220;A1&#8221;,&#8220;metric&#8221;: 1,&#8220;readonly&#8221;: false} -e
557
- route delete
558
- </p>
559
- <p>
560
- Delete a network object such as host or route: delete -e value mu
561
- cmd_netconfig:delete -e Web-Server get
562
- </p>
563
- <p>
564
- Get details for a network object: get -e value mu cmd_netconfig:get -e a1
565
- modify
566
- </p>
567
- <p>
568
- Modify a network object such as a host or route:modify -j object -e value
569
- mu cmd_netconfig:modify -j {&#8220;mac&#8221;:
570
- &#8220;&#8221;,&#8220;name&#8221;:
571
- &#8220;Web-Server&#8221;,&#8220;notes&#8221;:
572
- &#8220;&#8221;,&#8220;v4_addr&#8220;:
573
- &#8220;192.168.112.205&#8220;,&#8220;v6_global_addr&#8220;:
574
- &#8220;&#8221;,&#8220;v6_local_addr&#8220;: &#8220;&#8221;} -e host
575
- resolve_hosts
576
- </p>
577
- <p>
578
- Get IP address for specified network host: resolve_hosts host mu
579
- cmd_netconfig:resolve_hosts Web-Server restore
580
- </p>
581
- <p>
582
- Restore from specified file (to overwrite existing object, use the -b
583
- argument): restore -f filepath [-b clear-existing] mu cmd_netconfig:restore
584
- -f my_muhosts/web-server.json true save
585
- </p>
586
- <p>
587
- Save changes to the <a href="Mu.html">Mu</a> system: save mu
588
- cmd_netconfig:save Options (short &amp; long form) Description -b
589
- &#8212;boolean value Specify a boolean value (true or false). -e
590
- &#8212;element value Specify a value for the associated command.
591
- Example: interfaces or interfaces/a1 -f &#8212;filepath filepath
592
- Specify the path to a file. -h &#8212;help Get help on command line
593
- options. -i &#8212;interfaces interface-or-host Specify <a
594
- href="Mu.html">Mu</a> interfaces or network hosts as a comma-separated
595
- list. Example: b1, web-server. -j &#8212;json object Specify a json
596
- object as a text string. -m --mu_string user:password@mu-ip
597
- Specify a user, password, and mgmt IP of a <a href="Mu.html">Mu</a> system.
598
- Example: admin:admin@10.9.8.7 -o &#8212;output filename Specify
599
- the filename to which you want to output logs. -v &#8212;verbose
600
- Set the Logger::DEBUG level.
601
- </p>
602
- <p>
603
- back to top ↑ cmd_ddt
604
- </p>
605
- <p>
606
- Use to access the legacy REST API for <a href="Test.html">Test</a> Sets
607
- (Studio Verify). tr> tr> Command Description &amp; Examples
608
- display_results Displays results for the current <a
609
- href="Test.html">Test</a> Set: display_results mu cmd_ddt:display_results
610
- new_session Create a new session: new_session mu cmd_ddt:new_session
611
- load_scenario Load the specified Scenario template: load_scenario -u uuid
612
- mu cmd_ddt:load_scenario -u 52add3cf-9040-42ce-b263-8233039931d5 get_hosts
613
- Get a list of hosts in the <a href="Test.html">Test</a> Bed: get_hosts mu
614
- cmd_ddt:get_hosts set_hosts Configure the hosts in the <a
615
- href="Test.html">Test</a> Bed: set_hosts -r role -n name -y type mu
616
- cmd_ddt:set_hosts -r HTTP_Client,HTTP_Server -n a1,Web-Server -y v4
617
- get_channels Get a list of channels in the <a href="Test.html">Test</a>
618
- Bed: get_channels mu cmd_ddt:get_channels set_channels Configure the
619
- channels in the <a href="Test.html">Test</a> Bed: set_channels -r role -n
620
- name mu cmd_ddt:set_channels -r SSH_Channel -n Web-Server get_options
621
- Get a list of options in the <a href="Test.html">Test</a> Set: get_options
622
- mu cmd_ddt:get_options set_options Configure the option values for the
623
- <a href="Test.html">Test</a> Set: set_options -n name -p value mu
624
- cmd_ddt:set_options -n username -p jsmith get_sessions Get a list of all
625
- sessions: get_sessions mu cmd_ddt:get_sessions setup_test Setup the <a
626
- href="Test.html">Test</a> Bed, reserving the <a href="Mu.html">Mu</a>
627
- interfaces: setup_test mu cmd_ddt:setup_test run Run a <a
628
- href="Test.html">Test</a> Set: run mu cmd_ddt:run run_testset Run the
629
- specified <a href="Test.html">Test</a> Set: run_testset -u uuid mu
630
- cmd_ddt:run_testset -u 04aa248a-0b9b-4bf6-97e1-aab691d0acf1
631
- get_testset_results Get results for the current <a
632
- href="Test.html">Test</a> Set: get_testset_results mu
633
- cmd_ddt:get_testset_results get_testset_status Get status for the
634
- current <a href="Test.html">Test</a> Set: get_testset_status mu
635
- cmd_ddt:get_testset_status teardown_test Unsets the <a
636
- href="Test.html">Test</a> Bed selections, releasing the <a
637
- href="Mu.html">Mu</a> interfaces: teardown_test mu cmd_ddt:teardown_test
638
- close_session Closes the current session: close_session mu
639
- cmd_ddt:close_session close_all_sessions Closes all existing sessions:
640
- close_all_sessions mu cmd_ddt:close_all_sessions csv_export Exports a
641
- <a href="Test.html">Test</a> Set from the <a href="Mu.html">Mu</a> system
642
- to a. csv file: csv_export -u uuid mu cmd_ddt:csv_export -u
643
- 52add3cf-9040-42ce-b263-8233039931d5 csv_import Imports a .csv file to
644
- create a <a href="Test.html">Test</a> Set on the <a href="Mu.html">Mu</a>
645
- system: csv_import -t filename.csv mu cmd_ddt:csv_import -t my-testset.csv
646
- Options (short &amp; long form) Description -f &#8212;filename
647
- filename Specify the template name for saving an imported <a
648
- href="Test.html">Test</a> Set. -h &#8212;help Get help on command
649
- line options. -m --mu_string user:password@mu-ip Specify a
650
- user, password, and mgmt IP of a <a href="Mu.html">Mu</a> system. Example:
651
- admin:admin@10.9.8.7 -n &#8212;names name-array Specify host
652
- names or channel names in a comma-separated array. Example: a1,Web-Server
653
- -o &#8212;output filename Specify the filename to which you want
654
- to output logs. -p --option_values value-array Specify values for
655
- <a href="Test.html">Test</a> Set options in a comma-separated array.
656
- Example: bob,jane,mary,tom -r &#8212;roles role-array Specify
657
- host roles in a comma-separated array. Example: HTTP_Client,HTTP_Server -t
658
- &#8212;testset filename.csv Specify the name of the .csv file to import.
659
- -u &#8212;uuid uuid Specify the UUID of the Scenario or <a
660
- href="Test.html">Test</a> Set. -v &#8212;verbose Set the
661
- Logger::DEBUG level. -y &#8212;type type Specify network layer
662
- (v4, v6, l2) for all hosts in the <a href="Test.html">Test</a> Bed.
663
- Example: v4
664
- </p>
665
- <p>
666
- back to top ↑ cmd_scale
667
- </p>
668
- <p>
669
- Use to access the legacy REST API for Scale tests (Studio Scale). Command
670
- Description &amp; Examples about Lists information for the Scale Player
671
- and all active and inactive Scale Engines: about mu cmd_scale:about
672
- configure Configure any element of the scale json object : configure
673
- -p parameter -pv value mu cmd_scale:configure -p json_element -pv
674
- json_element_value data Gets chart data for the Scale test: data -w view
675
- -z zoom -ps position -b bot_id mu cmd_scale:data -w TIMELINE -z 1 -ps 0 -b
676
- bots_10.10.6.200:1 delete_scale_engine Delete the specified Scale
677
- Engine:delete_scale_engine -b bot_id mu cmd_scale:delete_scale_engine -b
678
- bots_10.10.6.200:1 help Gets help for all cmd_scale commands: help mu
679
- cmd_scale:help list Returns the current Scale Player&#8217;s UUID: list
680
- mu cmd_scale:list pattern Gets the pattern for the Scale test:
681
- pattern -z zoom -ps position mu cmd_scale:pattern -z 1 -ps 0 pcap Gets a
682
- pcap from a specific Scale Engine: pcap -b bot_id -f filename mu
683
- cmd_scale:pcap -b bots_10.10.6.200:1 -f bot_1_pcap release Release
684
- the Scale Player: release mu cmd_scale:release release_scale_engine
685
- Releases the specified Scale Engine:release_scale_engine -b bot_id mu
686
- cmd_scale:release_scale_engine -b bots_10.10.6.200:1 reserve_scale_engine
687
- Reserves the specified Scale Engine:reserve_scale_engine -b bot_id mu
688
- cmd_scale:reserve_scale_engine -b bots_10.10.6.200:1 session Create
689
- a new Scale Player session: session mu cmd_scale:session start Start the
690
- Scale test: start -c scale-test -m user:pass@mu-ip mu cmd_scale:start -c
691
- scale.json -m admin:admin@10.10.2.2 status Gets information about the
692
- currently running Scale test: status mu cmd_scale:status statuses
693
- Gets the status of all active and inactive Scale engines: statuses mu
694
- cmd_scale:statuses stop Stops the Scale test: stop mu cmd_scale:stop
695
- update Update the pattern dynamically (while the Scale test is running):
696
- update -p parameter -pv parameter-value mu cmd_scale:update -p delay -pv
697
- 250 -p volume -pv 100000 verify Verifies a Scale test: verify mu
698
- cmd_scale:verify Options (short &amp; long form) Description -b
699
- &#8212;bot-id scale-engine-id Specify a Scale Engine using its
700
- bot-id value. -c &#8212;config-file json-filename Specify a .json
701
- file that contains the configuration data. -f &#8212;filename
702
- pcap-filename Specify a name for the .pcap file. -h &#8212;help
703
- Get help on command line options. -m --mu_string user:password@mu-ip
704
- Specify a user, password, and mgmt IP of a <a href="Mu.html">Mu</a> system.
705
- Example: admin:admin@10.9.8.7 -o &#8212;output filename Specify
706
- the filename to which you want to output logs. -p &#8212;params
707
- parameters Specify parameters for initial configuration or for update.
708
- Supports delay and volume parameters. -ps --view_position value
709
- Specify the position in the timeline view for which to return data. At this
710
- time, only position 0 is supported. -pv --param_value value Specify
711
- a value for a parameter. -v &#8212;verbose Set the Logger::DEBUG
712
- level. -w &#8212;view view Specify the view (RUNTIME or CALLGRAPH)
713
- for which to return data. -z &#8212;zoom zoom-level Specify the
714
- zoom level (0, .5, or 1) in the timeline view for which to return data. 1
715
- returns data for 100% of the time range, 0.5 returns data for 50% of the
716
- time range, and 0 returns only the last minute of data.
717
- </p>
718
- <p>
719
- back to top ↑ cmd_homepage
720
- </p>
721
- <p>
722
- Use to access information displayed on the <a href="Mu.html">Mu</a> UI
723
- homepage, such as recent updates, backup status, or a list of latest test
724
- results. Command Description &amp; Examples all Gets the
725
- complete set of information displayed on the <a href="Mu.html">Mu</a> home
726
- page: all mu cmd_homepage:all help Gets help for all cmd_homepage
727
- commands: help mu cmd_homepage:help latest_test Gets an array of the
728
- latest test results: latest_test mu cmd_homepage:latest_test queue_test
729
- Gets an array of tests in the <a href="Test.html">Test</a> Queue:
730
- queue_test mu cmd_homepage:queue_test recent Gets the &#8220;What&#8217;s
731
- New&#8221; section from the <a href="Mu.html">Mu</a> homepage: recent mu
732
- cmd_homepage:recent status Gets system status for licenses, backup, and
733
- updates: status mu cmd_homepage:status Options (short &amp; long form)
734
- Description -h &#8212;help Get help on command line options. -m
735
- --mu_string user:password@mu-ip Specify a user, password, and mgmt
736
- IP of a <a href="Mu.html">Mu</a> system. Example: admin:admin@10.9.8.7 -o
737
- &#8212;output filename Specify the filename to which you want to
738
- output logs. -v &#8212;verbose Set the Logger::DEBUG level.
739
- </p>
740
- <p>
741
- back to top ↑ cmd_system
742
- </p>
743
- <p>
744
- Use to restart system services or to get status details for the <a
745
- href="Mu.html">Mu</a> system. Command Description &amp; Examples
746
- restart Restart <a href="Mu.html">Mu</a> system services (this does
747
- not reboot the appliance): restart mu cmd_system:restart status Gets all
748
- information from the system status page: status mu cmd_system:status
749
- status2 Gets additional system information such as hard drive
750
- status, platform model, serial number: status2 mu cmd_system:status2
751
- Options (short &amp; long form) Description -h &#8212;help Get
752
- help on command line options. -m --mu_string user:password@mu-ip
753
- Specify a user, password, and mgmt IP of a <a href="Mu.html">Mu</a> system.
754
- Example: admin:admin@10.9.8.7 -o &#8212;output filename Specify
755
- the filename to which you want to output logs. -v &#8212;verbose
756
- Set the Logger::DEBUG level.
757
- </p>
758
- <p>
759
- back to top ↑ cmd_cli
760
- </p>
761
- <p>
762
- Use to access the <a href="Mu.html">Mu</a> CLI. Command Description
763
- &amp; Examples cli_help Get help for all cmd_cli commands: cli_help
764
- mu cmd_cli:cli_help cli_history Display the command line history for
765
- the current session: cli_help mu cmd_cli:history ping Ping the specified
766
- IP address from the <a href="Mu.html">Mu</a> system: ping -a ip-address mu
767
- cmd_cli:ping -a 10.10.10.1 question Show the available CLI commands:
768
- question mu cmd_cli:question traceroute Get the network route to a
769
- specified IP address from the <a href="Mu.html">Mu</a> system: traceroute
770
- -a ip-address mu cmd_cli:traceroute -a 10.10.10.1 Options (short &amp; long
771
- form) Description -h &#8212;help Get help on command line
772
- options. -m --mu_string user:password@mu-ip Specify a user,
773
- password, and mgmt IP of a <a href="Mu.html">Mu</a> system. Example:
774
- admin:admin@10.9.8.7 -o &#8212;output filename Specify the
775
- filename to which you want to output logs. -v &#8212;verbose Set
776
- the Logger::DEBUG level.
777
- </p>
778
- <p>
779
- back to top ↑
780
- </p>
781
- <p>
782
- Library Classes
783
- </p>
784
- <p>
785
- The following API library classes can be ‘required’ and used within
786
- Ruby scripts( like most ruby gems). Command Description &amp;
787
- Examples
788
- </p>
789
- <p>
790
- muapi
791
- </p>
792
- <p>
793
- require &#8216;rubygems&#8217;
794
- </p>
795
- <p>
796
- require &#8216;mu&#8217;
797
- </p>
798
- <p>
799
- api = Mu::Muapi.new(“10.10.2.2”, “admin”, “admin”)
800
- </p>
801
- <p>
802
- $log.level = Logger::INFO
803
- </p>
804
- <p>
805
- Example: api.list_by_status(&#8220;running&#8221;)
806
- </p>
807
- <p>
808
- ddt
809
- </p>
810
- <p>
811
- require &#8216;rubygems&#8217;
812
- </p>
813
- <p>
814
- require &#8216;mu&#8217;
815
- </p>
816
- <p>
817
- api = Mu::Ddt.new(“10.10.2.2”, “admin”, “admin”)
818
- </p>
819
- <p>
820
- $log.level = Logger::INFO
821
- </p>
822
- <p>
823
- Example: api.new_session
824
- </p>
825
- <p>
826
- scale
827
- </p>
828
- <p>
829
- require &#8216;rubygems&#8217;
830
- </p>
831
- <p>
832
- require &#8216;mu&#8217;
833
- </p>
834
- <p>
835
- api = Mu::Scale.new(“10.10.2.2”, “admin”, “admin”)
836
- </p>
837
- <p>
838
- $log.level = Logger::INFO
839
- </p>
840
- <p>
841
- Examples: api.configure -p musl -pv <scenario.msl> api.configure -p csv -pv
842
- <testset.csv> api.configure -p pattern -pv <pattern.json> api.start
843
- api.status api.stop api.release netconfig
844
- </p>
845
- <p>
846
- require &#8216;rubygems&#8217;
847
- </p>
848
- <p>
849
- require &#8216;mu&#8217;
850
- </p>
851
- <p>
852
- api = Mu::Netconfig.new(“10.10.2.2”, “admin”, “admin”)
853
- </p>
854
- <p>
855
- $log.level = Logger::INFO
856
- </p>
857
- <p>
858
- Example: api.get(&#8220;hosts&#8221;)
859
- </p>
860
- <p>
861
- back to top ↑ <a href="Mu.html">Mu</a> Dynamics Information
862
- </p>
863
- <p>
864
- <a href="Mu.html">Mu</a> Dynamics Customer Care is available 9am to 5pm
865
- PST, Monday to Friday at the toll-free support line at 1-866-276-4640;
866
- international customers can also use 1-408-329-6330. For online
867
- communication, visit the <a href="Mu.html">Mu</a> Dynamics Customer Care
868
- Center at <a
869
- href="http://www.mudynamics.com/support/overview.html.">www.mudynamics.com/support/overview.html.</a>
870
- </p>
871
- <p>
872
- In addition to <a href="Mu.html">Mu</a> UI Help and the <a
873
- href="Mu.html">Mu</a> product documentation, you can also get continuous
874
- updates on <a href="Mu.html">Mu</a> system capabilities using the following
875
- resources: Corporate Home • Press • Webinars, Seminars, &amp;
876
- Podcasts • Product Demos • RSS Feed Social Twitter • Facebook •
877
- YouTube • <a href="Mu.html">Mu</a> Community • Pcapr Blogs <a
878
- href="Mu.html">Mu</a> Line • <a href="Mu.html">Mu</a> Labs (with RSS
879
- Feed) Copyright 2011 <a href="Mu.html">Mu</a> Dynamics Inc., All Rights
880
- Reserved.
881
- </p>
882
-
883
- </div>
884
-
885
- <div id="validator-badges">
886
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
887
- <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
888
- Rdoc Generator</a> 1.1.6</small>.</p>
889
- </div>
890
- </body>
891
- </html>
892
-