radfish-idrac 0.2.10 → 0.2.12

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: 69c28e5d39ff62c083dabb09e31d52580ad3a3a787c6bbb29b1598b5e737c4a3
4
- data.tar.gz: 568b97038c24366adc4dcc21d64a4614d96f9ca716d8a03bf2173e6ba0b8a5b7
3
+ metadata.gz: 6a4cd08d8e46dfb87a4c62780cbe85d8069bfb208a17379e1e4d0c2c05b9dc98
4
+ data.tar.gz: 5d76185874b3fc105076d23ed6b22e693dd3807ec2a4f627b943c6221966dfb5
5
5
  SHA512:
6
- metadata.gz: 429586b113fd10f2171525e1a3433b196259be8ec3211b2797e5d2f960d60dfe458d75ddf7f4d952affcd16715df9130c35cd868da78b3d549f54bbd764696fc
7
- data.tar.gz: 585d733365d0d149b8b68d83d4ef82af69a7d5bac9b1a243d61207c48a70cd9e27bfd4eacc04757d1d8ddaa97c557906a21823583732f71b1854fb03caf3b18a
6
+ metadata.gz: 2459d2ce1d30c94c355a112db784b7fcad5e2009b436fd560a627af071f4a9f4368b6cc632b0da50141ef05ffd86273c904e7a038dfdd61c24814c00abd012a5
7
+ data.tar.gz: e1abd6f75c39de537cf0c18b284ab76d77c533aa0e327565a64a711192582ce5ccd38ea675793f774244b55f69ee6ecc096ba5f59adb53e514213407ed2d82df
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Radfish
4
4
  module Idrac
5
- VERSION = "0.2.10"
5
+ VERSION = "0.2.12"
6
6
  end
7
7
  end
@@ -557,7 +557,63 @@ module Radfish
557
557
  def boot_to_bios_setup(enabled: "Once", mode: nil)
558
558
  @idrac_client.boot_to_bios_setup(enabled: enabled, mode: mode)
559
559
  end
560
-
560
+
561
+ # Stale UEFI boot placeholders and their disable, moved out of the app's raw Redfish.
562
+ # Both delegate straight to the iDRAC client, which owns the BootSources mechanics.
563
+ def stale_uefi_boot_entries(**opts)
564
+ @idrac_client.stale_uefi_boot_entries(**opts)
565
+ end
566
+
567
+ def disable_boot_entries(**opts)
568
+ @idrac_client.disable_boot_entries(**opts)
569
+ end
570
+
571
+ # Live BMC power read, normalized. Replaces the app reach-through that dug the iDRAC client
572
+ # out of the adapter to call get_power_state.
573
+ def power_state
574
+ @idrac_client.get_power_state
575
+ end
576
+
577
+ # Normalized Redfish BootProgress (nil when the BMC omits it, e.g. iDRAC8).
578
+ def boot_progress
579
+ @idrac_client.boot_progress
580
+ end
581
+
582
+ # LC068 anticipate-and-drain, exposed for callers that schedule their own config job.
583
+ def drain_pending_config_jobs!
584
+ @idrac_client.drain_pending_config_jobs!
585
+ end
586
+
587
+ # One-time CD/DVD boot, delegated. The iDRAC client owns the BootSourceOverride mechanics.
588
+ def set_one_time_cd_boot(**opts)
589
+ @idrac_client.set_one_time_cd_boot(**opts)
590
+ end
591
+
592
+ # Wait on a Lifecycle Controller config job by id.
593
+ def wait_config_job(jid, **opts)
594
+ @idrac_client.wait_config_job(jid, **opts)
595
+ end
596
+
597
+ # Public delegate for applying a System Configuration Profile; also called internally by ensure_sensible_bios!.
598
+ def set_system_configuration_profile(scp, **opts)
599
+ @idrac_client.set_system_configuration_profile(scp, **opts)
600
+ end
601
+
602
+ # Per-model ceiling (seconds) for how long a host may take to reach a BootProgress state after
603
+ # a power-on POST before Radfish#wait_for_boot_progress calls it a stall. These POST envelopes
604
+ # are model-specific -- the EPYC R6525/R7525 POST far longer than the R630/R640 -- so they live
605
+ # here in the adapter; the neutral wait loop in radfish reads them.
606
+ BOOT_PROGRESS_CEILINGS = {
607
+ /R6525|R7525/i => 1200,
608
+ /R630|R640/i => 900
609
+ }.freeze
610
+ DEFAULT_BOOT_PROGRESS_CEILING = 900
611
+
612
+ def boot_progress_ceiling(_target = :os_running)
613
+ m = model.to_s
614
+ BOOT_PROGRESS_CEILINGS.find { |re, _| m.match?(re) }&.last || DEFAULT_BOOT_PROGRESS_CEILING
615
+ end
616
+
561
617
  # PCI Devices
562
618
 
563
619
  def pci_devices
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radfish-idrac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Siegel
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-08-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: radfish
@@ -33,7 +32,7 @@ dependencies:
33
32
  version: '0.10'
34
33
  - - ">="
35
34
  - !ruby/object:Gem::Version
36
- version: 0.10.4
35
+ version: 0.10.7
37
36
  type: :runtime
38
37
  prerelease: false
39
38
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +42,7 @@ dependencies:
43
42
  version: '0.10'
44
43
  - - ">="
45
44
  - !ruby/object:Gem::Version
46
- version: 0.10.4
45
+ version: 0.10.7
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: rspec
49
48
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +76,6 @@ metadata:
77
76
  homepage_uri: https://github.com/buildio/radfish-idrac
78
77
  source_code_uri: https://github.com/buildio/radfish-idrac
79
78
  changelog_uri: https://github.com/buildio/radfish-idrac/blob/main/CHANGELOG.md
80
- post_install_message:
81
79
  rdoc_options: []
82
80
  require_paths:
83
81
  - lib
@@ -92,8 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
90
  - !ruby/object:Gem::Version
93
91
  version: '0'
94
92
  requirements: []
95
- rubygems_version: 3.5.22
96
- signing_key:
93
+ rubygems_version: 3.6.9
97
94
  specification_version: 4
98
95
  summary: Dell iDRAC adapter for Radfish
99
96
  test_files: []