pub async fn apply_power(
infra: &InfraContext<'_>,
token: &str,
params: &ApplyPowerParams,
) -> Result<TransitionStartOutput, Error>Expand description
Start a PCS power transition (on, soft-off, force-off,
soft-restart, hard-restart) against params.xnames and return
the transition id immediately. The CLI is responsible for polling
get_power_transition until the transition reports completed.
params.force only changes the wire-level PCS operation for
Off and Reset — it’s ignored for On, matching today’s
behaviour.