xclarity_client 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/apib/ffdc.apib +17 -0
- data/docs/apib/jobs.apib +3757 -0
- data/docs/apib/update_repo.apib +1550 -0
- data/docs/apib/users.apib +387 -0
- data/lib/xclarity_client/client.rb +48 -0
- data/lib/xclarity_client/ffdc.rb +15 -0
- data/lib/xclarity_client/ffdc_management.rb +13 -0
- data/lib/xclarity_client/job.rb +16 -0
- data/lib/xclarity_client/job_management.rb +28 -0
- data/lib/xclarity_client/update_repo.rb +15 -0
- data/lib/xclarity_client/update_repo_management.rb +24 -0
- data/lib/xclarity_client/user.rb +18 -0
- data/lib/xclarity_client/user_management.rb +17 -0
- data/lib/xclarity_client/version.rb +1 -1
- data/lib/xclarity_client/xclarity_base.rb +7 -0
- data/lib/xclarity_client/xclarity_management_mixin.rb +46 -0
- data/lib/xclarity_client/xclarity_power_management_mixin.rb +2 -2
- data/lib/xclarity_client.rb +8 -0
- metadata +14 -2
@@ -7,11 +7,11 @@ module XClarityClient
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def power_off_node(uuid = '')
|
10
|
-
NodeManagement.new(@connection).set_node_power_state(uuid, :
|
10
|
+
NodeManagement.new(@connection).set_node_power_state(uuid, :powerOffSoftGraceful)
|
11
11
|
end
|
12
12
|
|
13
13
|
def power_off_node_now(uuid = '')
|
14
|
-
NodeManagement.new(@connection).set_node_power_state(uuid, :
|
14
|
+
NodeManagement.new(@connection).set_node_power_state(uuid, :powerOff)
|
15
15
|
end
|
16
16
|
|
17
17
|
def power_restart_node(uuid = '')
|
data/lib/xclarity_client.rb
CHANGED
@@ -33,5 +33,13 @@ require 'xclarity_client/cabinet'
|
|
33
33
|
require 'xclarity_client/cabinet_management'
|
34
34
|
require 'xclarity_client/event'
|
35
35
|
require 'xclarity_client/event_management'
|
36
|
+
require 'xclarity_client/ffdc'
|
37
|
+
require 'xclarity_client/ffdc_management'
|
38
|
+
require 'xclarity_client/job'
|
39
|
+
require 'xclarity_client/job_management'
|
40
|
+
require 'xclarity_client/update_repo'
|
41
|
+
require 'xclarity_client/update_repo_management'
|
42
|
+
require 'xclarity_client/user'
|
43
|
+
require 'xclarity_client/user_management'
|
36
44
|
require 'xclarity_client/discover'
|
37
45
|
require 'xclarity_client/client'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xclarity_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manasa Rao
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -151,12 +151,16 @@ files:
|
|
151
151
|
- docs/apib/fan.apib
|
152
152
|
- docs/apib/fan_mux.apib
|
153
153
|
- docs/apib/fan_muxes.apib
|
154
|
+
- docs/apib/ffdc.apib
|
155
|
+
- docs/apib/jobs.apib
|
154
156
|
- docs/apib/node.apib
|
155
157
|
- docs/apib/node_bmc.apib
|
156
158
|
- docs/apib/power_supply.apib
|
157
159
|
- docs/apib/scalable_complex.apib
|
158
160
|
- docs/apib/squisher.rb
|
159
161
|
- docs/apib/switches.apib
|
162
|
+
- docs/apib/update_repo.apib
|
163
|
+
- docs/apib/users.apib
|
160
164
|
- example/simple.rb
|
161
165
|
- lib/utils/logger.rb
|
162
166
|
- lib/xclarity_client.rb
|
@@ -177,6 +181,10 @@ files:
|
|
177
181
|
- lib/xclarity_client/fan_management.rb
|
178
182
|
- lib/xclarity_client/fan_mux.rb
|
179
183
|
- lib/xclarity_client/fan_mux_management.rb
|
184
|
+
- lib/xclarity_client/ffdc.rb
|
185
|
+
- lib/xclarity_client/ffdc_management.rb
|
186
|
+
- lib/xclarity_client/job.rb
|
187
|
+
- lib/xclarity_client/job_management.rb
|
180
188
|
- lib/xclarity_client/node.rb
|
181
189
|
- lib/xclarity_client/node_management.rb
|
182
190
|
- lib/xclarity_client/power_supply.rb
|
@@ -185,6 +193,10 @@ files:
|
|
185
193
|
- lib/xclarity_client/scalable_complex_management.rb
|
186
194
|
- lib/xclarity_client/switch.rb
|
187
195
|
- lib/xclarity_client/switch_management.rb
|
196
|
+
- lib/xclarity_client/update_repo.rb
|
197
|
+
- lib/xclarity_client/update_repo_management.rb
|
198
|
+
- lib/xclarity_client/user.rb
|
199
|
+
- lib/xclarity_client/user_management.rb
|
188
200
|
- lib/xclarity_client/version.rb
|
189
201
|
- lib/xclarity_client/virtual_appliance_management.rb
|
190
202
|
- lib/xclarity_client/xclarity_base.rb
|