ucslib 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +201 -0
- data/README.rdoc +106 -0
- data/Rakefile +37 -0
- data/html/README_rdoc.html +146 -0
- data/html/UCSInventory.html +533 -0
- data/html/UCSProvision.html +1914 -0
- data/html/UCSToken.html +339 -0
- data/html/Ucslib.html +173 -0
- data/html/created.rid +7 -0
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +193 -0
- data/html/js/darkfish.js +116 -0
- data/html/js/jquery.js +32 -0
- data/html/js/quicksearch.js +114 -0
- data/html/js/thickbox-compressed.js +10 -0
- data/html/lib/ucslib/inventory_rb.html +75 -0
- data/html/lib/ucslib/provision_rb.html +75 -0
- data/html/lib/ucslib/session_rb.html +75 -0
- data/html/lib/ucslib/version_rb.html +75 -0
- data/html/lib/ucslib_rb.html +89 -0
- data/html/rdoc.css +763 -0
- data/lib/ucslib/inventory.rb +131 -0
- data/lib/ucslib/provision.rb +949 -0
- data/lib/ucslib/session.rb +108 -0
- data/lib/ucslib/version.rb +20 -0
- data/lib/ucslib.rb +26 -0
- data/ucslib.gemspec +45 -0
- metadata +126 -0
data/html/UCSToken.html
ADDED
@@ -0,0 +1,339 @@
|
|
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: UCSToken</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="class">
|
19
|
+
|
20
|
+
<div id="metadata">
|
21
|
+
<div id="home-metadata">
|
22
|
+
<div id="home-section" class="section">
|
23
|
+
<h3 class="section-header">
|
24
|
+
<a href="./index.html">Home</a>
|
25
|
+
<a href="./index.html#classes">Classes</a>
|
26
|
+
<a href="./index.html#methods">Methods</a>
|
27
|
+
</h3>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div id="file-metadata">
|
32
|
+
<div id="file-list-section" class="section">
|
33
|
+
<h3 class="section-header">In Files</h3>
|
34
|
+
<div class="section-body">
|
35
|
+
<ul>
|
36
|
+
|
37
|
+
<li><a href="./lib/ucslib/session_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/ucslib/session.rb">lib/ucslib/session.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="class-metadata">
|
48
|
+
|
49
|
+
<!-- Parent Class -->
|
50
|
+
<div id="parent-class-section" class="section">
|
51
|
+
<h3 class="section-header">Parent</h3>
|
52
|
+
|
53
|
+
<p class="link">Object</p>
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
<!-- Method Quickref -->
|
64
|
+
<div id="method-list-section" class="section">
|
65
|
+
<h3 class="section-header">Methods</h3>
|
66
|
+
<ul class="link-list">
|
67
|
+
|
68
|
+
<li><a href="#method-i-get_token">#get_token</a></li>
|
69
|
+
|
70
|
+
<li><a href="#method-i-logout">#logout</a></li>
|
71
|
+
|
72
|
+
<li><a href="#method-i-refresh_token">#refresh_token</a></li>
|
73
|
+
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
</div>
|
80
|
+
|
81
|
+
<div id="project-metadata">
|
82
|
+
|
83
|
+
|
84
|
+
<div id="fileindex-section" class="section project-section">
|
85
|
+
<h3 class="section-header">Files</h3>
|
86
|
+
<ul>
|
87
|
+
|
88
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
89
|
+
|
90
|
+
</ul>
|
91
|
+
</div>
|
92
|
+
|
93
|
+
|
94
|
+
<div id="classindex-section" class="section project-section">
|
95
|
+
<h3 class="section-header">Class/Module Index
|
96
|
+
<span class="search-toggle"><img src="./images/find.png"
|
97
|
+
height="16" width="16" alt="[+]"
|
98
|
+
title="show/hide quicksearch" /></span></h3>
|
99
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
100
|
+
<fieldset>
|
101
|
+
<legend>Quicksearch</legend>
|
102
|
+
<input type="text" name="quicksearch" value=""
|
103
|
+
class="quicksearch-field" />
|
104
|
+
</fieldset>
|
105
|
+
</form>
|
106
|
+
|
107
|
+
<ul class="link-list">
|
108
|
+
|
109
|
+
<li><a href="./UCSInventory.html">UCSInventory</a></li>
|
110
|
+
|
111
|
+
<li><a href="./UCSProvision.html">UCSProvision</a></li>
|
112
|
+
|
113
|
+
<li><a href="./UCSToken.html">UCSToken</a></li>
|
114
|
+
|
115
|
+
<li><a href="./Ucslib.html">Ucslib</a></li>
|
116
|
+
|
117
|
+
</ul>
|
118
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
</div>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div id="documentation">
|
126
|
+
<h1 class="class">UCSToken</h1>
|
127
|
+
|
128
|
+
<div id="description" class="description">
|
129
|
+
|
130
|
+
<p>UCSM API Session management</p>
|
131
|
+
|
132
|
+
</div><!-- description -->
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
<!-- Methods -->
|
147
|
+
|
148
|
+
<div id="public-instance-method-details" class="method-section section">
|
149
|
+
<h3 class="section-header">Public Instance Methods</h3>
|
150
|
+
|
151
|
+
|
152
|
+
<div id="get_token-method" class="method-detail ">
|
153
|
+
<a name="method-i-get_token"></a>
|
154
|
+
|
155
|
+
|
156
|
+
<div class="method-heading">
|
157
|
+
<span class="method-name">get_token</span><span
|
158
|
+
class="method-args">(authjson)</span>
|
159
|
+
<span class="method-click-advice">click to toggle source</span>
|
160
|
+
</div>
|
161
|
+
|
162
|
+
|
163
|
+
<div class="method-description">
|
164
|
+
|
165
|
+
<p>Accept a JSON object that contains the UCSM username, password, and IP</p>
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<div class="method-source-code" id="get_token-source">
|
170
|
+
<pre>
|
171
|
+
<span class="ruby-comment"># File lib/ucslib/session.rb, line 23</span>
|
172
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">get_token</span>(<span class="ruby-identifier">authjson</span>)
|
173
|
+
|
174
|
+
<span class="ruby-identifier">username</span> = <span class="ruby-node">"#{JSON.parse(authjson)['username']}"</span>
|
175
|
+
<span class="ruby-identifier">password</span> = <span class="ruby-node">"#{JSON.parse(authjson)['password']}"</span>
|
176
|
+
<span class="ruby-identifier">ip</span> = <span class="ruby-node">"#{JSON.parse(authjson)['ip']}"</span>
|
177
|
+
<span class="ruby-identifier">url</span> = <span class="ruby-node">"https://#{ip}/nuova"</span>
|
178
|
+
|
179
|
+
<span class="ruby-identifier">xml_builder</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Builder</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
|
180
|
+
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">aaaLogin</span>(<span class="ruby-string">'inName'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">username</span>, <span class="ruby-string">'inPassword'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">password</span>)
|
181
|
+
<span class="ruby-keyword">end</span>
|
182
|
+
<span class="ruby-identifier">aaa_login_xml</span> = <span class="ruby-identifier">xml_builder</span>.<span class="ruby-identifier">to_xml</span>.<span class="ruby-identifier">to_s</span>
|
183
|
+
<span class="ruby-identifier">ucs_response</span> = <span class="ruby-constant">RestClient</span>.<span class="ruby-identifier">post</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">aaa_login_xml</span>, <span class="ruby-value">:content_type</span> =<span class="ruby-operator">></span> <span class="ruby-string">'text/xml'</span>).<span class="ruby-identifier">body</span>
|
184
|
+
<span class="ruby-identifier">ucs_login_doc</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-identifier">ucs_response</span>)
|
185
|
+
<span class="ruby-identifier">ucs_login_root</span> = <span class="ruby-identifier">ucs_login_doc</span>.<span class="ruby-identifier">root</span>
|
186
|
+
<span class="ruby-identifier">cookie</span> = <span class="ruby-identifier">ucs_login_root</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-string">'outCookie'</span>]
|
187
|
+
|
188
|
+
<span class="ruby-keyword">begin</span>
|
189
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">session</span> = { <span class="ruby-value">:cookie</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{cookie}"</span>,
|
190
|
+
<span class="ruby-value">:username</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{username}"</span>,
|
191
|
+
<span class="ruby-value">:password</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{password}"</span>,
|
192
|
+
<span class="ruby-value">:ip</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{ip}"</span> }.<span class="ruby-identifier">to_json</span>
|
193
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
194
|
+
<span class="ruby-string">'An Error Occured. Please check authentication credentials'</span>
|
195
|
+
<span class="ruby-keyword">else</span>
|
196
|
+
<span class="ruby-constant">Process</span>.<span class="ruby-identifier">exit</span>
|
197
|
+
<span class="ruby-keyword">end</span>
|
198
|
+
|
199
|
+
<span class="ruby-keyword">end</span></pre>
|
200
|
+
</div><!-- get_token-source -->
|
201
|
+
|
202
|
+
</div>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
|
207
|
+
</div><!-- get_token-method -->
|
208
|
+
|
209
|
+
|
210
|
+
<div id="logout-method" class="method-detail ">
|
211
|
+
<a name="method-i-logout"></a>
|
212
|
+
|
213
|
+
|
214
|
+
<div class="method-heading">
|
215
|
+
<span class="method-name">logout</span><span
|
216
|
+
class="method-args">(tokenjson)</span>
|
217
|
+
<span class="method-click-advice">click to toggle source</span>
|
218
|
+
</div>
|
219
|
+
|
220
|
+
|
221
|
+
<div class="method-description">
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
<div class="method-source-code" id="logout-source">
|
228
|
+
<pre>
|
229
|
+
<span class="ruby-comment"># File lib/ucslib/session.rb, line 88</span>
|
230
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">logout</span>(<span class="ruby-identifier">tokenjson</span>)
|
231
|
+
|
232
|
+
<span class="ruby-identifier">cookie</span> = <span class="ruby-node">"#{JSON.parse(tokenjson).values[0]}"</span>
|
233
|
+
<span class="ruby-identifier">ip</span> = <span class="ruby-node">"#{JSON.parse(tokenjson).values[3]}"</span>
|
234
|
+
<span class="ruby-identifier">url</span> = <span class="ruby-node">"https://#{ip}/nuova"</span>
|
235
|
+
|
236
|
+
<span class="ruby-identifier">xml_builder</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Builder</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
|
237
|
+
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">aaaLogout</span>(<span class="ruby-string">'inCookie'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">cookie</span>)
|
238
|
+
<span class="ruby-keyword">end</span>
|
239
|
+
|
240
|
+
<span class="ruby-identifier">aaaLogoutXML</span> = <span class="ruby-identifier">xml_builder</span>.<span class="ruby-identifier">to_xml</span>.<span class="ruby-identifier">to_s</span>
|
241
|
+
|
242
|
+
<span class="ruby-identifier">ucsResponse</span> = <span class="ruby-constant">RestClient</span>.<span class="ruby-identifier">post</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">aaaLogoutXML</span>, <span class="ruby-value">:content_type</span> =<span class="ruby-operator">></span> <span class="ruby-string">'text/xml'</span>).<span class="ruby-identifier">body</span>
|
243
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">ucsResponse</span>
|
244
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">'Sucessfully logged out.'</span>
|
245
|
+
<span class="ruby-keyword">else</span>
|
246
|
+
<span class="ruby-identifier">puts</span> <span class="ruby-string">'Something went wrong. Lost connection to the UCS System'</span>
|
247
|
+
<span class="ruby-keyword">end</span>
|
248
|
+
|
249
|
+
<span class="ruby-keyword">end</span></pre>
|
250
|
+
</div><!-- logout-source -->
|
251
|
+
|
252
|
+
</div>
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
|
257
|
+
</div><!-- logout-method -->
|
258
|
+
|
259
|
+
|
260
|
+
<div id="refresh_token-method" class="method-detail ">
|
261
|
+
<a name="method-i-refresh_token"></a>
|
262
|
+
|
263
|
+
|
264
|
+
<div class="method-heading">
|
265
|
+
<span class="method-name">refresh_token</span><span
|
266
|
+
class="method-args">(tokenjson)</span>
|
267
|
+
<span class="method-click-advice">click to toggle source</span>
|
268
|
+
</div>
|
269
|
+
|
270
|
+
|
271
|
+
<div class="method-description">
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
<div class="method-source-code" id="refresh_token-source">
|
278
|
+
<pre>
|
279
|
+
<span class="ruby-comment"># File lib/ucslib/session.rb, line 53</span>
|
280
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">refresh_token</span>(<span class="ruby-identifier">tokenjson</span>)
|
281
|
+
|
282
|
+
<span class="ruby-identifier">cookie</span> = <span class="ruby-node">"#{JSON.parse(tokenjson)['cookie']}"</span>
|
283
|
+
<span class="ruby-identifier">username</span> = <span class="ruby-node">"#{JSON.parse(tokenjson)['username']}"</span>
|
284
|
+
<span class="ruby-identifier">password</span> = <span class="ruby-node">"#{JSON.parse(tokenjson)['password']}"</span>
|
285
|
+
<span class="ruby-identifier">ip</span> = <span class="ruby-node">"#{JSON.parse(tokenjson)['ip']}"</span>
|
286
|
+
<span class="ruby-identifier">url</span> = <span class="ruby-node">"https://#{ip}/nuova"</span>
|
287
|
+
|
288
|
+
|
289
|
+
<span class="ruby-identifier">xml_builder</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span><span class="ruby-operator">::</span><span class="ruby-constant">Builder</span>.<span class="ruby-identifier">new</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">xml</span><span class="ruby-operator">|</span>
|
290
|
+
<span class="ruby-identifier">xml</span>.<span class="ruby-identifier">aaaRefresh</span>(<span class="ruby-string">'inName'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">username</span>, <span class="ruby-string">'inPassword'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">password</span>, <span class="ruby-string">'inCookie'</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">cookie</span>)
|
291
|
+
<span class="ruby-keyword">end</span>
|
292
|
+
<span class="ruby-identifier">aaa_refresh_xml</span> = <span class="ruby-identifier">xml_builder</span>.<span class="ruby-identifier">to_xml</span>.<span class="ruby-identifier">to_s</span>
|
293
|
+
|
294
|
+
<span class="ruby-identifier">ucs_response</span> = <span class="ruby-constant">RestClient</span>.<span class="ruby-identifier">post</span>(<span class="ruby-identifier">url</span>, <span class="ruby-identifier">aaa_refresh_xml</span>, <span class="ruby-value">:content_type</span> =<span class="ruby-operator">></span> <span class="ruby-string">'text/xml'</span>).<span class="ruby-identifier">body</span>
|
295
|
+
|
296
|
+
|
297
|
+
<span class="ruby-identifier">ucs_login_doc</span> = <span class="ruby-constant">Nokogiri</span><span class="ruby-operator">::</span><span class="ruby-constant">XML</span>(<span class="ruby-identifier">ucs_response</span>)
|
298
|
+
<span class="ruby-identifier">ucs_login_root</span> = <span class="ruby-identifier">ucs_login_doc</span>.<span class="ruby-identifier">root</span>
|
299
|
+
<span class="ruby-identifier">new_cookie</span> = <span class="ruby-identifier">ucs_login_root</span>.<span class="ruby-identifier">attributes</span>[<span class="ruby-string">'outCookie'</span>]
|
300
|
+
|
301
|
+
<span class="ruby-keyword">begin</span>
|
302
|
+
<span class="ruby-comment">#return ucs_session json containing new cookie, url, ip</span>
|
303
|
+
<span class="ruby-keyword">return</span> <span class="ruby-identifier">session</span> = { <span class="ruby-value">:cookie</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{new_cookie}"</span>,
|
304
|
+
<span class="ruby-value">:username</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{username}"</span>,
|
305
|
+
<span class="ruby-value">:password</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{password}"</span>,
|
306
|
+
<span class="ruby-value">:ip</span> =<span class="ruby-operator">></span> <span class="ruby-node">"#{ip}"</span> }.<span class="ruby-identifier">to_json</span>
|
307
|
+
<span class="ruby-keyword">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">e</span>
|
308
|
+
<span class="ruby-string">'An Error Occured. Please check authentication credentials'</span>
|
309
|
+
<span class="ruby-keyword">else</span>
|
310
|
+
<span class="ruby-constant">Process</span>.<span class="ruby-identifier">exit</span>
|
311
|
+
<span class="ruby-keyword">end</span>
|
312
|
+
|
313
|
+
<span class="ruby-keyword">end</span></pre>
|
314
|
+
</div><!-- refresh_token-source -->
|
315
|
+
|
316
|
+
</div>
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
</div><!-- refresh_token-method -->
|
322
|
+
|
323
|
+
|
324
|
+
</div><!-- public-instance-method-details -->
|
325
|
+
|
326
|
+
</div><!-- 5Buntitled-5D -->
|
327
|
+
|
328
|
+
|
329
|
+
</div><!-- documentation -->
|
330
|
+
|
331
|
+
<div id="validator-badges">
|
332
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
333
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
334
|
+
Rdoc Generator</a> 2</small>.</p>
|
335
|
+
</div>
|
336
|
+
|
337
|
+
</body>
|
338
|
+
</html>
|
339
|
+
|
data/html/Ucslib.html
ADDED
@@ -0,0 +1,173 @@
|
|
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>Module: Ucslib</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
13
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
|
17
|
+
</head>
|
18
|
+
<body id="top" class="module">
|
19
|
+
|
20
|
+
<div id="metadata">
|
21
|
+
<div id="home-metadata">
|
22
|
+
<div id="home-section" class="section">
|
23
|
+
<h3 class="section-header">
|
24
|
+
<a href="./index.html">Home</a>
|
25
|
+
<a href="./index.html#classes">Classes</a>
|
26
|
+
<a href="./index.html#methods">Methods</a>
|
27
|
+
</h3>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
|
31
|
+
<div id="file-metadata">
|
32
|
+
<div id="file-list-section" class="section">
|
33
|
+
<h3 class="section-header">In Files</h3>
|
34
|
+
<div class="section-body">
|
35
|
+
<ul>
|
36
|
+
|
37
|
+
<li><a href="./lib/ucslib/version_rb.html?TB_iframe=true&height=550&width=785"
|
38
|
+
class="thickbox" title="lib/ucslib/version.rb">lib/ucslib/version.rb</a></li>
|
39
|
+
|
40
|
+
</ul>
|
41
|
+
</div>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
|
45
|
+
</div>
|
46
|
+
|
47
|
+
<div id="class-metadata">
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
</div>
|
58
|
+
|
59
|
+
<div id="project-metadata">
|
60
|
+
|
61
|
+
|
62
|
+
<div id="fileindex-section" class="section project-section">
|
63
|
+
<h3 class="section-header">Files</h3>
|
64
|
+
<ul>
|
65
|
+
|
66
|
+
<li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
|
67
|
+
|
68
|
+
</ul>
|
69
|
+
</div>
|
70
|
+
|
71
|
+
|
72
|
+
<div id="classindex-section" class="section project-section">
|
73
|
+
<h3 class="section-header">Class/Module Index
|
74
|
+
<span class="search-toggle"><img src="./images/find.png"
|
75
|
+
height="16" width="16" alt="[+]"
|
76
|
+
title="show/hide quicksearch" /></span></h3>
|
77
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
78
|
+
<fieldset>
|
79
|
+
<legend>Quicksearch</legend>
|
80
|
+
<input type="text" name="quicksearch" value=""
|
81
|
+
class="quicksearch-field" />
|
82
|
+
</fieldset>
|
83
|
+
</form>
|
84
|
+
|
85
|
+
<ul class="link-list">
|
86
|
+
|
87
|
+
<li><a href="./UCSInventory.html">UCSInventory</a></li>
|
88
|
+
|
89
|
+
<li><a href="./UCSProvision.html">UCSProvision</a></li>
|
90
|
+
|
91
|
+
<li><a href="./UCSToken.html">UCSToken</a></li>
|
92
|
+
|
93
|
+
<li><a href="./Ucslib.html">Ucslib</a></li>
|
94
|
+
|
95
|
+
</ul>
|
96
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
97
|
+
</div>
|
98
|
+
|
99
|
+
|
100
|
+
</div>
|
101
|
+
</div>
|
102
|
+
|
103
|
+
<div id="documentation">
|
104
|
+
<h1 class="module">Ucslib</h1>
|
105
|
+
|
106
|
+
<div id="description" class="description">
|
107
|
+
<table class="rdoc-list"><tr><td class="rdoc-term"><p>Author</p></td>
|
108
|
+
<td>
|
109
|
+
<p>Murali Raju (<murali.raju@appliv.com>)</p>
|
110
|
+
</td></tr><tr><td class="rdoc-term"><p>Copyright</p></td>
|
111
|
+
<td>
|
112
|
+
<p>Copyright © 2012 Murali Raju.</p>
|
113
|
+
</td></tr><tr><td class="rdoc-term"><p>License</p></td>
|
114
|
+
<td>
|
115
|
+
<p>Apache License, Version 2.0</p>
|
116
|
+
</td></tr></table>
|
117
|
+
|
118
|
+
<p>Licensed under the Apache License, Version 2.0 (the “License”); you may not
|
119
|
+
use this file except in compliance with the License. You may obtain a copy
|
120
|
+
of the License at</p>
|
121
|
+
|
122
|
+
<p><a
|
123
|
+
href="http://www.apache.org/licenses/LICENSE-2.0">www.apache.org/licenses/LICENSE-2.0</a></p>
|
124
|
+
|
125
|
+
<p>Unless required by applicable law or agreed to in writing, software
|
126
|
+
distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
|
127
|
+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
128
|
+
License for the specific language governing permissions and limitations
|
129
|
+
under the License.</p>
|
130
|
+
|
131
|
+
</div><!-- description -->
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
<div id="5Buntitled-5D" class="documentation-section">
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
<!-- Constants -->
|
143
|
+
<div id="constants-list" class="section">
|
144
|
+
<h3 class="section-header">Constants</h3>
|
145
|
+
<dl>
|
146
|
+
|
147
|
+
<dt><a name="VERSION">VERSION</a></dt>
|
148
|
+
|
149
|
+
<dd class="description"></dd>
|
150
|
+
|
151
|
+
|
152
|
+
</dl>
|
153
|
+
</div>
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<!-- Methods -->
|
159
|
+
|
160
|
+
</div><!-- 5Buntitled-5D -->
|
161
|
+
|
162
|
+
|
163
|
+
</div><!-- documentation -->
|
164
|
+
|
165
|
+
<div id="validator-badges">
|
166
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
167
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
168
|
+
Rdoc Generator</a> 2</small>.</p>
|
169
|
+
</div>
|
170
|
+
|
171
|
+
</body>
|
172
|
+
</html>
|
173
|
+
|
data/html/created.rid
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
Sun, 13 May 2012 15:57:51 -0400
|
2
|
+
README.rdoc Sun, 13 May 2012 15:57:18 -0400
|
3
|
+
lib/ucslib/inventory.rb Sun, 13 May 2012 13:23:45 -0400
|
4
|
+
lib/ucslib/provision.rb Sun, 13 May 2012 15:51:38 -0400
|
5
|
+
lib/ucslib/session.rb Sun, 13 May 2012 13:23:49 -0400
|
6
|
+
lib/ucslib/version.rb Sun, 13 May 2012 13:23:52 -0400
|
7
|
+
lib/ucslib.rb Sat, 12 May 2012 15:18:22 -0400
|
Binary file
|
Binary file
|
data/html/images/bug.png
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|