Expand description
Business logic layer — orchestrates backend calls and enforces domain rules for every resource type exposed by the CLI and HTTP server.
Modules§
- analysis
- Cross-resource analyses that fan IMS / CFS / BSS fetches and link the results in a pure helper.
- auth
- Authentication service — proxies CLI credential exchange to the configured CSM/OCHAMI backend.
- authorization
- Authorization helpers: validate user access to HSM groups and their members.
- 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).
- ims_ops
- IMS image helpers shared by handlers that need to locate or cross-reference images by CFS configuration name (e.g. boot-config application, SAT-file rendering).
- infra_
backend - Dispatcher-meta methods on
InfraContext. - kernel_
parameters - Kernel boot parameter mutations (add, apply, delete) with SBPS iSCSI image projection.
- migrate
- Node migration between HSM groups.
- node
- HSM node queries, registration, and deletion, with rollback on partial failure.
- node_
details - Per-xname
NodeDetailsaggregation built from the backend dispatcher. - node_
ops - Node-expression resolution: parsing hostlist strings, NID-to-xname translation, HSM-group expansion, and the authorization helpers that validate the caller can act on the resolved set.
- power
- Power on/off/reset operations against PCS.
- redfish
- Redfish-endpoint queries and CRUD operations.
- sat_
groups - SAT-entry → HSM group-name extractors.
- session
- CFS session queries, creation, deletion, and console-readiness validation.
- template
- BOS session template queries and BOS session creation with access validation.