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,399 +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_netconfig</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_netconfig</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_netconfig_rb.html">
|
59
|
-
lib/mu/command/cmd_netconfig.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="#M000066">cmd_clear_hosts</a>
|
90
|
-
<a href="#M000068">cmd_clear_interface</a>
|
91
|
-
<a href="#M000070">cmd_clear_routes</a>
|
92
|
-
<a href="#M000069">cmd_clear_vlans</a>
|
93
|
-
<a href="#M000063">cmd_create</a>
|
94
|
-
<a href="#M000064">cmd_delete</a>
|
95
|
-
<a href="#M000061">cmd_get</a>
|
96
|
-
<a href="#M000060">cmd_help</a>
|
97
|
-
<a href="#M000062">cmd_modify</a>
|
98
|
-
<a href="#M000067">cmd_resolve_hosts</a>
|
99
|
-
<a href="#M000065">cmd_restore</a>
|
100
|
-
<a href="#M000071">cmd_save</a>
|
101
|
-
</div>
|
102
|
-
</div>
|
103
|
-
|
104
|
-
</div>
|
105
|
-
|
106
|
-
|
107
|
-
<!-- if includes -->
|
108
|
-
|
109
|
-
<div id="section">
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
<div id="attribute-list">
|
116
|
-
<h3 class="section-bar">Attributes</h3>
|
117
|
-
|
118
|
-
<div class="name-list">
|
119
|
-
<table>
|
120
|
-
<tr class="top-aligned-row context-row">
|
121
|
-
<td class="context-item-name">api</td>
|
122
|
-
<td class="context-item-value"> [RW] </td>
|
123
|
-
<td class="context-item-desc"></td>
|
124
|
-
</tr>
|
125
|
-
<tr class="top-aligned-row context-row">
|
126
|
-
<td class="context-item-name">host</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">password</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">username</td>
|
137
|
-
<td class="context-item-value"> [RW] </td>
|
138
|
-
<td class="context-item-desc"></td>
|
139
|
-
</tr>
|
140
|
-
</table>
|
141
|
-
</div>
|
142
|
-
</div>
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<!-- if method_list -->
|
147
|
-
<div id="methods">
|
148
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
149
|
-
|
150
|
-
<div id="method-M000066" class="method-detail">
|
151
|
-
<a name="M000066"></a>
|
152
|
-
|
153
|
-
<div class="method-heading">
|
154
|
-
<a href="Cmd_netconfig.src/M000066.html" target="Code" class="method-signature"
|
155
|
-
onclick="popupCode('Cmd_netconfig.src/M000066.html');return false;">
|
156
|
-
<span class="method-name">cmd_clear_hosts</span><span class="method-args">(argv)</span>
|
157
|
-
</a>
|
158
|
-
</div>
|
159
|
-
|
160
|
-
<div class="method-description">
|
161
|
-
<p>
|
162
|
-
clears existing network configuration hosts
|
163
|
-
</p>
|
164
|
-
<pre>
|
165
|
-
* argv = command-line arguments
|
166
|
-
</pre>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
|
170
|
-
<div id="method-M000068" class="method-detail">
|
171
|
-
<a name="M000068"></a>
|
172
|
-
|
173
|
-
<div class="method-heading">
|
174
|
-
<a href="Cmd_netconfig.src/M000068.html" target="Code" class="method-signature"
|
175
|
-
onclick="popupCode('Cmd_netconfig.src/M000068.html');return false;">
|
176
|
-
<span class="method-name">cmd_clear_interface</span><span class="method-args">(argv)</span>
|
177
|
-
</a>
|
178
|
-
</div>
|
179
|
-
|
180
|
-
<div class="method-description">
|
181
|
-
<p>
|
182
|
-
clears existing network interfaces
|
183
|
-
</p>
|
184
|
-
<pre>
|
185
|
-
* argv = command-line arguments, require the names of the interfaces to clear (-i name)
|
186
|
-
</pre>
|
187
|
-
</div>
|
188
|
-
</div>
|
189
|
-
|
190
|
-
<div id="method-M000070" class="method-detail">
|
191
|
-
<a name="M000070"></a>
|
192
|
-
|
193
|
-
<div class="method-heading">
|
194
|
-
<a href="Cmd_netconfig.src/M000070.html" target="Code" class="method-signature"
|
195
|
-
onclick="popupCode('Cmd_netconfig.src/M000070.html');return false;">
|
196
|
-
<span class="method-name">cmd_clear_routes</span><span class="method-args">(argv)</span>
|
197
|
-
</a>
|
198
|
-
</div>
|
199
|
-
|
200
|
-
<div class="method-description">
|
201
|
-
<p>
|
202
|
-
clears existing network routes
|
203
|
-
</p>
|
204
|
-
<pre>
|
205
|
-
* argv = command-line arguments
|
206
|
-
</pre>
|
207
|
-
</div>
|
208
|
-
</div>
|
209
|
-
|
210
|
-
<div id="method-M000069" class="method-detail">
|
211
|
-
<a name="M000069"></a>
|
212
|
-
|
213
|
-
<div class="method-heading">
|
214
|
-
<a href="Cmd_netconfig.src/M000069.html" target="Code" class="method-signature"
|
215
|
-
onclick="popupCode('Cmd_netconfig.src/M000069.html');return false;">
|
216
|
-
<span class="method-name">cmd_clear_vlans</span><span class="method-args">(argv)</span>
|
217
|
-
</a>
|
218
|
-
</div>
|
219
|
-
|
220
|
-
<div class="method-description">
|
221
|
-
<p>
|
222
|
-
clears existing vlan configurations
|
223
|
-
</p>
|
224
|
-
<pre>
|
225
|
-
* argv = command-line arguments
|
226
|
-
</pre>
|
227
|
-
</div>
|
228
|
-
</div>
|
229
|
-
|
230
|
-
<div id="method-M000063" class="method-detail">
|
231
|
-
<a name="M000063"></a>
|
232
|
-
|
233
|
-
<div class="method-heading">
|
234
|
-
<a href="Cmd_netconfig.src/M000063.html" target="Code" class="method-signature"
|
235
|
-
onclick="popupCode('Cmd_netconfig.src/M000063.html');return false;">
|
236
|
-
<span class="method-name">cmd_create</span><span class="method-args">(argv)</span>
|
237
|
-
</a>
|
238
|
-
</div>
|
239
|
-
|
240
|
-
<div class="method-description">
|
241
|
-
<p>
|
242
|
-
creates a new network element
|
243
|
-
</p>
|
244
|
-
<pre>
|
245
|
-
* argv = command-line arguments, requires a json configuration (-j) and the element (-e) to modify, such as 'interfaces', 'hosts' or 'routes'
|
246
|
-
</pre>
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
|
250
|
-
<div id="method-M000064" class="method-detail">
|
251
|
-
<a name="M000064"></a>
|
252
|
-
|
253
|
-
<div class="method-heading">
|
254
|
-
<a href="Cmd_netconfig.src/M000064.html" target="Code" class="method-signature"
|
255
|
-
onclick="popupCode('Cmd_netconfig.src/M000064.html');return false;">
|
256
|
-
<span class="method-name">cmd_delete</span><span class="method-args">(argv)</span>
|
257
|
-
</a>
|
258
|
-
</div>
|
259
|
-
|
260
|
-
<div class="method-description">
|
261
|
-
<p>
|
262
|
-
deletes an existing network element
|
263
|
-
</p>
|
264
|
-
<pre>
|
265
|
-
* argv = command-line arguments, requires a json configuration (-j) and the element (-e) to modify, such as 'interfaces', 'hosts' or 'routes' or 'interfaces/a1' or 'hosts/dell-9'
|
266
|
-
</pre>
|
267
|
-
</div>
|
268
|
-
</div>
|
269
|
-
|
270
|
-
<div id="method-M000061" class="method-detail">
|
271
|
-
<a name="M000061"></a>
|
272
|
-
|
273
|
-
<div class="method-heading">
|
274
|
-
<a href="Cmd_netconfig.src/M000061.html" target="Code" class="method-signature"
|
275
|
-
onclick="popupCode('Cmd_netconfig.src/M000061.html');return false;">
|
276
|
-
<span class="method-name">cmd_get</span><span class="method-args">(argv)</span>
|
277
|
-
</a>
|
278
|
-
</div>
|
279
|
-
|
280
|
-
<div class="method-description">
|
281
|
-
<p>
|
282
|
-
returns a json representation of the specified element
|
283
|
-
</p>
|
284
|
-
<pre>
|
285
|
-
* argv = command-line arguments, requires an element (-e) argument, such as 'interfaces', 'hosts' or 'routes' or 'interfaces/a1' or 'hosts/dell-9'
|
286
|
-
</pre>
|
287
|
-
</div>
|
288
|
-
</div>
|
289
|
-
|
290
|
-
<div id="method-M000060" class="method-detail">
|
291
|
-
<a name="M000060"></a>
|
292
|
-
|
293
|
-
<div class="method-heading">
|
294
|
-
<a href="Cmd_netconfig.src/M000060.html" target="Code" class="method-signature"
|
295
|
-
onclick="popupCode('Cmd_netconfig.src/M000060.html');return false;">
|
296
|
-
<span class="method-name">cmd_help</span><span class="method-args">(argv)</span>
|
297
|
-
</a>
|
298
|
-
</div>
|
299
|
-
|
300
|
-
<div class="method-description">
|
301
|
-
<p>
|
302
|
-
displays command-line help
|
303
|
-
</p>
|
304
|
-
</div>
|
305
|
-
</div>
|
306
|
-
|
307
|
-
<div id="method-M000062" class="method-detail">
|
308
|
-
<a name="M000062"></a>
|
309
|
-
|
310
|
-
<div class="method-heading">
|
311
|
-
<a href="Cmd_netconfig.src/M000062.html" target="Code" class="method-signature"
|
312
|
-
onclick="popupCode('Cmd_netconfig.src/M000062.html');return false;">
|
313
|
-
<span class="method-name">cmd_modify</span><span class="method-args">(argv)</span>
|
314
|
-
</a>
|
315
|
-
</div>
|
316
|
-
|
317
|
-
<div class="method-description">
|
318
|
-
<p>
|
319
|
-
modifies a network element
|
320
|
-
</p>
|
321
|
-
<pre>
|
322
|
-
* argv = command-line arguments, requires a json configuration (-j) and the element (-e) to modify, such as 'interfaces', 'hosts' or 'routes' or 'interfaces/a1' or 'hosts/dell-9'
|
323
|
-
</pre>
|
324
|
-
</div>
|
325
|
-
</div>
|
326
|
-
|
327
|
-
<div id="method-M000067" class="method-detail">
|
328
|
-
<a name="M000067"></a>
|
329
|
-
|
330
|
-
<div class="method-heading">
|
331
|
-
<a href="Cmd_netconfig.src/M000067.html" target="Code" class="method-signature"
|
332
|
-
onclick="popupCode('Cmd_netconfig.src/M000067.html');return false;">
|
333
|
-
<span class="method-name">cmd_resolve_hosts</span><span class="method-args">(argv)</span>
|
334
|
-
</a>
|
335
|
-
</div>
|
336
|
-
|
337
|
-
<div class="method-description">
|
338
|
-
<p>
|
339
|
-
resolves network configuration hosts
|
340
|
-
</p>
|
341
|
-
<pre>
|
342
|
-
* argv = command-line arguments, requires the name (-n) of the host to resolve (determines its ip address and adds it to the network configuration)
|
343
|
-
</pre>
|
344
|
-
</div>
|
345
|
-
</div>
|
346
|
-
|
347
|
-
<div id="method-M000065" class="method-detail">
|
348
|
-
<a name="M000065"></a>
|
349
|
-
|
350
|
-
<div class="method-heading">
|
351
|
-
<a href="Cmd_netconfig.src/M000065.html" target="Code" class="method-signature"
|
352
|
-
onclick="popupCode('Cmd_netconfig.src/M000065.html');return false;">
|
353
|
-
<span class="method-name">cmd_restore</span><span class="method-args">(argv)</span>
|
354
|
-
</a>
|
355
|
-
</div>
|
356
|
-
|
357
|
-
<div class="method-description">
|
358
|
-
<p>
|
359
|
-
restores the network configuration from a file
|
360
|
-
</p>
|
361
|
-
<pre>
|
362
|
-
* argv = command-line arguments, requires a path to a json configuration file (-f) , and a boolean (-b true|false) argument indicating whether or not existing elements should be cleared
|
363
|
-
</pre>
|
364
|
-
</div>
|
365
|
-
</div>
|
366
|
-
|
367
|
-
<div id="method-M000071" class="method-detail">
|
368
|
-
<a name="M000071"></a>
|
369
|
-
|
370
|
-
<div class="method-heading">
|
371
|
-
<a href="Cmd_netconfig.src/M000071.html" target="Code" class="method-signature"
|
372
|
-
onclick="popupCode('Cmd_netconfig.src/M000071.html');return false;">
|
373
|
-
<span class="method-name">cmd_save</span><span class="method-args">(argv)</span>
|
374
|
-
</a>
|
375
|
-
</div>
|
376
|
-
|
377
|
-
<div class="method-description">
|
378
|
-
<p>
|
379
|
-
saves the network configuration to a file
|
380
|
-
</p>
|
381
|
-
<pre>
|
382
|
-
* argv = command-line arguments, requires the element (-e element, such as 'interfaces', or -e all) to save, and a file name (-f) to save the settings to
|
383
|
-
</pre>
|
384
|
-
</div>
|
385
|
-
</div>
|
386
|
-
|
387
|
-
|
388
|
-
</div>
|
389
|
-
|
390
|
-
|
391
|
-
</div>
|
392
|
-
|
393
|
-
|
394
|
-
<div id="validator-badges">
|
395
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
396
|
-
</div>
|
397
|
-
|
398
|
-
</body>
|
399
|
-
</html>
|
@@ -1,220 +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_runscale</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_runscale</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_runscale_rb.html">
|
59
|
-
lib/mu/command/cmd_runscale.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="#M000057">cmd_help</a>
|
90
|
-
<a href="#M000059">cmd_run_dir</a>
|
91
|
-
<a href="#M000058">cmd_run_file</a>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
|
95
|
-
</div>
|
96
|
-
|
97
|
-
|
98
|
-
<!-- if includes -->
|
99
|
-
|
100
|
-
<div id="section">
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
<div id="attribute-list">
|
107
|
-
<h3 class="section-bar">Attributes</h3>
|
108
|
-
|
109
|
-
<div class="name-list">
|
110
|
-
<table>
|
111
|
-
<tr class="top-aligned-row context-row">
|
112
|
-
<td class="context-item-name">addr_indexes</td>
|
113
|
-
<td class="context-item-value"> [RW] </td>
|
114
|
-
<td class="context-item-desc"></td>
|
115
|
-
</tr>
|
116
|
-
<tr class="top-aligned-row context-row">
|
117
|
-
<td class="context-item-name">api</td>
|
118
|
-
<td class="context-item-value"> [RW] </td>
|
119
|
-
<td class="context-item-desc"></td>
|
120
|
-
</tr>
|
121
|
-
<tr class="top-aligned-row context-row">
|
122
|
-
<td class="context-item-name">hosts</td>
|
123
|
-
<td class="context-item-value"> [RW] </td>
|
124
|
-
<td class="context-item-desc"></td>
|
125
|
-
</tr>
|
126
|
-
<tr class="top-aligned-row context-row">
|
127
|
-
<td class="context-item-name">offset_indexes</td>
|
128
|
-
<td class="context-item-value"> [RW] </td>
|
129
|
-
<td class="context-item-desc"></td>
|
130
|
-
</tr>
|
131
|
-
<tr class="top-aligned-row context-row">
|
132
|
-
<td class="context-item-name">params</td>
|
133
|
-
<td class="context-item-value"> [RW] </td>
|
134
|
-
<td class="context-item-desc"></td>
|
135
|
-
</tr>
|
136
|
-
</table>
|
137
|
-
</div>
|
138
|
-
</div>
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
<!-- if method_list -->
|
143
|
-
<div id="methods">
|
144
|
-
<h3 class="section-bar">Public Instance methods</h3>
|
145
|
-
|
146
|
-
<div id="method-M000057" class="method-detail">
|
147
|
-
<a name="M000057"></a>
|
148
|
-
|
149
|
-
<div class="method-heading">
|
150
|
-
<a href="Cmd_runscale.src/M000057.html" target="Code" class="method-signature"
|
151
|
-
onclick="popupCode('Cmd_runscale.src/M000057.html');return false;">
|
152
|
-
<span class="method-name">cmd_help</span><span class="method-args">(argv)</span>
|
153
|
-
</a>
|
154
|
-
</div>
|
155
|
-
|
156
|
-
<div class="method-description">
|
157
|
-
<p>
|
158
|
-
displays command-line help
|
159
|
-
</p>
|
160
|
-
<pre>
|
161
|
-
* argv = command-line arguments
|
162
|
-
</pre>
|
163
|
-
</div>
|
164
|
-
</div>
|
165
|
-
|
166
|
-
<div id="method-M000059" class="method-detail">
|
167
|
-
<a name="M000059"></a>
|
168
|
-
|
169
|
-
<div class="method-heading">
|
170
|
-
<a href="Cmd_runscale.src/M000059.html" target="Code" class="method-signature"
|
171
|
-
onclick="popupCode('Cmd_runscale.src/M000059.html');return false;">
|
172
|
-
<span class="method-name">cmd_run_dir</span><span class="method-args">(argv)</span>
|
173
|
-
</a>
|
174
|
-
</div>
|
175
|
-
|
176
|
-
<div class="method-description">
|
177
|
-
<p>
|
178
|
-
sets up, executes, and closes a Studio Scale test for each scenario (.msl
|
179
|
-
file) found in the specified directory
|
180
|
-
</p>
|
181
|
-
<pre>
|
182
|
-
* argv = command-line arguments, requires a directory (-d) argument
|
183
|
-
* optional -r argument for recursive directory search (default is a flat directory)
|
184
|
-
</pre>
|
185
|
-
</div>
|
186
|
-
</div>
|
187
|
-
|
188
|
-
<div id="method-M000058" class="method-detail">
|
189
|
-
<a name="M000058"></a>
|
190
|
-
|
191
|
-
<div class="method-heading">
|
192
|
-
<a href="Cmd_runscale.src/M000058.html" target="Code" class="method-signature"
|
193
|
-
onclick="popupCode('Cmd_runscale.src/M000058.html');return false;">
|
194
|
-
<span class="method-name">cmd_run_file</span><span class="method-args">(argv)</span>
|
195
|
-
</a>
|
196
|
-
</div>
|
197
|
-
|
198
|
-
<div class="method-description">
|
199
|
-
<p>
|
200
|
-
sets up, executes, and closes a Studio Scale test
|
201
|
-
</p>
|
202
|
-
<pre>
|
203
|
-
* argv = command-line arguments , requires a scenario (-s) argument
|
204
|
-
</pre>
|
205
|
-
</div>
|
206
|
-
</div>
|
207
|
-
|
208
|
-
|
209
|
-
</div>
|
210
|
-
|
211
|
-
|
212
|
-
</div>
|
213
|
-
|
214
|
-
|
215
|
-
<div id="validator-badges">
|
216
|
-
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
</body>
|
220
|
-
</html>
|