idrac 0.7.1 → 0.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5a092225469bf816e5d9bc30ced46c34c3e8c29b83e214c6ddcc15557e195a5
4
- data.tar.gz: 0477d6ec3cfa1882f63503329166bba48715defe956d5b6fd12e6bf68c87bc9d
3
+ metadata.gz: 22b52cfb61debc75aaa1c5606ac2a0464aa91e53f77bfe76ad33537910566b0f
4
+ data.tar.gz: f92e67c7083e8487b03bf073a982802d1c7a3469dcd6d37b610c7ee9ee6aa5ac
5
5
  SHA512:
6
- metadata.gz: eb7dc0d8164e40661c00c7f9535232399897dee26c2f3c0d065fba70f5159de2ac730d9a42356ac9a820e1a030f093d814e2cf14e2e7c320a06b28f9a0ed8d09
7
- data.tar.gz: 1751d26f1377c864833a66b371c2a73d98a4515122476889f9ac87f918b805f1ced13abb174c3edc8d7c9924e3f92828f1318a937dd8885901f270869fe0aa8f
6
+ metadata.gz: 2f600e23c1b6704ea0f8f54f75a728731b02b984d5ba86186af74fac64174c4e4bff5ca10921600aed2fee2d12477a3ec14350e1b897f6fa2367d8a05f379b6e
7
+ data.tar.gz: 234a355730c45705ab8a2e4325b27b638adc340c0270c14718054d35370a5422aacf8e5b2bf2a6bdbae31437d5ac1000da5e2846aef1096a7d84f19d997f9be1
data/README.md CHANGED
@@ -16,6 +16,7 @@ A Ruby client for the Dell iDRAC API. This gem provides a command-line interface
16
16
  - Lifecycle log and System Event Log (SEL) management
17
17
  - Lifecycle Controller status management
18
18
  - Return values as RecursiveOpenStruct objects for convenient attribute access
19
+ - Reset iDRAC functionality
19
20
 
20
21
  ## Installation
21
22
 
@@ -81,6 +82,9 @@ idrac lifecycle:clear --host=192.168.1.100
81
82
 
82
83
  # System Event Log (SEL) Commands
83
84
  idrac sel:clear --host=192.168.1.100
85
+
86
+ # Reset iDRAC
87
+ idrac reset --host=192.168.1.100
84
88
  ```
85
89
 
86
90
  All commands automatically handle session expiration by re-authenticating when necessary, ensuring that long-running operations like firmware updates complete successfully even if the iDRAC session times out.
@@ -139,6 +143,10 @@ end
139
143
  job_id = firmware.update('/path/to/firmware.exe', wait: true)
140
144
  puts "Update completed with job ID: #{job_id}"
141
145
 
146
+ # Reset iDRAC
147
+ reset_successful = client.reset!
148
+ puts "iDRAC reset #{reset_successful ? 'completed successfully' : 'failed'}"
149
+
142
150
  # Job management
143
151
  jobs = client.jobs
144
152
  puts "Found #{jobs['Members'].count} jobs"
@@ -210,6 +218,11 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
210
218
 
211
219
  ## Changelog
212
220
 
221
+ ### Version 0.7.2
222
+ - **Added iDRAC Reset Functionality**: New `reset!` method to gracefully restart the iDRAC controller
223
+ - Added CLI command `idrac reset` to restart iDRAC from the command line
224
+ - Improved error handling and reconnection logic during iDRAC restart
225
+
213
226
  ### Version 0.1.40
214
227
  - **Enhanced Return Values**: Methods that return system components now provide RecursiveOpenStruct objects
215
228
  - Memory, drives, volumes, PSUs, and fans now support convenient dot notation for attribute access