Revision history for WWW-iDRAC

0.001     2026-12-02 22:38:26Z
    - Types::Standard, the distribution the type constraints come from, is a
      declared prerequisite; a fresh install loads the library instead of
      failing on a missing type, and t/cpanfile.t holds the list
    - Phase 2: racadm over SSH as the second transport, for what Redfish
      lacks on an iDRAC 7 and 8. Measured on 2026-10-14 against an iDRAC 7
      (firmware 2.65) and an iDRAC 8 (2.50), reading only; nothing that
      writes has run against hardware
    - WWW::iDRAC::Racadm: one command in, the text out; *_from functions
      for quoting, errors and [Key=...] / [Job ID=...] blocks without I/O;
      racadm's ERROR: text becomes Error::API with its code in message_id
    - WWW::iDRAC::Racadm::SSH: the I/O over Net::OpenSSH; host key checked,
      pinned with ssh_host_key or taken from ssh_known_hosts,
      ssh_verify_host_key => 0 only on request; one login attempt; the
      password is no part of a message
    - WWW::iDRAC::Bios: groups, group, get, set (staged, read-only refused
      before writing), commit (creates the job, no restart unless asked)
    - WWW::iDRAC::Jobs: list, get, delete, wait
    - WWW::iDRAC::VirtualMedia: status, connect, disconnect
    - capabilities->license from racadm license view, read only on demand,
      so generation, model and firmware never open an SSH connection
    - supports() answers for bios, jobs and virtual_media, including a missing
      license (SWC0242) for virtual media on an iDRAC 8 with Express
    - Facade: ssh, ssh_username, ssh_password, ssh_port, ssh_known_hosts,
      ssh_host_key, ssh_verify_host_key, ssh_opts, racadm; logout closes the
      SSH connection too; Phase-2 methods are Error::Unsupported before
      anything is sent when ssh => 0 or nothing listens on the SSH port
    - Role::Transport (transport_name, logout) and Role::Area (unsupported,
      supports) for the two transports; the Redfish classes are unchanged
    - Error::API: http_status is undef for racadm errors, is_not_found knows
      RAC992, RAC1019 and RAC1020; Error::Network has a cause for SSH failures
    - Error::Network cause tells refused (only that one becomes Unsupported)
      from unreachable, host_key, auth, timeout and other, worked out from
      what the SSH client printed; Net::OpenSSH's generic "bad password or
      master process exited" is no longer taken for a refused login
    - racadm errors are found anywhere in the answer, not only on the first
      line; a non-zero remote exit keeps the connection and is parsed as one
    - Values for bios->set and remote image location, user and password
      that start with "-" are refused as Error::Validation
    - capabilities->license is undef only with ssh off, a refused port or a
      racadm API error; host key, login and other failures are thrown and
      not cached
    - bios->commit throws Error::API when racadm names no job ID; fqdd is
      private
    - A session or SSH connection is ended only by the process that opened
      it, tracked per object, not per program
    - POD, README and spec mark every racadm write path as not run against
      hardware, and say that a share password is visible in the local ssh
      argument list
    - t/92-live-racadm.t, reading only unless IDRAC_LIVE_DESTRUCTIVE=1;
      racadm recordings of both generations in t/fixtures
    - Constructor arguments are validated as WWW::iDRAC::Error::Validation
      without echoing the rejected value
    - off, restart, cycle and on reject positional arguments and unknown keys
    - Util::number rejects NaN, Inf, -Inf and Infinity
    - Logs are sorted by epoch, with string tiebreak
    - wait_for validates its state, interval and timeout
    - logout uses a 5 s timeout and does not run in a forked child
    - login refuses a controller that answers without a Location or
      @odata.id, because that session cannot be ended
    - record.pl ends the session on INT and TERM
    - verify_ssl => 0 with ssl_fingerprint is a Validation error
    - fetch_members names a missing member instead of blaming the collection
    - Power::reset_action, Logs::service and Logs::clear_action now have
      pure *_from functions for the async twin
    - README notes that a killed process leaves a session open
    - Facade WWW::iDRAC for one controller: host, credentials, TLS options
    - WWW::iDRAC::Redfish: the transport and the way to everything the facade
      does not cover; session login, one new login when the token is refused,
      collections with and without embedded entries, the session ended when
      the object goes away
    - WWW::iDRAC::System: info, processors, memory, nics
    - WWW::iDRAC::Power: state, on, off, restart, cycle, wait_for, consumption
    - WWW::iDRAC::Sensors: temperatures, fans, voltages, power supplies
    - WWW::iDRAC::Logs: the system event log and the lifecycle log, clear_sel
    - WWW::iDRAC::Manager: info, network, restart
    - WWW::iDRAC::Capabilities: generation, model, firmware, Redfish version,
      and supports('area.method'), answered from what the controller offers
    - All methods return hashes with fixed keys, never Redfish documents; a
      key the controller has nothing for is there and undef
    - WWW::iDRAC::Error with ::Validation, ::Network, ::API and ::Unsupported;
      what a controller does not have is Unsupported before anything is sent
    - Certificates are verified by default; ssl_fingerprint pins the
      self-signed certificate an iDRAC ships with
    - A recorder that walks the Redfish tree of a controller with GET only,
      keeps the kinds of document the tests read and cleans those, as far as
      it can tell, of what names the machine, its network or a person
    - Everything that reads has run against an iDRAC 7 (PowerEdge R720xd,
      firmware 2.65) and an iDRAC 8 (PowerEdge T330, firmware 2.50); of the
      methods that switch something, clear_sel, gentle off, on and the
      restart of the controller have run against the iDRAC 7, the forced
      forms and all switching on an iDRAC 8 have not
    - Live tests against a real iDRAC behind IDRAC_HOST, read-only unless
      IDRAC_LIVE_DESTRUCTIVE is set; the END block that puts the server
      back when the test dies mid-run routes through a helper that honours
      the same gentle / force decision the switching block does, and that
      helper is unit-tested against a mock
