cft_smartcloud 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -0
- data/Rakefile +3 -3
- data/VERSION +1 -1
- data/bin/cft_smartcloud +37 -0
- data/cft_smartcloud.gemspec +88 -7
- data/lib/smartcloud.rb +12 -2
- data/lib/smartcloud_logger.rb +1 -1
- data/rdoc/classes/ConfigTable/BoolItem.html +172 -0
- data/rdoc/classes/ConfigTable/ExecItem.html +252 -0
- data/rdoc/classes/ConfigTable/Item.html +308 -0
- data/rdoc/classes/ConfigTable/MetaConfigEnvironment.html +445 -0
- data/rdoc/classes/ConfigTable/PackageSelectionItem.html +188 -0
- data/rdoc/classes/ConfigTable/PathItem.html +148 -0
- data/rdoc/classes/ConfigTable/ProgramItem.html +148 -0
- data/rdoc/classes/ConfigTable/SelectItem.html +175 -0
- data/rdoc/classes/ConfigTable.html +724 -0
- data/rdoc/classes/Enumerable.html +157 -0
- data/rdoc/classes/Errno/ENOTEMPTY.html +111 -0
- data/rdoc/classes/Errno.html +111 -0
- data/rdoc/classes/File.html +197 -0
- data/rdoc/classes/FileOperations.html +600 -0
- data/rdoc/classes/Hash.html +163 -0
- data/rdoc/classes/HookScriptAPI.html +413 -0
- data/rdoc/classes/IBMSmartCloud.html +1484 -0
- data/rdoc/classes/Installer/Shebang.html +245 -0
- data/rdoc/classes/Installer.html +1660 -0
- data/rdoc/classes/MIME/InvalidContentType.html +119 -0
- data/rdoc/classes/MIME/Type.html +1366 -0
- data/rdoc/classes/MIME/Types.html +643 -0
- data/rdoc/classes/MIME.html +124 -0
- data/rdoc/classes/MockSmartCloud.html +376 -0
- data/rdoc/classes/Net/HTTP.html +164 -0
- data/rdoc/classes/Net.html +122 -0
- data/rdoc/classes/RestClient/AbstractResponse.html +417 -0
- data/rdoc/classes/RestClient/Exception.html +305 -0
- data/rdoc/classes/RestClient/ExceptionWithResponse.html +119 -0
- data/rdoc/classes/RestClient/Exceptions.html +130 -0
- data/rdoc/classes/RestClient/MaxRedirectsReached.html +113 -0
- data/rdoc/classes/RestClient/Payload/Base.html +422 -0
- data/rdoc/classes/RestClient/Payload/Multipart.html +372 -0
- data/rdoc/classes/RestClient/Payload/Streamed.html +191 -0
- data/rdoc/classes/RestClient/Payload/UrlEncoded.html +202 -0
- data/rdoc/classes/RestClient/Payload.html +192 -0
- data/rdoc/classes/RestClient/RawResponse.html +236 -0
- data/rdoc/classes/RestClient/Redirect.html +168 -0
- data/rdoc/classes/RestClient/Request.html +950 -0
- data/rdoc/classes/RestClient/RequestFailed.html +178 -0
- data/rdoc/classes/RestClient/Resource.html +607 -0
- data/rdoc/classes/RestClient/Response.html +208 -0
- data/rdoc/classes/RestClient/ResponseForException.html +152 -0
- data/rdoc/classes/RestClient/SSLCertificateNotVerified.html +149 -0
- data/rdoc/classes/RestClient/ServerBrokeConnection.html +157 -0
- data/rdoc/classes/RestClient.html +737 -0
- data/rdoc/classes/SetupError.html +111 -0
- data/rdoc/classes/SmartcloudLogger.html +162 -0
- data/rdoc/classes/TestMIME.html +109 -0
- data/rdoc/classes/ToplevelInstaller.html +987 -0
- data/rdoc/classes/ToplevelInstallerMulti.html +593 -0
- data/rdoc/classes/XmlSimple/Cache.html +372 -0
- data/rdoc/classes/XmlSimple.html +475 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/README_rdoc.html +198 -0
- data/rdoc/files/lib/hash_fix_rb.html +115 -0
- data/rdoc/files/lib/mime-types-1_16/lib/mime/types_rb.html +107 -0
- data/rdoc/files/lib/mime-types-1_16/setup_rb.html +157 -0
- data/rdoc/files/lib/mime-types-1_16/test/test_mime_type_rb.html +109 -0
- data/rdoc/files/lib/mime-types-1_16/test/test_mime_types_rb.html +109 -0
- data/rdoc/files/lib/mock_smartcloud_rb.html +115 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/rest-client_rb.html +107 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/rest_client_rb.html +108 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/abstract_response_rb.html +108 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/exceptions_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/net_http_ext_rb.html +113 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/payload_rb.html +110 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/raw_response_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/request_rb.html +110 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/resource_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/response_rb.html +101 -0
- data/rdoc/files/lib/rest-client-1_6_3/lib/restclient_rb.html +111 -0
- data/rdoc/files/lib/restclient_fix_rb.html +115 -0
- data/rdoc/files/lib/smartcloud_logger_rb.html +115 -0
- data/rdoc/files/lib/smartcloud_rb.html +143 -0
- data/rdoc/files/lib/xml-simple-1_0_12/lib/xmlsimple_rb.html +124 -0
- data/rdoc/fr_class_index.html +79 -0
- data/rdoc/fr_file_index.html +48 -0
- data/rdoc/fr_method_index.html +441 -0
- data/rdoc/index.html +26 -0
- data/rdoc/rdoc-style.css +208 -0
- metadata +90 -6
@@ -0,0 +1,124 @@
|
|
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>Module: MIME</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>Module</strong></td>
|
53
|
+
<td class="class-name-in-header">MIME</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/mime-types-1_16/lib/mime/types_rb.html">
|
59
|
+
lib/mime-types-1.16/lib/mime/types.rb
|
60
|
+
</a>
|
61
|
+
<br />
|
62
|
+
<a href="../files/lib/rest-client-1_6_3/lib/restclient/request_rb.html">
|
63
|
+
lib/rest-client-1.6.3/lib/restclient/request.rb
|
64
|
+
</a>
|
65
|
+
<br />
|
66
|
+
</td>
|
67
|
+
</tr>
|
68
|
+
|
69
|
+
</table>
|
70
|
+
</div>
|
71
|
+
<!-- banner header -->
|
72
|
+
|
73
|
+
<div id="bodyContent">
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
<div id="contextContent">
|
78
|
+
|
79
|
+
<div id="description">
|
80
|
+
<p>
|
81
|
+
The namespace for <a href="MIME.html">MIME</a> applications, tools, and
|
82
|
+
libraries.
|
83
|
+
</p>
|
84
|
+
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
</div>
|
89
|
+
|
90
|
+
|
91
|
+
</div>
|
92
|
+
|
93
|
+
|
94
|
+
<!-- if includes -->
|
95
|
+
|
96
|
+
<div id="section">
|
97
|
+
|
98
|
+
<div id="class-list">
|
99
|
+
<h3 class="section-bar">Classes and Modules</h3>
|
100
|
+
|
101
|
+
Class <a href="MIME/InvalidContentType.html" class="link">MIME::InvalidContentType</a><br />
|
102
|
+
Class <a href="MIME/Type.html" class="link">MIME::Type</a><br />
|
103
|
+
Class <a href="MIME/Types.html" class="link">MIME::Types</a><br />
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
<!-- if method_list -->
|
114
|
+
|
115
|
+
|
116
|
+
</div>
|
117
|
+
|
118
|
+
|
119
|
+
<div id="validator-badges">
|
120
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
121
|
+
</div>
|
122
|
+
|
123
|
+
</body>
|
124
|
+
</html>
|
@@ -0,0 +1,376 @@
|
|
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: MockSmartCloud</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">MockSmartCloud</td>
|
54
|
+
</tr>
|
55
|
+
<tr class="top-aligned-row">
|
56
|
+
<td><strong>In:</strong></td>
|
57
|
+
<td>
|
58
|
+
<a href="../files/lib/mock_smartcloud_rb.html">
|
59
|
+
lib/mock_smartcloud.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
|
+
Object
|
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
|
+
<div id="description">
|
82
|
+
<p>
|
83
|
+
Copyright (c) 2011, Cohesive Flexible Technologies, Inc. This copyrighted
|
84
|
+
material is the property of Cohesive Flexible Technologies and is subject
|
85
|
+
to the license terms of the product it is contained within, whether in text
|
86
|
+
or compiled form. It is licensed under the terms expressed in the
|
87
|
+
accompanying README and LICENSE files.
|
88
|
+
</p>
|
89
|
+
<p>
|
90
|
+
This program is AS IS and WITHOUT ANY WARRANTY; without even the implied
|
91
|
+
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
92
|
+
</p>
|
93
|
+
|
94
|
+
</div>
|
95
|
+
|
96
|
+
|
97
|
+
</div>
|
98
|
+
|
99
|
+
<div id="method-list">
|
100
|
+
<h3 class="section-bar">Methods</h3>
|
101
|
+
|
102
|
+
<div class="name-list">
|
103
|
+
<a href="#M000019">clone_volume</a>
|
104
|
+
<a href="#M000014">create_instance</a>
|
105
|
+
<a href="#M000017">create_volume</a>
|
106
|
+
<a href="#M000021">delete_instance</a>
|
107
|
+
<a href="#M000015">describe_image</a>
|
108
|
+
<a href="#M000016">describe_instance</a>
|
109
|
+
<a href="#M000018">describe_volume</a>
|
110
|
+
<a href="#M000023">poll_for_instance_state</a>
|
111
|
+
<a href="#M000022">poll_for_volume_state</a>
|
112
|
+
<a href="#M000020">restart_instance</a>
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
</div>
|
117
|
+
|
118
|
+
|
119
|
+
<!-- if includes -->
|
120
|
+
|
121
|
+
<div id="section">
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<!-- if method_list -->
|
131
|
+
<div id="methods">
|
132
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
133
|
+
|
134
|
+
<div id="method-M000019" class="method-detail">
|
135
|
+
<a name="M000019"></a>
|
136
|
+
|
137
|
+
<div class="method-heading">
|
138
|
+
<a href="#M000019" class="method-signature">
|
139
|
+
<span class="method-name">clone_volume</span><span class="method-args">(*args)</span>
|
140
|
+
</a>
|
141
|
+
</div>
|
142
|
+
|
143
|
+
<div class="method-description">
|
144
|
+
<p><a class="source-toggle" href="#"
|
145
|
+
onclick="toggleCode('M000019-source');return false;">[Source]</a></p>
|
146
|
+
<div class="method-source-code" id="M000019-source">
|
147
|
+
<pre>
|
148
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 34</span>
|
149
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clone_volume</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
150
|
+
<span class="ruby-keyword kw">true</span>
|
151
|
+
<span class="ruby-keyword kw">end</span>
|
152
|
+
</pre>
|
153
|
+
</div>
|
154
|
+
</div>
|
155
|
+
</div>
|
156
|
+
|
157
|
+
<div id="method-M000014" class="method-detail">
|
158
|
+
<a name="M000014"></a>
|
159
|
+
|
160
|
+
<div class="method-heading">
|
161
|
+
<a href="#M000014" class="method-signature">
|
162
|
+
<span class="method-name">create_instance</span><span class="method-args">(*args)</span>
|
163
|
+
</a>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
<div class="method-description">
|
167
|
+
<p><a class="source-toggle" href="#"
|
168
|
+
onclick="toggleCode('M000014-source');return false;">[Source]</a></p>
|
169
|
+
<div class="method-source-code" id="M000014-source">
|
170
|
+
<pre>
|
171
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 14</span>
|
172
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_instance</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
173
|
+
<span class="ruby-identifier">describe_instance</span>
|
174
|
+
<span class="ruby-keyword kw">end</span>
|
175
|
+
</pre>
|
176
|
+
</div>
|
177
|
+
</div>
|
178
|
+
</div>
|
179
|
+
|
180
|
+
<div id="method-M000017" class="method-detail">
|
181
|
+
<a name="M000017"></a>
|
182
|
+
|
183
|
+
<div class="method-heading">
|
184
|
+
<a href="#M000017" class="method-signature">
|
185
|
+
<span class="method-name">create_volume</span><span class="method-args">(*args)</span>
|
186
|
+
</a>
|
187
|
+
</div>
|
188
|
+
|
189
|
+
<div class="method-description">
|
190
|
+
<p><a class="source-toggle" href="#"
|
191
|
+
onclick="toggleCode('M000017-source');return false;">[Source]</a></p>
|
192
|
+
<div class="method-source-code" id="M000017-source">
|
193
|
+
<pre>
|
194
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 26</span>
|
195
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">create_volume</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
196
|
+
<span class="ruby-keyword kw">true</span>
|
197
|
+
<span class="ruby-keyword kw">end</span>
|
198
|
+
</pre>
|
199
|
+
</div>
|
200
|
+
</div>
|
201
|
+
</div>
|
202
|
+
|
203
|
+
<div id="method-M000021" class="method-detail">
|
204
|
+
<a name="M000021"></a>
|
205
|
+
|
206
|
+
<div class="method-heading">
|
207
|
+
<a href="#M000021" class="method-signature">
|
208
|
+
<span class="method-name">delete_instance</span><span class="method-args">(*args)</span>
|
209
|
+
</a>
|
210
|
+
</div>
|
211
|
+
|
212
|
+
<div class="method-description">
|
213
|
+
<p><a class="source-toggle" href="#"
|
214
|
+
onclick="toggleCode('M000021-source');return false;">[Source]</a></p>
|
215
|
+
<div class="method-source-code" id="M000021-source">
|
216
|
+
<pre>
|
217
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 42</span>
|
218
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">delete_instance</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
219
|
+
<span class="ruby-keyword kw">true</span>
|
220
|
+
<span class="ruby-keyword kw">end</span>
|
221
|
+
</pre>
|
222
|
+
</div>
|
223
|
+
</div>
|
224
|
+
</div>
|
225
|
+
|
226
|
+
<div id="method-M000015" class="method-detail">
|
227
|
+
<a name="M000015"></a>
|
228
|
+
|
229
|
+
<div class="method-heading">
|
230
|
+
<a href="#M000015" class="method-signature">
|
231
|
+
<span class="method-name">describe_image</span><span class="method-args">(*args)</span>
|
232
|
+
</a>
|
233
|
+
</div>
|
234
|
+
|
235
|
+
<div class="method-description">
|
236
|
+
<p><a class="source-toggle" href="#"
|
237
|
+
onclick="toggleCode('M000015-source');return false;">[Source]</a></p>
|
238
|
+
<div class="method-source-code" id="M000015-source">
|
239
|
+
<pre>
|
240
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 18</span>
|
241
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe_image</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
242
|
+
{<span class="ruby-value str">"CreatedTime"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"2011-02-25T01:22:57.000Z"</span>, <span class="ruby-value str">"Owner"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"SYSTEM"</span>, <span class="ruby-value str">"SupportedInstanceTypes"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"InstanceType"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"Label"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"Bronze 32 bit"</span>, <span class="ruby-value str">"ID"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"BRZ32.1/2048/60*175"</span>, <span class="ruby-value str">"Price"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"Rate"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"0.21"</span>, <span class="ruby-value str">"PricePerQuantity"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"1"</span>, <span class="ruby-value str">"UnitOfMeasure"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"UHR "</span>, <span class="ruby-value str">"CountryCode"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"897"</span>, <span class="ruby-value str">"CurrencyCode"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"USD"</span>}}}, <span class="ruby-value str">"Name"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"CohesiveFT VPN-Cubed Datacenter Connect V2.0.0 - BYOL (TOR)"</span>, <span class="ruby-value str">"Location"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"101"</span>, <span class="ruby-value str">"ProductCodes"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"ProductCode"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"caondc13bV97Kg5TLyGNodD9or7gA"</span>}, <span class="ruby-value str">"Documentation"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{974E595E-566E-87E3-A483-AC0FC468C4D9}/1.0/GettingStarted.html"</span>, <span class="ruby-value str">"ID"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"20016530"</span>, <span class="ruby-value str">"Manifest"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{974E595E-566E-87E3-A483-AC0FC468C4D9}/1.0/parameters.xml"</span>, <span class="ruby-value str">"Description"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"CohesiveFT VPN-Cubed 2.0.0 UL - for TOR datacenter"</span>, <span class="ruby-value str">"State"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"AVAILABLE"</span>, <span class="ruby-value str">"Visibility"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"PUBLIC"</span>, <span class="ruby-value str">"Platform"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"Red Hat Enterprise Linux/5.4"</span>}
|
243
|
+
<span class="ruby-keyword kw">end</span>
|
244
|
+
</pre>
|
245
|
+
</div>
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
|
249
|
+
<div id="method-M000016" class="method-detail">
|
250
|
+
<a name="M000016"></a>
|
251
|
+
|
252
|
+
<div class="method-heading">
|
253
|
+
<a href="#M000016" class="method-signature">
|
254
|
+
<span class="method-name">describe_instance</span><span class="method-args">(*args)</span>
|
255
|
+
</a>
|
256
|
+
</div>
|
257
|
+
|
258
|
+
<div class="method-description">
|
259
|
+
<p><a class="source-toggle" href="#"
|
260
|
+
onclick="toggleCode('M000016-source');return false;">[Source]</a></p>
|
261
|
+
<div class="method-source-code" id="M000016-source">
|
262
|
+
<pre>
|
263
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 22</span>
|
264
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe_instance</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
265
|
+
{<span class="ruby-value str">"Instance"</span> =<span class="ruby-operator">></span> {<span class="ruby-value str">"Status"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"NEW"</span>, <span class="ruby-value str">"PrimaryIP"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"IP"</span>=<span class="ruby-operator">></span>{}, <span class="ruby-value str">"Hostname"</span>=<span class="ruby-operator">></span>{}, <span class="ruby-value str">"Type"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"DYNAMIC"</span>}, <span class="ruby-value str">"ImageID"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"20015391"</span>, <span class="ruby-value str">"DiskSize"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"60"</span>, <span class="ruby-value str">"Owner"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"smartes@cohesiveft.com"</span>, <span class="ruby-value str">"RequestID"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"name"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"sir_19_rhel5532-bit-1zGS"</span>, <span class="ruby-value str">"content"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"102271"</span>}, <span class="ruby-value str">"Name"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"DELETEsir_19_rhel5532-bit-1zGS"</span>, <span class="ruby-value str">"ProductCodes"</span>=<span class="ruby-operator">></span>{}, <span class="ruby-value str">"KeyName"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"si-tempkey-rhel5532-bit-1zGS-eDY4T"</span>, <span class="ruby-value str">"Location"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"101"</span>, <span class="ruby-value str">"LaunchTime"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"2011-07-07T22:13:49.891Z"</span>, <span class="ruby-value str">"Volumes"</span>=<span class="ruby-operator">></span>{}, <span class="ruby-value str">"ID"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"101971"</span>, <span class="ruby-value str">"MiniEphemeral"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"false"</span>, <span class="ruby-value str">"Software"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"Application"</span>=<span class="ruby-operator">></span>{<span class="ruby-value str">"Version"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"5.5"</span>, <span class="ruby-value str">"Name"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"Red Hat Enterprise Linux"</span>, <span class="ruby-value str">"Type"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"OS"</span>}}, <span class="ruby-value str">"IP"</span>=<span class="ruby-operator">></span>{}, <span class="ruby-value str">"InstanceType"</span>=<span class="ruby-operator">></span><span class="ruby-value str">"COP32.1/2048/60"</span>, <span class="ruby-value str">"Hostname"</span>=<span class="ruby-operator">></span>{}}}
|
266
|
+
<span class="ruby-keyword kw">end</span>
|
267
|
+
</pre>
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
|
272
|
+
<div id="method-M000018" class="method-detail">
|
273
|
+
<a name="M000018"></a>
|
274
|
+
|
275
|
+
<div class="method-heading">
|
276
|
+
<a href="#M000018" class="method-signature">
|
277
|
+
<span class="method-name">describe_volume</span><span class="method-args">(*args)</span>
|
278
|
+
</a>
|
279
|
+
</div>
|
280
|
+
|
281
|
+
<div class="method-description">
|
282
|
+
<p><a class="source-toggle" href="#"
|
283
|
+
onclick="toggleCode('M000018-source');return false;">[Source]</a></p>
|
284
|
+
<div class="method-source-code" id="M000018-source">
|
285
|
+
<pre>
|
286
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 30</span>
|
287
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">describe_volume</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
288
|
+
{<span class="ruby-identifier">:ID</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"12345"</span>, <span class="ruby-identifier">:State</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"5"</span>, <span class="ruby-identifier">:Name</span> =<span class="ruby-operator">></span> <span class="ruby-value str">"foobar"</span>}
|
289
|
+
<span class="ruby-keyword kw">end</span>
|
290
|
+
</pre>
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
<div id="method-M000023" class="method-detail">
|
296
|
+
<a name="M000023"></a>
|
297
|
+
|
298
|
+
<div class="method-heading">
|
299
|
+
<a href="#M000023" class="method-signature">
|
300
|
+
<span class="method-name">poll_for_instance_state</span><span class="method-args">(*args)</span>
|
301
|
+
</a>
|
302
|
+
</div>
|
303
|
+
|
304
|
+
<div class="method-description">
|
305
|
+
<p><a class="source-toggle" href="#"
|
306
|
+
onclick="toggleCode('M000023-source');return false;">[Source]</a></p>
|
307
|
+
<div class="method-source-code" id="M000023-source">
|
308
|
+
<pre>
|
309
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 50</span>
|
310
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">poll_for_instance_state</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
311
|
+
<span class="ruby-keyword kw">true</span>
|
312
|
+
<span class="ruby-keyword kw">end</span>
|
313
|
+
</pre>
|
314
|
+
</div>
|
315
|
+
</div>
|
316
|
+
</div>
|
317
|
+
|
318
|
+
<div id="method-M000022" class="method-detail">
|
319
|
+
<a name="M000022"></a>
|
320
|
+
|
321
|
+
<div class="method-heading">
|
322
|
+
<a href="#M000022" class="method-signature">
|
323
|
+
<span class="method-name">poll_for_volume_state</span><span class="method-args">(*args)</span>
|
324
|
+
</a>
|
325
|
+
</div>
|
326
|
+
|
327
|
+
<div class="method-description">
|
328
|
+
<p><a class="source-toggle" href="#"
|
329
|
+
onclick="toggleCode('M000022-source');return false;">[Source]</a></p>
|
330
|
+
<div class="method-source-code" id="M000022-source">
|
331
|
+
<pre>
|
332
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 46</span>
|
333
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">poll_for_volume_state</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
334
|
+
<span class="ruby-keyword kw">true</span>
|
335
|
+
<span class="ruby-keyword kw">end</span>
|
336
|
+
</pre>
|
337
|
+
</div>
|
338
|
+
</div>
|
339
|
+
</div>
|
340
|
+
|
341
|
+
<div id="method-M000020" class="method-detail">
|
342
|
+
<a name="M000020"></a>
|
343
|
+
|
344
|
+
<div class="method-heading">
|
345
|
+
<a href="#M000020" class="method-signature">
|
346
|
+
<span class="method-name">restart_instance</span><span class="method-args">(*args)</span>
|
347
|
+
</a>
|
348
|
+
</div>
|
349
|
+
|
350
|
+
<div class="method-description">
|
351
|
+
<p><a class="source-toggle" href="#"
|
352
|
+
onclick="toggleCode('M000020-source');return false;">[Source]</a></p>
|
353
|
+
<div class="method-source-code" id="M000020-source">
|
354
|
+
<pre>
|
355
|
+
<span class="ruby-comment cmt"># File lib/mock_smartcloud.rb, line 38</span>
|
356
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restart_instance</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
|
357
|
+
<span class="ruby-keyword kw">true</span>
|
358
|
+
<span class="ruby-keyword kw">end</span>
|
359
|
+
</pre>
|
360
|
+
</div>
|
361
|
+
</div>
|
362
|
+
</div>
|
363
|
+
|
364
|
+
|
365
|
+
</div>
|
366
|
+
|
367
|
+
|
368
|
+
</div>
|
369
|
+
|
370
|
+
|
371
|
+
<div id="validator-badges">
|
372
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
373
|
+
</div>
|
374
|
+
|
375
|
+
</body>
|
376
|
+
</html>
|