Module service

Module service 

Source
Expand description

Business logic layer — orchestrates backend calls and enforces domain rules for every resource type exposed by the CLI and HTTP server.

Modules§

auth
Authentication service — proxies CLI credential exchange to the configured CSM/OCHAMI backend.
boot_parameters
BSS boot parameter queries, changeset preparation, and persistence.
cluster
Cluster-scoped node detail queries using HSM group membership.
configuration
CFS configuration queries, layer-detail lookups, and cascading deletion of all dependent resources (sessions, BOS templates, IMS images).
ephemeral_env
Ephemeral CFS environment provisioning — launches a temporary container booted from an existing IMS image and returns its hostname.
group
HSM group CRUD operations and membership management.
hardware
Hardware inventory queries for individual nodes and clusters, with concurrent fetching.
hw_cluster
Hardware cluster pin/unpin and hw-component add/delete service logic.
image
IMS image queries and safety-checked deletion (rejects images that boot live nodes).
kernel_parameters
Kernel boot parameter mutations (add, apply, delete) with SBPS iSCSI image projection.
migrate
vCluster backup/restore and node migration between HSM groups.
node
HSM node queries, registration, and deletion, with rollback on partial failure.
power
Power on/off/reset operations against PCS.
redfish_endpoints
Redfish endpoint CRUD operations (BMC registration and discovery management).
sat_file
SAT file apply orchestration (backend trait + HSM groups).
session
CFS session queries, creation, deletion, and console-readiness validation.
template
BOS session template queries and BOS session creation with access validation.