idrac 0.7.1 → 0.7.3

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: 2daa5d9eb50a541d372954c84db4e371b0f34b02aaf4e57d915d0a08a4a839d5
4
+ data.tar.gz: 994b6605e51925c70d1c6948aa8855f45018b951c58c96bc464f4a7598f48827
5
5
  SHA512:
6
- metadata.gz: eb7dc0d8164e40661c00c7f9535232399897dee26c2f3c0d065fba70f5159de2ac730d9a42356ac9a820e1a030f093d814e2cf14e2e7c320a06b28f9a0ed8d09
7
- data.tar.gz: 1751d26f1377c864833a66b371c2a73d98a4515122476889f9ac87f918b805f1ced13abb174c3edc8d7c9924e3f92828f1318a937dd8885901f270869fe0aa8f
6
+ metadata.gz: 4430c49903bfff3a52f746b1a526ca7ffce1d116fef8dc8a1c610daa03bee6c3dafc7a5828483a9db58269d6082b384ba60e1d5897e6cc10df867988123905d6
7
+ data.tar.gz: ad6ecfb6c6908ddb7c7572db3265c6e10eb985374046aa6af172fbc917fe4e4db246e9336c780872f6a243fbc3d6b5145dd8bafd6cff972e47f855fe1011fbc0
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,14 @@ 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.3
222
+ - Improved error handling around SystemConfigurationProfile.
223
+
224
+ ### Version 0.7.2
225
+ - **Added iDRAC Reset Functionality**: New `reset!` method to gracefully restart the iDRAC controller
226
+ - Added CLI command `idrac reset` to restart iDRAC from the command line
227
+ - Improved error handling and reconnection logic during iDRAC restart
228
+
213
229
  ### Version 0.1.40
214
230
  - **Enhanced Return Values**: Methods that return system components now provide RecursiveOpenStruct objects
215
231
  - Memory, drives, volumes, PSUs, and fans now support convenient dot notation for attribute access