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.
Files changed (89) hide show
  1. data/README.rdoc +4 -0
  2. data/Rakefile +3 -3
  3. data/VERSION +1 -1
  4. data/bin/cft_smartcloud +37 -0
  5. data/cft_smartcloud.gemspec +88 -7
  6. data/lib/smartcloud.rb +12 -2
  7. data/lib/smartcloud_logger.rb +1 -1
  8. data/rdoc/classes/ConfigTable/BoolItem.html +172 -0
  9. data/rdoc/classes/ConfigTable/ExecItem.html +252 -0
  10. data/rdoc/classes/ConfigTable/Item.html +308 -0
  11. data/rdoc/classes/ConfigTable/MetaConfigEnvironment.html +445 -0
  12. data/rdoc/classes/ConfigTable/PackageSelectionItem.html +188 -0
  13. data/rdoc/classes/ConfigTable/PathItem.html +148 -0
  14. data/rdoc/classes/ConfigTable/ProgramItem.html +148 -0
  15. data/rdoc/classes/ConfigTable/SelectItem.html +175 -0
  16. data/rdoc/classes/ConfigTable.html +724 -0
  17. data/rdoc/classes/Enumerable.html +157 -0
  18. data/rdoc/classes/Errno/ENOTEMPTY.html +111 -0
  19. data/rdoc/classes/Errno.html +111 -0
  20. data/rdoc/classes/File.html +197 -0
  21. data/rdoc/classes/FileOperations.html +600 -0
  22. data/rdoc/classes/Hash.html +163 -0
  23. data/rdoc/classes/HookScriptAPI.html +413 -0
  24. data/rdoc/classes/IBMSmartCloud.html +1484 -0
  25. data/rdoc/classes/Installer/Shebang.html +245 -0
  26. data/rdoc/classes/Installer.html +1660 -0
  27. data/rdoc/classes/MIME/InvalidContentType.html +119 -0
  28. data/rdoc/classes/MIME/Type.html +1366 -0
  29. data/rdoc/classes/MIME/Types.html +643 -0
  30. data/rdoc/classes/MIME.html +124 -0
  31. data/rdoc/classes/MockSmartCloud.html +376 -0
  32. data/rdoc/classes/Net/HTTP.html +164 -0
  33. data/rdoc/classes/Net.html +122 -0
  34. data/rdoc/classes/RestClient/AbstractResponse.html +417 -0
  35. data/rdoc/classes/RestClient/Exception.html +305 -0
  36. data/rdoc/classes/RestClient/ExceptionWithResponse.html +119 -0
  37. data/rdoc/classes/RestClient/Exceptions.html +130 -0
  38. data/rdoc/classes/RestClient/MaxRedirectsReached.html +113 -0
  39. data/rdoc/classes/RestClient/Payload/Base.html +422 -0
  40. data/rdoc/classes/RestClient/Payload/Multipart.html +372 -0
  41. data/rdoc/classes/RestClient/Payload/Streamed.html +191 -0
  42. data/rdoc/classes/RestClient/Payload/UrlEncoded.html +202 -0
  43. data/rdoc/classes/RestClient/Payload.html +192 -0
  44. data/rdoc/classes/RestClient/RawResponse.html +236 -0
  45. data/rdoc/classes/RestClient/Redirect.html +168 -0
  46. data/rdoc/classes/RestClient/Request.html +950 -0
  47. data/rdoc/classes/RestClient/RequestFailed.html +178 -0
  48. data/rdoc/classes/RestClient/Resource.html +607 -0
  49. data/rdoc/classes/RestClient/Response.html +208 -0
  50. data/rdoc/classes/RestClient/ResponseForException.html +152 -0
  51. data/rdoc/classes/RestClient/SSLCertificateNotVerified.html +149 -0
  52. data/rdoc/classes/RestClient/ServerBrokeConnection.html +157 -0
  53. data/rdoc/classes/RestClient.html +737 -0
  54. data/rdoc/classes/SetupError.html +111 -0
  55. data/rdoc/classes/SmartcloudLogger.html +162 -0
  56. data/rdoc/classes/TestMIME.html +109 -0
  57. data/rdoc/classes/ToplevelInstaller.html +987 -0
  58. data/rdoc/classes/ToplevelInstallerMulti.html +593 -0
  59. data/rdoc/classes/XmlSimple/Cache.html +372 -0
  60. data/rdoc/classes/XmlSimple.html +475 -0
  61. data/rdoc/created.rid +1 -0
  62. data/rdoc/files/README_rdoc.html +198 -0
  63. data/rdoc/files/lib/hash_fix_rb.html +115 -0
  64. data/rdoc/files/lib/mime-types-1_16/lib/mime/types_rb.html +107 -0
  65. data/rdoc/files/lib/mime-types-1_16/setup_rb.html +157 -0
  66. data/rdoc/files/lib/mime-types-1_16/test/test_mime_type_rb.html +109 -0
  67. data/rdoc/files/lib/mime-types-1_16/test/test_mime_types_rb.html +109 -0
  68. data/rdoc/files/lib/mock_smartcloud_rb.html +115 -0
  69. data/rdoc/files/lib/rest-client-1_6_3/lib/rest-client_rb.html +107 -0
  70. data/rdoc/files/lib/rest-client-1_6_3/lib/rest_client_rb.html +108 -0
  71. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/abstract_response_rb.html +108 -0
  72. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/exceptions_rb.html +101 -0
  73. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/net_http_ext_rb.html +113 -0
  74. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/payload_rb.html +110 -0
  75. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/raw_response_rb.html +101 -0
  76. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/request_rb.html +110 -0
  77. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/resource_rb.html +101 -0
  78. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient/response_rb.html +101 -0
  79. data/rdoc/files/lib/rest-client-1_6_3/lib/restclient_rb.html +111 -0
  80. data/rdoc/files/lib/restclient_fix_rb.html +115 -0
  81. data/rdoc/files/lib/smartcloud_logger_rb.html +115 -0
  82. data/rdoc/files/lib/smartcloud_rb.html +143 -0
  83. data/rdoc/files/lib/xml-simple-1_0_12/lib/xmlsimple_rb.html +124 -0
  84. data/rdoc/fr_class_index.html +79 -0
  85. data/rdoc/fr_file_index.html +48 -0
  86. data/rdoc/fr_method_index.html +441 -0
  87. data/rdoc/index.html +26 -0
  88. data/rdoc/rdoc-style.css +208 -0
  89. 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>&nbsp;&nbsp;
104
+ <a href="#M000014">create_instance</a>&nbsp;&nbsp;
105
+ <a href="#M000017">create_volume</a>&nbsp;&nbsp;
106
+ <a href="#M000021">delete_instance</a>&nbsp;&nbsp;
107
+ <a href="#M000015">describe_image</a>&nbsp;&nbsp;
108
+ <a href="#M000016">describe_instance</a>&nbsp;&nbsp;
109
+ <a href="#M000018">describe_volume</a>&nbsp;&nbsp;
110
+ <a href="#M000023">poll_for_instance_state</a>&nbsp;&nbsp;
111
+ <a href="#M000022">poll_for_volume_state</a>&nbsp;&nbsp;
112
+ <a href="#M000020">restart_instance</a>&nbsp;&nbsp;
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">&quot;CreatedTime&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;2011-02-25T01:22:57.000Z&quot;</span>, <span class="ruby-value str">&quot;Owner&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;SYSTEM&quot;</span>, <span class="ruby-value str">&quot;SupportedInstanceTypes&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;InstanceType&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;Label&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;Bronze 32 bit&quot;</span>, <span class="ruby-value str">&quot;ID&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;BRZ32.1/2048/60*175&quot;</span>, <span class="ruby-value str">&quot;Price&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;Rate&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;0.21&quot;</span>, <span class="ruby-value str">&quot;PricePerQuantity&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;1&quot;</span>, <span class="ruby-value str">&quot;UnitOfMeasure&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;UHR &quot;</span>, <span class="ruby-value str">&quot;CountryCode&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;897&quot;</span>, <span class="ruby-value str">&quot;CurrencyCode&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;USD&quot;</span>}}}, <span class="ruby-value str">&quot;Name&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;CohesiveFT VPN-Cubed Datacenter Connect V2.0.0 - BYOL (TOR)&quot;</span>, <span class="ruby-value str">&quot;Location&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;101&quot;</span>, <span class="ruby-value str">&quot;ProductCodes&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;ProductCode&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;caondc13bV97Kg5TLyGNodD9or7gA&quot;</span>}, <span class="ruby-value str">&quot;Documentation&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{974E595E-566E-87E3-A483-AC0FC468C4D9}/1.0/GettingStarted.html&quot;</span>, <span class="ruby-value str">&quot;ID&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;20016530&quot;</span>, <span class="ruby-value str">&quot;Manifest&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;https://www-147.ibm.com/cloud/enterprise/ram.ws/RAMSecure/artifact/{974E595E-566E-87E3-A483-AC0FC468C4D9}/1.0/parameters.xml&quot;</span>, <span class="ruby-value str">&quot;Description&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;CohesiveFT VPN-Cubed 2.0.0 UL - for TOR datacenter&quot;</span>, <span class="ruby-value str">&quot;State&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;AVAILABLE&quot;</span>, <span class="ruby-value str">&quot;Visibility&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;PUBLIC&quot;</span>, <span class="ruby-value str">&quot;Platform&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;Red Hat Enterprise Linux/5.4&quot;</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">&quot;Instance&quot;</span> =<span class="ruby-operator">&gt;</span> {<span class="ruby-value str">&quot;Status&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;NEW&quot;</span>, <span class="ruby-value str">&quot;PrimaryIP&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;IP&quot;</span>=<span class="ruby-operator">&gt;</span>{}, <span class="ruby-value str">&quot;Hostname&quot;</span>=<span class="ruby-operator">&gt;</span>{}, <span class="ruby-value str">&quot;Type&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;DYNAMIC&quot;</span>}, <span class="ruby-value str">&quot;ImageID&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;20015391&quot;</span>, <span class="ruby-value str">&quot;DiskSize&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;60&quot;</span>, <span class="ruby-value str">&quot;Owner&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;smartes@cohesiveft.com&quot;</span>, <span class="ruby-value str">&quot;RequestID&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;name&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;sir_19_rhel5532-bit-1zGS&quot;</span>, <span class="ruby-value str">&quot;content&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;102271&quot;</span>}, <span class="ruby-value str">&quot;Name&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;DELETEsir_19_rhel5532-bit-1zGS&quot;</span>, <span class="ruby-value str">&quot;ProductCodes&quot;</span>=<span class="ruby-operator">&gt;</span>{}, <span class="ruby-value str">&quot;KeyName&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;si-tempkey-rhel5532-bit-1zGS-eDY4T&quot;</span>, <span class="ruby-value str">&quot;Location&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;101&quot;</span>, <span class="ruby-value str">&quot;LaunchTime&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;2011-07-07T22:13:49.891Z&quot;</span>, <span class="ruby-value str">&quot;Volumes&quot;</span>=<span class="ruby-operator">&gt;</span>{}, <span class="ruby-value str">&quot;ID&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;101971&quot;</span>, <span class="ruby-value str">&quot;MiniEphemeral&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;false&quot;</span>, <span class="ruby-value str">&quot;Software&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;Application&quot;</span>=<span class="ruby-operator">&gt;</span>{<span class="ruby-value str">&quot;Version&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;5.5&quot;</span>, <span class="ruby-value str">&quot;Name&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;Red Hat Enterprise Linux&quot;</span>, <span class="ruby-value str">&quot;Type&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;OS&quot;</span>}}, <span class="ruby-value str">&quot;IP&quot;</span>=<span class="ruby-operator">&gt;</span>{}, <span class="ruby-value str">&quot;InstanceType&quot;</span>=<span class="ruby-operator">&gt;</span><span class="ruby-value str">&quot;COP32.1/2048/60&quot;</span>, <span class="ruby-value str">&quot;Hostname&quot;</span>=<span class="ruby-operator">&gt;</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">&gt;</span> <span class="ruby-value str">&quot;12345&quot;</span>, <span class="ruby-identifier">:State</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;5&quot;</span>, <span class="ruby-identifier">:Name</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-value str">&quot;foobar&quot;</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>